Home
last modified time | relevance | path

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

/freebsd-13.1/contrib/llvm-project/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()
1001 if (Code == UnOpInit::EMPTY || Code == UnOpInit::SIZE) { in ParseOperation()
1021 if (Code == UnOpInit::HEAD || Code == UnOpInit::TAIL) { in ParseOperation()
2499 UnOpInit::get(UnOpInit::CAST, LHS, StringRecTy::get()) in ParseValue()
[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()
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()
840 std::string UnOpInit::getAsString() const { in getAsString()
[all …]
/freebsd-13.1/contrib/llvm-project/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()