Searched refs:TernOpInit (Results 1 – 3 of 3) sorted by relevance
/external/llvm/lib/TableGen/ |
D | Record.cpp | 867 TernOpInit *TernOpInit::get(TernaryOp opc, Init *lhs, Init *mhs, Init *rhs, in get() 877 static DenseMap<Key, std::unique_ptr<TernOpInit>> ThePool; in get() 885 std::unique_ptr<TernOpInit> &I = ThePool[TheKey]; in get() 886 if (!I) I.reset(new TernOpInit(opc, lhs, mhs, rhs, Type)); in get() 985 Init *TernOpInit::Fold(Record *CurRec, MultiClass *CurMultiClass) const { in Fold() 1050 return const_cast<TernOpInit *>(this); in Fold() 1053 Init *TernOpInit::resolveReferences(Record &R, in resolveReferences() 1065 return (TernOpInit::get(getOpcode(), lhs, mhs, in resolveReferences() 1069 return (TernOpInit::get(getOpcode(), lhs, MHS, in resolveReferences() 1078 return (TernOpInit::get(getOpcode(), lhs, mhs, rhs, in resolveReferences() [all …]
|
D | TGParser.cpp | 970 TernOpInit::TernaryOp Code; in ParseOperation() 978 Code = TernOpInit::IF; in ParseOperation() 981 Code = TernOpInit::FOREACH; in ParseOperation() 984 Code = TernOpInit::SUBST; in ParseOperation() 1082 return (TernOpInit::get(Code, LHS, MHS, RHS, Type))->Fold(CurRec, in ParseOperation()
|
/external/llvm/include/llvm/TableGen/ |
D | Record.h | 777 class TernOpInit : public OpInit { 785 TernOpInit(TernaryOp opc, Init *lhs, Init *mhs, Init *rhs, in TernOpInit() function 789 TernOpInit(const TernOpInit &Other) = delete; 790 TernOpInit &operator=(const TernOpInit &Other) = delete; 796 static TernOpInit *get(TernaryOp opc, Init *lhs, 804 return TernOpInit::get(getOpcode(), Operands[0], Operands[1], Operands[2], in clone()
|