Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/lib/TableGen/
H A DTGParser.cpp1175 return UnOpInit::get(UnOpInit::CAST, Name, CurRec->getType()); in ParseIDValue()
1201 UnOpInit::UnaryOp Code; in ParseOperation()
1208 Code = UnOpInit::CAST; in ParseOperation()
1220 Code = UnOpInit::REPR; in ParseOperation()
1225 Code = UnOpInit::TOLOWER; in ParseOperation()
1230 Code = UnOpInit::TOUPPER; in ParseOperation()
1235 Code = UnOpInit::NOT; in ParseOperation()
1240 Code = UnOpInit::LOG2; in ParseOperation()
1245 Code = UnOpInit::HEAD; in ParseOperation()
1249 Code = UnOpInit::TAIL; in ParseOperation()
[all …]
H A DRecord.cpp79 FoldingSet<UnOpInit> TheUnOpInitPool;
779 UnOpInit *UnOpInit::get(UnaryOp Opc, Init *LHS, RecTy *Type) { in get()
785 if (UnOpInit *I = RK.TheUnOpInitPool.FindNodeOrInsertPos(ID, IP)) 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()
[all …]
/freebsd/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()