Home
last modified time | relevance | path

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

/netbsd-src/external/apache2/llvm/dist/llvm/lib/TableGen/
H A DTGParser.cpp908 return UnOpInit::get(UnOpInit::CAST, Name, CurRec->getType()); in ParseIDValue()
930 UnOpInit::UnaryOp Code; in ParseOperation()
937 Code = UnOpInit::CAST; in ParseOperation()
949 Code = UnOpInit::NOT; in ParseOperation()
954 Code = UnOpInit::HEAD; in ParseOperation()
958 Code = UnOpInit::TAIL; in ParseOperation()
962 Code = UnOpInit::SIZE; in ParseOperation()
967 Code = UnOpInit::EMPTY; in ParseOperation()
990 Code = UnOpInit::GETDAGOP; in ParseOperation()
1001 if (Code == UnOpInit::EMPTY || Code == UnOpInit::SIZE) { in ParseOperation()
[all …]
H A DRecord.cpp698 UnOpInit *UnOpInit::get(UnaryOp Opc, Init *LHS, RecTy *Type) { in get()
699 static FoldingSet<UnOpInit> ThePool; in get()
705 if (UnOpInit *I = ThePool.FindNodeOrInsertPos(ID, IP)) in get()
708 UnOpInit *I = new(Allocator) UnOpInit(Opc, LHS, Type); in get()
713 void UnOpInit::Profile(FoldingSetNodeID &ID) const { in Profile()
717 Init *UnOpInit::Fold(Record *CurRec, bool IsFinal) const { in Fold()
828 return const_cast<UnOpInit *>(this); in Fold()
831 Init *UnOpInit::resolveReferences(Resolver &R) const { in resolveReferences()
835 return (UnOpInit::get(getOpcode(), lhs, getType())) in resolveReferences()
837 return const_cast<UnOpInit *>(this); in resolveReferences()
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/TableGen/
H A DRecord.h757 class UnOpInit : public OpInit, public FoldingSetNode {
764 UnOpInit(UnaryOp opc, Init *lhs, RecTy *Type) in UnOpInit() function
768 UnOpInit(const UnOpInit &) = delete;
769 UnOpInit &operator=(const UnOpInit &) = delete;
775 static UnOpInit *get(UnaryOp opc, Init *lhs, RecTy *Type);
783 return UnOpInit::get(getOpcode(), *Operands.begin(), getType()); in clone()