Home
last modified time | relevance | path

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

/external/swiftshader/third_party/LLVM/include/llvm/TableGen/
DRecord.h50 class TernOpInit; variable
99 virtual Init *convertValue( TernOpInit *UI) { in convertValue()
153 virtual Init *convertValue( TernOpInit *UI) { return RecTy::convertValue(UI);} in convertValue()
198 virtual Init *convertValue( TernOpInit *UI) { return RecTy::convertValue(UI);} in convertValue()
242 virtual Init *convertValue( TernOpInit *UI) { return RecTy::convertValue(UI);} in convertValue()
280 virtual Init *convertValue( TernOpInit *BO) { return RecTy::convertValue(BO);} in convertValue()
331 virtual Init *convertValue( TernOpInit *UI) { return RecTy::convertValue(UI);} in convertValue()
374 virtual Init *convertValue( TernOpInit *UI) { return RecTy::convertValue(UI);} in convertValue()
413 virtual Init *convertValue( TernOpInit *BO) { return RecTy::convertValue(BO);} in convertValue()
458 virtual Init *convertValue( TernOpInit *UI) { return RecTy::convertValue(UI);} in convertValue()
[all …]
/external/swiftshader/third_party/LLVM/lib/TableGen/
DRecord.cpp187 if (TernOpInit *Tern = dynamic_cast<TernOpInit*>(VI)) { in convertValue()
188 if (Tern->getOpcode() == TernOpInit::IF) { in convertValue()
205 TernOpInit::get(TernOpInit::IF, LHS, in convertValue()
220 NewBits[i] = TernOpInit::get(TernOpInit::IF, LHS, in convertValue()
982 TernOpInit *TernOpInit::get(TernaryOp opc, Init *lhs, in get()
993 typedef DenseMap<Key, TernOpInit *> Pool; in get()
1002 TernOpInit *&I = ThePool[TheKey]; in get()
1003 if (!I) I = new TernOpInit(opc, lhs, mhs, rhs, Type); in get()
1135 Init *TernOpInit::Fold(Record *CurRec, MultiClass *CurMultiClass) const { in Fold()
1211 return const_cast<TernOpInit *>(this); in Fold()
[all …]
DTGParser.cpp871 TernOpInit::TernaryOp Code; in ParseOperation()
879 Code = TernOpInit::IF; in ParseOperation()
882 Code = TernOpInit::FOREACH; in ParseOperation()
885 Code = TernOpInit::SUBST; in ParseOperation()
988 return (TernOpInit::get(Code, LHS, MHS, RHS, Type))->Fold(CurRec, in ParseOperation()
/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()