Home
last modified time | relevance | path

Searched refs:subst (Results 1 – 25 of 62) sorted by relevance

123

/llvm-project-15.0.7/llvm/test/TableGen/
H A Dforeach-eval.td13 dag r1 = !foreach(tmp, d, !subst(d1, d0, !subst(d2, d0,
14 !subst(d3, d0,
18 !foreach(tmp, tmp2, !subst(d1, d0,
19 !subst(d2, d0,
20 !subst(d3, d0,
46 : J0<[!foreach(tmp, pattern, !subst(d1, d0,
47 !subst(d2, d0,
48 !subst(d3, d0,
52 !foreach(t1, t0, !subst(d1, d0,
53 !subst(d2, d0,
[all …]
H A DMultiPat.td72 // Dummy for subst
89 !subst(INTRINSIC, intr,
90 !subst(REGCLASS, VR128,
91 !subst(MNEMONIC, set, operand)))))>,
94 !subst(INTRINSIC, intr,
95 !subst(REGCLASS, VR128,
96 !subst(MNEMONIC, set, operand)))))>;
100 …!strconcat(asmstr, "\t$dst, $src1, $src2"), !cast<Intrinsic>(!subst("SUFFIX", "_ps", intr)), patte…
103 …!strconcat(asmstr, "\t$dst, $src1, $src2"), !cast<Intrinsic>(!subst("SUFFIX", "_pd", intr)), patte…
H A Dsubst2.td3 // CHECK: No subst
12 Recurse<!subst("RECURSE", "RECURSE", !subst("NORECURSE", "foo", text))>;
14 def Ok1 : Text<"No subst">;
H A DTargetInstrSpec.td69 // Dummy for subst
82 !subst(INTRINSIC, !cast<Intrinsic>(!subst("SUFFIX", "_ps", intr)),
83 !subst(REGCLASS, VR128, operand))))>;
89 !subst(INTRINSIC, !cast<Intrinsic>(!subst("SUFFIX", "_pd", intr)),
90 !subst(REGCLASS, VR128, operand))))>;
H A Dsubst.td19 Name<!subst("FIRST", "John", !subst("LAST", "Smith", name)),
20 !subst(TVAR, Mr, honorific)>;
29 // CHECK-NEXT: string name = !subst("FIRST", "John", !subst("LAST", "Smith", AName:name));
30 // CHECK-NEXT: Honorific honorific = !subst(TVAR, Mr, AName:honorific);
/llvm-project-15.0.7/llvm/utils/
H A Dshuffle_fuzz.py154 subst = {'N': width, 'T': element_type, 'IT': integral_element_type}
157 entry:""" % dict(subst,
159 ['<%(N)d x %(T)s> %%s.0.%(i)d' % dict(subst, i=i)
166 """.strip('\n') % dict(subst, i=i, next_i=i + 1, j=j, next_j=j + 1,
173 """ % dict(subst, i=len(shuffle_tree)))
192 """ % dict(subst,
193 arguments=', '.join(['<%(N)d x %(T)s> %%s.%(i)d' % dict(subst, i=i)
211 """ % dict(subst,
215 dict(subst, input=', '.join(['%(IT)s %(i)d' % dict(subst, i=i)
226 """ % dict(subst, i=i, next_i=i + 1))
[all …]
/llvm-project-15.0.7/mlir/lib/TableGen/
H A DFormat.cpp32 customSubstMap[placeholder] = subst.str(); in addSubst()
36 FmtContext &FmtContext::withBuilder(Twine subst) { in withBuilder() argument
37 builtinSubstMap[PHKind::Builder] = subst.str(); in withBuilder()
41 FmtContext &FmtContext::withOp(Twine subst) { in withOp() argument
42 builtinSubstMap[PHKind::Op] = subst.str(); in withOp()
46 FmtContext &FmtContext::withSelf(Twine subst) { in withSelf() argument
47 builtinSubstMap[PHKind::Self] = subst.str(); in withSelf()
168 Optional<StringRef> subst; in format() local
173 subst = context->getSubstFor(repl.placeholder); in format()
175 if (subst) in format()
[all …]
H A DPredicate.cpp141 for (const auto &subst : llvm::reverse(substitutions)) { in performSubstitutions() local
142 auto pos = str.find(std::string(subst.first)); in performSubstitutions()
144 str.replace(pos, subst.first.size(), std::string(subst.second)); in performSubstitutions()
147 pos += subst.second.size(); in performSubstitutions()
149 pos = str.find(std::string(subst.first), pos); in performSubstitutions()
/llvm-project-15.0.7/lldb/packages/Python/lldbsuite/test/make/
H A DMakefile.rules165 override ARCH := $(subst x64,64,$(ARCH))
312 $(subst icc,icpc,$(1)), \
314 $(subst llvm-gcc,llvm-g++,$(1)), \
316 $(subst gcc,g++,$(1)), \
317 $(subst cc,c++,$(1)))))
322 $(subst icc,icpc,$(1)), \
324 $(subst llvm-gcc,llvm-g++,$(1)), \
326 $(subst gcc,g++,$(1)), \
327 $(subst cc,c++,$(1)))))
340 $(subst $(3),$(1),$(2)), \
[all …]
H A DAndroid.rules46 TOOLCHAIN_DIR := $(subst -none,,$(TRIPLE))-4.9
52 TOOL_PREFIX := $(subst -none,,$(TRIPLE))
/llvm-project-15.0.7/llvm/test/tools/yaml2obj/
H A Dmacro.yaml46 # RUN: yaml2obj --docnum=3 -D a=b -D b=c %s | llvm-nm --just-symbol-name --no-sort - > %t.subst
47 # RUN: echo -e 'a[[\n[[a]\n[[ab\n[[a]bc' > %t0.subst
48 # RUN: diff -u %t0.subst %t.subst
/llvm-project-15.0.7/mlir/examples/standalone/test/
H A Dlit.cfg.py13 from lit.llvm.subst import ToolSubst
14 from lit.llvm.subst import FindTool
/llvm-project-15.0.7/mlir/include/mlir/TableGen/
H A DFormat.h57 FmtContext &addSubst(StringRef placeholder, const Twine &subst);
60 FmtContext &withBuilder(Twine subst);
61 FmtContext &withOp(Twine subst);
62 FmtContext &withSelf(Twine subst);
/llvm-project-15.0.7/bolt/test/
H A Dlit.cfg.py13 from lit.llvm.subst import ToolSubst
14 from lit.llvm.subst import FindTool
/llvm-project-15.0.7/mlir/test/
H A Dlit.cfg.py13 from lit.llvm.subst import ToolSubst
14 from lit.llvm.subst import FindTool
/llvm-project-15.0.7/lldb/test/Shell/
H A Dlit.cfg.py13 from lit.llvm.subst import FindTool
14 from lit.llvm.subst import ToolSubst
/llvm-project-15.0.7/flang/test/
H A Dlit.cfg.py13 from lit.llvm.subst import ToolSubst
14 from lit.llvm.subst import FindTool
/llvm-project-15.0.7/llvm/test/Transforms/Attributor/
H A Dlit.local.cfg2 from lit.llvm.subst import ToolSubst
/llvm-project-15.0.7/clang/test/OpenMP/
H A Dlit.local.cfg2 from lit.llvm.subst import ToolSubst
/llvm-project-15.0.7/lldb/test/Shell/helper/
H A Dtoolchain.py9 from lit.llvm.subst import FindTool
10 from lit.llvm.subst import ToolSubst
/llvm-project-15.0.7/llvm/test/CodeGen/ARM/
H A Dcombine-movc-sub.ll13 %struct.st = type { %struct.subst*, %struct.LIST_HELP*, %struct.LIST_HELP*, i16, i16 }
14 %struct.subst = type { %struct.subst*, i32, %struct.term* }
/llvm-project-15.0.7/clang/test/
H A Dlit.cfg.py13 from lit.llvm.subst import ToolSubst
14 from lit.llvm.subst import FindTool
/llvm-project-15.0.7/clang/test/Analysis/
H A Dlit.local.cfg2 from lit.llvm.subst import ToolSubst
/llvm-project-15.0.7/clang/include/clang/AST/
H A DTemplateName.h388 if (SubstTemplateTemplateParmStorage *subst in getUnderlying() local
390 return subst->getReplacement().getUnderlying(); in getUnderlying()
/llvm-project-15.0.7/clang/lib/AST/
H A DTemplateName.cpp296 } else if (SubstTemplateTemplateParmStorage *subst in print() local
298 subst->getReplacement().print(OS, Policy, Qual); in print()

123