Home
last modified time | relevance | path

Searched refs:TernOpInit (Results 1 – 3 of 3) sorted by relevance

/freebsd-12-stable/contrib/llvm-project/llvm/lib/TableGen/
DTGParser.cpp1377 TernOpInit::TernaryOp Code; in ParseOperation()
1385 Code = TernOpInit::DAG; in ParseOperation()
1390 Code = TernOpInit::IF; in ParseOperation()
1393 Code = TernOpInit::SUBST; in ParseOperation()
1508 return (TernOpInit::get(Code, LHS, MHS, RHS, Type))->Fold(CurRec); in ParseOperation()
1681 TernOpInit::TernaryOp Code = TernOpInit::SUBSTR; in ParseOperationSubstr()
1762 return (TernOpInit::get(Code, LHS, MHS, RHS, Type))->Fold(CurRec); in ParseOperationSubstr()
1769 TernOpInit::TernaryOp Code = TernOpInit::FIND; in ParseOperationFind()
1850 return (TernOpInit::get(Code, LHS, MHS, RHS, Type))->Fold(CurRec); in ParseOperationFind()
1974 return (TernOpInit::get((Operation == tgtok::XForEach) ? TernOpInit::FOREACH in ParseOperationForEachFilter()
[all …]
DRecord.cpp1190 TernOpInit *TernOpInit::get(TernaryOp Opc, Init *LHS, Init *MHS, Init *RHS, in get()
1192 static FoldingSet<TernOpInit> ThePool; in get()
1198 if (TernOpInit *I = ThePool.FindNodeOrInsertPos(ID, IP)) in get()
1201 TernOpInit *I = new(Allocator) TernOpInit(Opc, LHS, MHS, RHS, Type); in get()
1206 void TernOpInit::Profile(FoldingSetNodeID &ID) const { in Profile()
1289 Init *TernOpInit::Fold(Record *CurRec) const { in Fold()
1373 return const_cast<TernOpInit *>(this); in Fold()
1423 return const_cast<TernOpInit *>(this); in Fold()
1426 Init *TernOpInit::resolveReferences(Resolver &R) const { in resolveReferences()
1451 return (TernOpInit::get(getOpcode(), lhs, mhs, rhs, getType())) in resolveReferences()
[all …]
/freebsd-12-stable/contrib/llvm-project/llvm/include/llvm/TableGen/
DRecord.h863 class TernOpInit : public OpInit, public FoldingSetNode {
870 TernOpInit(TernaryOp opc, Init *lhs, Init *mhs, Init *rhs, in TernOpInit() function
875 TernOpInit(const TernOpInit &) = delete;
876 TernOpInit &operator=(const TernOpInit &) = delete;
882 static TernOpInit *get(TernaryOp opc, Init *lhs,
892 return TernOpInit::get(getOpcode(), Operands[0], Operands[1], Operands[2], in clone()