Home
last modified time | relevance | path

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

/llvm-project-15.0.7/llvm/lib/TableGen/
H A DTGParser.cpp1435 TernOpInit::TernaryOp Code; in ParseOperation()
1443 Code = TernOpInit::DAG; in ParseOperation()
1448 Code = TernOpInit::IF; in ParseOperation()
1451 Code = TernOpInit::SUBST; in ParseOperation()
1739 TernOpInit::TernaryOp Code = TernOpInit::SUBSTR; in ParseOperationSubstr()
1820 return (TernOpInit::get(Code, LHS, MHS, RHS, Type))->Fold(CurRec); in ParseOperationSubstr()
1827 TernOpInit::TernaryOp Code = TernOpInit::FIND; in ParseOperationFind()
1908 return (TernOpInit::get(Code, LHS, MHS, RHS, Type))->Fold(CurRec); in ParseOperationFind()
2032 return (TernOpInit::get((Operation == tgtok::XForEach) ? TernOpInit::FOREACH in ParseOperationForEachFilter()
3271 TernOpInit::get(TernOpInit::IF, Condition, SingletonList, EmptyList, in ParseIf()
[all …]
H A DRecord.cpp79 FoldingSet<TernOpInit> TheTernOpInitPool;
1249 TernOpInit *TernOpInit::get(TernaryOp Opc, Init *LHS, Init *MHS, Init *RHS, in get()
1259 TernOpInit *I = new (RK.Allocator) TernOpInit(Opc, LHS, MHS, RHS, Type); in get()
1264 void TernOpInit::Profile(FoldingSetNodeID &ID) const { in Profile()
1348 Init *TernOpInit::Fold(Record *CurRec) const { in Fold()
1433 return const_cast<TernOpInit *>(this); in Fold()
1483 return const_cast<TernOpInit *>(this); in Fold()
1486 Init *TernOpInit::resolveReferences(Resolver &R) const { in resolveReferences()
1511 return (TernOpInit::get(getOpcode(), lhs, mhs, rhs, getType())) in resolveReferences()
1513 return const_cast<TernOpInit *>(this); in resolveReferences()
[all …]
/llvm-project-15.0.7/llvm/include/llvm/TableGen/
H A DRecord.h891 class TernOpInit : public OpInit, public FoldingSetNode {
898 TernOpInit(TernaryOp opc, Init *lhs, Init *mhs, Init *rhs, in TernOpInit() function
903 TernOpInit(const TernOpInit &) = delete;
904 TernOpInit &operator=(const TernOpInit &) = delete;
910 static TernOpInit *get(TernaryOp opc, Init *lhs,
920 return TernOpInit::get(getOpcode(), Operands[0], Operands[1], Operands[2], in clone()