Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/lib/TableGen/
H A DRecord.cpp87 FoldingSet<VarDefInit> TheVarDefInitPool;
2238 VarDefInit::VarDefInit(Record *Class, unsigned N) in VarDefInit() function in VarDefInit
2242 VarDefInit *VarDefInit::get(Record *Class, ArrayRef<ArgumentInit *> Args) { in get()
2248 if (VarDefInit *I = RK.TheVarDefInitPool.FindNodeOrInsertPos(ID, IP)) in get()
2252 totalSizeToAlloc<ArgumentInit *>(Args.size()), alignof(VarDefInit)); in get()
2253 VarDefInit *I = new (Mem) VarDefInit(Class, Args.size()); in get()
2260 void VarDefInit::Profile(FoldingSetNodeID &ID) const { in Profile()
2264 DefInit *VarDefInit::instantiate() { in instantiate()
2325 Init *VarDefInit::resolveReferences(Resolver &R) const { in resolveReferences()
2338 auto New = VarDefInit::get(Class, NewArgs); in resolveReferences()
[all …]
H A DTGParser.cpp2704 return VarDefInit::get(Class, Args)->Fold(); in ParseSimpleValue()
/freebsd/contrib/llvm-project/llvm/include/llvm/TableGen/
H A DRecord.h1346 class VarDefInit final : public TypedInit,
1348 public TrailingObjects<VarDefInit, ArgumentInit *> {
1353 explicit VarDefInit(Record *Class, unsigned N);
1358 VarDefInit(const VarDefInit &) = delete;
1359 VarDefInit &operator=(const VarDefInit &) = delete;
1367 static VarDefInit *get(Record *Class, ArrayRef<ArgumentInit *> Args);