Searched refs:TernOpInit (Results 1 – 3 of 3) sorted by relevance
/freebsd/contrib/llvm-project/llvm/lib/TableGen/ |
H A D | TGParser.cpp | 439 if (auto *TI = dyn_cast<TernOpInit>(List); in resolve() 440 TI && TI->getOpcode() == TernOpInit::IF && Final) { in resolve() 452 List = TernOpInit::get(TernOpInit::IF, LHS, MHS, RHS, TI->getType()) in resolve() 1858 return TernOpInit::get(TernOpInit::RANGE, LHS, MHS, RHS, in ParseOperation() 1868 TernOpInit::TernaryOp Code; in ParseOperation() 1876 Code = TernOpInit::DAG; in ParseOperation() 1881 Code = TernOpInit::IF; in ParseOperation() 1884 Code = TernOpInit::SUBST; in ParseOperation() 1887 Code = TernOpInit::SETDAGARG; in ParseOperation() 1892 Code = TernOpInit::SETDAGNAME; in ParseOperation() [all …]
|
H A D | Record.cpp | 81 FoldingSet<TernOpInit> TheTernOpInitPool; 1538 TernOpInit *TernOpInit::get(TernaryOp Opc, Init *LHS, Init *MHS, Init *RHS, in get() 1545 if (TernOpInit *I = RK.TheTernOpInitPool.FindNodeOrInsertPos(ID, IP)) in get() 1548 TernOpInit *I = new (RK.Allocator) TernOpInit(Opc, LHS, MHS, RHS, Type); in get() 1553 void TernOpInit::Profile(FoldingSetNodeID &ID) const { in Profile() 1637 Init *TernOpInit::Fold(Record *CurRec) const { in Fold() 1722 return const_cast<TernOpInit *>(this); in Fold() 1836 return const_cast<TernOpInit *>(this); in Fold() 1839 Init *TernOpInit::resolveReferences(Resolver &R) const { in resolveReferences() 1864 return (TernOpInit::get(getOpcode(), lhs, mhs, rhs, getType())) in resolveReferences() [all …]
|
/freebsd/contrib/llvm-project/llvm/include/llvm/TableGen/ |
H A D | Record.h | 983 class TernOpInit : public OpInit, public FoldingSetNode { 1001 TernOpInit(TernaryOp opc, Init *lhs, Init *mhs, Init *rhs, in TernOpInit() function 1006 TernOpInit(const TernOpInit &) = delete; 1007 TernOpInit &operator=(const TernOpInit &) = delete; 1013 static TernOpInit *get(TernaryOp opc, Init *lhs, 1023 return TernOpInit::get(getOpcode(), Operands[0], Operands[1], Operands[2], in clone()
|