Home
last modified time | relevance | path

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

/external/llvm/lib/TableGen/
DRecord.cpp925 TernOpInit *TernOpInit::get(TernaryOp Opc, Init *LHS, Init *MHS, Init *RHS, in get()
927 static FoldingSet<TernOpInit> ThePool; in get()
928 static std::vector<std::unique_ptr<TernOpInit>> TheActualPool; in get()
934 if (TernOpInit *I = ThePool.FindNodeOrInsertPos(ID, IP)) in get()
937 TernOpInit *I = new TernOpInit(Opc, LHS, MHS, RHS, Type); in get()
939 TheActualPool.push_back(std::unique_ptr<TernOpInit>(I)); in get()
943 void TernOpInit::Profile(FoldingSetNodeID &ID) const { in Profile()
1042 Init *TernOpInit::Fold(Record *CurRec, MultiClass *CurMultiClass) const { in Fold()
1107 return const_cast<TernOpInit *>(this); in Fold()
1110 Init *TernOpInit::resolveReferences(Record &R, in resolveReferences()
[all …]
DTGParser.cpp965 TernOpInit::TernaryOp Code; in ParseOperation()
973 Code = TernOpInit::IF; in ParseOperation()
976 Code = TernOpInit::FOREACH; in ParseOperation()
979 Code = TernOpInit::SUBST; in ParseOperation()
1077 return (TernOpInit::get(Code, LHS, MHS, RHS, Type))->Fold(CurRec, in ParseOperation()
/external/llvm/include/llvm/TableGen/
DRecord.h853 class TernOpInit : public OpInit, public FoldingSetNode {
860 TernOpInit(TernaryOp opc, Init *lhs, Init *mhs, Init *rhs, in TernOpInit() function
864 TernOpInit(const TernOpInit &Other) = delete;
865 TernOpInit &operator=(const TernOpInit &Other) = delete;
871 static TernOpInit *get(TernaryOp opc, Init *lhs,
881 return TernOpInit::get(getOpcode(), Operands[0], Operands[1], Operands[2], in clone()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/TableGen/
DRecord.cpp1090 TernOpInit *TernOpInit::get(TernaryOp Opc, Init *LHS, Init *MHS, Init *RHS, in get()
1092 static FoldingSet<TernOpInit> ThePool; in get()
1098 if (TernOpInit *I = ThePool.FindNodeOrInsertPos(ID, IP)) in get()
1101 TernOpInit *I = new(Allocator) TernOpInit(Opc, LHS, MHS, RHS, Type); in get()
1106 void TernOpInit::Profile(FoldingSetNodeID &ID) const { in Profile()
1164 Init *TernOpInit::Fold(Record *CurRec) const { in Fold()
1241 return const_cast<TernOpInit *>(this); in Fold()
1250 return const_cast<TernOpInit *>(this); in Fold()
1253 Init *TernOpInit::resolveReferences(Resolver &R) const { in resolveReferences()
1278 return (TernOpInit::get(getOpcode(), lhs, mhs, rhs, getType())) in resolveReferences()
[all …]
DTGParser.cpp1406 return (TernOpInit::get(TernOpInit::FOREACH, LHS, MHS, RHS, OutType)) in ParseOperation()
1413 TernOpInit::TernaryOp Code; in ParseOperation()
1421 Code = TernOpInit::DAG; in ParseOperation()
1426 Code = TernOpInit::IF; in ParseOperation()
1429 Code = TernOpInit::SUBST; in ParseOperation()
1548 return (TernOpInit::get(Code, LHS, MHS, RHS, Type))->Fold(CurRec); in ParseOperation()
2949 TernOpInit::get(TernOpInit::IF, Condition, SingletonList, EmptyList, in ParseIf()
2973 TernOpInit::get(TernOpInit::IF, Condition, EmptyList, SingletonList, in ParseIf()
/external/llvm-project/llvm/lib/TableGen/
DRecord.cpp1137 TernOpInit *TernOpInit::get(TernaryOp Opc, Init *LHS, Init *MHS, Init *RHS, in get()
1139 static FoldingSet<TernOpInit> ThePool; in get()
1145 if (TernOpInit *I = ThePool.FindNodeOrInsertPos(ID, IP)) in get()
1148 TernOpInit *I = new(Allocator) TernOpInit(Opc, LHS, MHS, RHS, Type); in get()
1153 void TernOpInit::Profile(FoldingSetNodeID &ID) const { in Profile()
1236 Init *TernOpInit::Fold(Record *CurRec) const { in Fold()
1320 return const_cast<TernOpInit *>(this); in Fold()
1329 return const_cast<TernOpInit *>(this); in Fold()
1332 Init *TernOpInit::resolveReferences(Resolver &R) const { in resolveReferences()
1357 return (TernOpInit::get(getOpcode(), lhs, mhs, rhs, getType())) in resolveReferences()
[all …]
DTGParser.cpp1365 TernOpInit::TernaryOp Code; in ParseOperation()
1373 Code = TernOpInit::DAG; in ParseOperation()
1378 Code = TernOpInit::IF; in ParseOperation()
1381 Code = TernOpInit::SUBST; in ParseOperation()
1496 return (TernOpInit::get(Code, LHS, MHS, RHS, Type))->Fold(CurRec); in ParseOperation()
1779 return (TernOpInit::get((Operation == tgtok::XForEach) ? TernOpInit::FOREACH in ParseOperationForEachFilter()
1780 : TernOpInit::FILTER, in ParseOperationForEachFilter()
3009 TernOpInit::get(TernOpInit::IF, Condition, SingletonList, EmptyList, in ParseIf()
3031 TernOpInit::get(TernOpInit::IF, Condition, EmptyList, SingletonList, in ParseIf()
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/TableGen/
DRecord.h859 class TernOpInit : public OpInit, public FoldingSetNode {
866 TernOpInit(TernaryOp opc, Init *lhs, Init *mhs, Init *rhs, in TernOpInit() function
871 TernOpInit(const TernOpInit &) = delete;
872 TernOpInit &operator=(const TernOpInit &) = delete;
878 static TernOpInit *get(TernaryOp opc, Init *lhs,
888 return TernOpInit::get(getOpcode(), Operands[0], Operands[1], Operands[2], in clone()
/external/llvm-project/llvm/include/llvm/TableGen/
DRecord.h830 class TernOpInit : public OpInit, public FoldingSetNode {
837 TernOpInit(TernaryOp opc, Init *lhs, Init *mhs, Init *rhs, in TernOpInit() function
842 TernOpInit(const TernOpInit &) = delete;
843 TernOpInit &operator=(const TernOpInit &) = delete;
849 static TernOpInit *get(TernaryOp opc, Init *lhs,
859 return TernOpInit::get(getOpcode(), Operands[0], Operands[1], Operands[2], in clone()