Searched refs:UnOpInit (Results 1 – 3 of 3) sorted by relevance
| /llvm-project-15.0.7/llvm/lib/TableGen/ |
| H A D | TGParser.cpp | 919 return UnOpInit::get(UnOpInit::CAST, Name, CurRec->getType()); in ParseIDValue() 941 UnOpInit::UnaryOp Code; in ParseOperation() 948 Code = UnOpInit::CAST; in ParseOperation() 960 Code = UnOpInit::NOT; in ParseOperation() 965 Code = UnOpInit::HEAD; in ParseOperation() 969 Code = UnOpInit::TAIL; in ParseOperation() 973 Code = UnOpInit::SIZE; in ParseOperation() 1012 if (Code == UnOpInit::EMPTY || Code == UnOpInit::SIZE) { in ParseOperation() 1032 if (Code == UnOpInit::HEAD || Code == UnOpInit::TAIL) { in ParseOperation() 2558 UnOpInit::get(UnOpInit::CAST, LHS, StringRecTy::get(Records)) in ParseValue() [all …]
|
| H A D | Record.cpp | 77 FoldingSet<UnOpInit> TheUnOpInitPool; 759 UnOpInit *UnOpInit::get(UnaryOp Opc, Init *LHS, RecTy *Type) { in get() 768 UnOpInit *I = new (RK.Allocator) UnOpInit(Opc, LHS, Type); in get() 773 void UnOpInit::Profile(FoldingSetNodeID &ID) const { in Profile() 777 Init *UnOpInit::Fold(Record *CurRec, bool IsFinal) const { in Fold() 889 return const_cast<UnOpInit *>(this); in Fold() 892 Init *UnOpInit::resolveReferences(Resolver &R) const { in resolveReferences() 896 return (UnOpInit::get(getOpcode(), lhs, getType())) in resolveReferences() 898 return const_cast<UnOpInit *>(this); in resolveReferences() 901 std::string UnOpInit::getAsString() const { in getAsString() [all …]
|
| /llvm-project-15.0.7/llvm/include/llvm/TableGen/ |
| H A D | Record.h | 785 class UnOpInit : public OpInit, public FoldingSetNode { 792 UnOpInit(UnaryOp opc, Init *lhs, RecTy *Type) in UnOpInit() function 796 UnOpInit(const UnOpInit &) = delete; 797 UnOpInit &operator=(const UnOpInit &) = delete; 803 static UnOpInit *get(UnaryOp opc, Init *lhs, RecTy *Type); 811 return UnOpInit::get(getOpcode(), *Operands.begin(), getType()); in clone()
|