Home
last modified time | relevance | path

Searched refs:ArgumentInit (Results 1 – 4 of 4) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/TableGen/
H A DTGParser.h251 const Record *Rec, ArrayRef<const ArgumentInit *> ArgValues, SMLoc Loc,
254 ArrayRef<const ArgumentInit *> ArgValues,
257 ArrayRef<const ArgumentInit *> ArgValues,
298 bool ParseTemplateArgValueList(SmallVectorImpl<const ArgumentInit *> &Result,
324 bool CheckTemplateArgValues(SmallVectorImpl<const ArgumentInit *> &Values,
H A DRecord.cpp75 FoldingSet<ArgumentInit> TheArgumentInitPool;
388 if (auto *ArgInit = dyn_cast<ArgumentInit>(this)) in getRecordKeeper()
407 if (I == ArgumentInit::Positional) in ProfileArgumentInit()
408 ID.AddInteger(std::get<ArgumentInit::Positional>(Aux)); in ProfileArgumentInit()
409 if (I == ArgumentInit::Named) in ProfileArgumentInit()
410 ID.AddPointer(std::get<ArgumentInit::Named>(Aux)); in ProfileArgumentInit()
414 void ArgumentInit::Profile(FoldingSetNodeID &ID) const { in Profile()
418 const ArgumentInit *ArgumentInit::get(const Init *Value, ArgAuxType Aux) { in get()
425 if (const ArgumentInit *I = in get()
429 ArgumentInit *I = new (RKImpl.Allocator) ArgumentInit(Value, Aux); in get()
[all …]
H A DTGParser.cpp38 SmallVector<const ArgumentInit *, 4> TemplateArgs;
48 SmallVector<const ArgumentInit *, 4> TemplateArgs;
585 ArrayRef<const ArgumentInit *> ArgValues, in resolveArguments()
629 ArrayRef<const ArgumentInit *> ArgValues, in resolveArgumentsOfClass()
640 ArrayRef<const ArgumentInit *> ArgValues, const Init *DefmName, SMLoc Loc) { in resolveArgumentsOfMultiClass()
2771 SmallVector<const ArgumentInit *, 8> Args; in ParseSimpleValue()
3252 SmallVectorImpl<const ArgumentInit *> &Result, in ParseTemplateArgValueList()
3300 Result.push_back(ArgumentInit::get(Value, QualifiedName)); in ParseTemplateArgValueList()
3308 Result.push_back(ArgumentInit::get(Value, ArgIndex)); in ParseTemplateArgValueList()
4467 SmallVectorImpl<const ArgumentInit *> &Values, ArrayRef<SMLoc> ValuesLocs, in CheckTemplateArgValues()
/freebsd/contrib/llvm-project/llvm/include/llvm/TableGen/
H A DRecord.h491 class ArgumentInit final : public Init, public FoldingSetNode {
503 explicit ArgumentInit(const Init *Value, ArgAuxType Aux) in ArgumentInit() function
507 ArgumentInit(const ArgumentInit &) = delete;
508 ArgumentInit &operator=(const ArgumentInit &) = delete;
514 static const ArgumentInit *get(const Init *Value, ArgAuxType Aux);
528 const ArgumentInit *cloneWithValue(const Init *Value) const { in cloneWithValue()
1323 private TrailingObjects<VarDefInit, const ArgumentInit *> {
1331 ArrayRef<const ArgumentInit *> Args);
1346 ArrayRef<const ArgumentInit *> Args);
1355 const ArgumentInit *getArg(unsigned i) const { return args()[i]; } in getArg()
[all …]