Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/lib/TableGen/
H A DTGParser.cpp115 Init *NewName = BinOpInit::getStrConcat( in QualifyName()
118 NewName = BinOpInit::getStrConcat(NewName, Name); in QualifyName()
120 if (BinOpInit *BinOp = dyn_cast<BinOpInit>(NewName)) in QualifyName()
696 Name = BinOpInit::getStrConcat( in ParseObjectName()
879 return cast<TypedInit>(BinOpInit::get(BinOpInit::RANGEC, LHS, RHS, in ParseSliceElement()
956 Result = (Result ? cast<TypedInit>(BinOpInit::getListConcat(Result, Slice)) in ParseSliceElements()
1454 BinOpInit::BinaryOp Code; in ParseOperation()
1457 case tgtok::XConcat: Code = BinOpInit::CONCAT; break; in ParseOperation()
1458 case tgtok::XADD: Code = BinOpInit::ADD; break; in ParseOperation()
1459 case tgtok::XSUB: Code = BinOpInit::SUB; break; in ParseOperation()
[all …]
H A DRecord.cpp80 FoldingSet<BinOpInit> TheBinOpInitPool;
1002 BinOpInit *BinOpInit::get(BinaryOp Opc, Init *LHS, Init *RHS, RecTy *Type) { in get()
1008 if (BinOpInit *I = RK.TheBinOpInitPool.FindNodeOrInsertPos(ID, IP)) in get()
1011 BinOpInit *I = new (RK.Allocator) BinOpInit(Opc, LHS, RHS, Type); in get()
1016 void BinOpInit::Profile(FoldingSetNodeID &ID) const { in Profile()
1072 Init *BinOpInit::getStrConcat(Init *I0, Init *I1) { in getStrConcat()
1077 return BinOpInit::get(BinOpInit::STRCONCAT, I0, I1, in getStrConcat()
1089 Init *BinOpInit::getListConcat(TypedInit *LHS, Init *RHS) { in getListConcat()
1096 return BinOpInit::get(BinOpInit::LISTCONCAT, LHS, RHS, LHS->getType()); in getListConcat()
1099 std::optional<bool> BinOpInit::CompareInit(unsigned Opc, Init *LHS, in CompareInit()
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/TableGen/
H A DRecord.h897 class BinOpInit : public OpInit, public FoldingSetNode {
933 BinOpInit(BinaryOp opc, Init *lhs, Init *rhs, RecTy *Type) : in BinOpInit() function
937 BinOpInit(const BinOpInit &) = delete;
938 BinOpInit &operator=(const BinOpInit &) = delete;
944 static BinOpInit *get(BinaryOp opc, Init *lhs, Init *rhs,
955 return BinOpInit::get(getOpcode(), Operands[0], Operands[1], getType()); in clone()