Home
last modified time | relevance | path

Searched refs:NumericVariable (Results 1 – 5 of 5) sorted by relevance

/external/swiftshader/third_party/llvm-10.0/llvm/lib/Support/
DFileCheckImpl.h82 class NumericVariable {
98 explicit NumericVariable(StringRef Name,
128 NumericVariable *Variable;
131 NumericVariableUse(StringRef Name, NumericVariable *Variable) in NumericVariableUse()
263 StringMap<NumericVariable *> GlobalNumericVariableTable;
267 NumericVariable *LineVariable = nullptr;
271 std::vector<std::unique_ptr<NumericVariable>> NumericVariables;
302 template <class... Types> NumericVariable *makeNumericVariable(Types... args);
397 NumericVariable *DefinedNumericVariable;
466 StringRef Expr, Optional<NumericVariable *> &DefinedNumericVariable,
[all …]
DFileCheck.cpp114 Expected<NumericVariable *> Pattern::parseNumericVariableDefinition( in parseNumericVariableDefinition()
138 NumericVariable *DefinedNumericVariable; in parseNumericVariableDefinition()
164 NumericVariable *NumericVariable; in parseNumericVariableUse() local
166 NumericVariable = VarTableIter->second; in parseNumericVariableUse()
168 NumericVariable = Context->makeNumericVariable(Name); in parseNumericVariableUse()
169 Context->GlobalNumericVariableTable[Name] = NumericVariable; in parseNumericVariableUse()
172 Optional<size_t> DefLineNumber = NumericVariable->getDefLineNumber(); in parseNumericVariableUse()
179 return std::make_unique<NumericVariableUse>(Name, NumericVariable); in parseNumericVariableUse()
259 StringRef Expr, Optional<NumericVariable *> &DefinedNumericVariable, in parseNumericSubstitutionBlock()
298 Expected<NumericVariable *> ParseResult = in parseNumericSubstitutionBlock()
[all …]
/external/llvm-project/llvm/lib/FileCheck/
DFileCheckImpl.h256 class NumericVariable {
281 explicit NumericVariable(StringRef Name, ExpressionFormat ImplicitFormat,
328 NumericVariable *Variable;
331 NumericVariableUse(StringRef Name, NumericVariable *Variable) in NumericVariableUse()
475 StringMap<NumericVariable *> GlobalNumericVariableTable;
479 NumericVariable *LineVariable = nullptr;
483 std::vector<std::unique_ptr<NumericVariable>> NumericVariables;
518 template <class... Types> NumericVariable *makeNumericVariable(Types... args);
612 NumericVariable *DefinedNumericVariable;
681 StringRef Expr, Optional<NumericVariable *> &DefinedNumericVariable,
[all …]
DFileCheck.cpp462 Expected<NumericVariable *> Pattern::parseNumericVariableDefinition( in parseNumericVariableDefinition()
487 NumericVariable *DefinedNumericVariable; in parseNumericVariableDefinition()
517 NumericVariable *NumericVariable; in parseNumericVariableUse() local
519 NumericVariable = VarTableIter->second; in parseNumericVariableUse()
521 NumericVariable = Context->makeNumericVariable( in parseNumericVariableUse()
523 Context->GlobalNumericVariableTable[Name] = NumericVariable; in parseNumericVariableUse()
526 Optional<size_t> DefLineNumber = NumericVariable->getDefLineNumber(); in parseNumericVariableUse()
533 return std::make_unique<NumericVariableUse>(Name, NumericVariable); in parseNumericVariableUse()
749 StringRef Expr, Optional<NumericVariable *> &DefinedNumericVariable, in parseNumericSubstitutionBlock()
876 Expected<NumericVariable *> ParseResult = parseNumericVariableDefinition( in parseNumericSubstitutionBlock()
[all …]
/external/llvm-project/llvm/unittests/FileCheck/
DFileCheckTest.cpp695 TEST_F(FileCheckTest, NumericVariable) { in TEST_F() argument
700 NumericVariable FooVar("FOO", in TEST_F()
751 NumericVariable FooVar(FooStr, in TEST_F()
757 NumericVariable BarVar(BarStr, in TEST_F()
814 NumericVariable BazVar(BazStr, in TEST_F()
839 NumericVariable QuuxVar( in TEST_F()
978 Optional<NumericVariable *> DefinedNumericVariable; in parseSubst()
1510 NumericVariable NVar("N", ExpressionFormat(ExpressionFormat::Kind::Unsigned), in TEST_F()
1612 Optional<NumericVariable *> DefinedNumericVariable; in TEST_F()