Home
last modified time | relevance | path

Searched refs:UnOpInit (Results 1 – 3 of 3) sorted by relevance

/freebsd-14.2/contrib/llvm-project/llvm/lib/TableGen/
H A DTGParser.cpp1169 return UnOpInit::get(UnOpInit::CAST, Name, CurRec->getType()); in ParseIDValue()
1195 UnOpInit::UnaryOp Code; in ParseOperation()
1202 Code = UnOpInit::CAST; in ParseOperation()
1214 Code = UnOpInit::REPR; in ParseOperation()
1229 Code = UnOpInit::NOT; in ParseOperation()
1286 if (Code == UnOpInit::EMPTY || Code == UnOpInit::SIZE) { in ParseOperation()
1306 if (Code == UnOpInit::HEAD || Code == UnOpInit::TAIL) { in ParseOperation()
1827 MHS = UnOpInit::get(UnOpInit::SIZE, Arg0, IntRecTy::get(Records)) in ParseOperation()
3025 UnOpInit::get(UnOpInit::CAST, LHS, StringRecTy::get(Records)) in ParseValue()
3062 UnOpInit::get(UnOpInit::CAST, RHS, StringRecTy::get(Records)) in ParseValue()
[all …]
H A DRecord.cpp79 FoldingSet<UnOpInit> TheUnOpInitPool;
779 UnOpInit *UnOpInit::get(UnaryOp Opc, Init *LHS, RecTy *Type) { in get()
788 UnOpInit *I = new (RK.Allocator) UnOpInit(Opc, LHS, Type); in get()
793 void UnOpInit::Profile(FoldingSetNodeID &ID) const { in Profile()
797 Init *UnOpInit::Fold(Record *CurRec, bool IsFinal) const { in Fold()
957 return const_cast<UnOpInit *>(this); in Fold()
960 Init *UnOpInit::resolveReferences(Resolver &R) const { in resolveReferences()
964 return (UnOpInit::get(getOpcode(), lhs, getType())) in resolveReferences()
966 return const_cast<UnOpInit *>(this); in resolveReferences()
969 std::string UnOpInit::getAsString() const { in getAsString()
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/TableGen/
H A DRecord.h836 class UnOpInit : public OpInit, public FoldingSetNode {
855 UnOpInit(UnaryOp opc, Init *lhs, RecTy *Type) in UnOpInit() function
859 UnOpInit(const UnOpInit &) = delete;
860 UnOpInit &operator=(const UnOpInit &) = delete;
866 static UnOpInit *get(UnaryOp opc, Init *lhs, RecTy *Type);
874 return UnOpInit::get(getOpcode(), *Operands.begin(), getType()); in clone()