Home
last modified time | relevance | path

Searched refs:Repl (Results 1 – 10 of 10) sorted by relevance

/external/llvm/lib/Support/
DRegex.cpp98 std::string Regex::sub(StringRef Repl, StringRef String, in sub() argument
114 while (!Repl.empty()) { in sub()
116 std::pair<StringRef, StringRef> Split = Repl.split('\\'); in sub()
123 if (Repl.size() != Split.first.size() && in sub()
130 Repl = Split.second; in sub()
133 switch (Repl[0]) { in sub()
136 Res += Repl[0]; in sub()
137 Repl = Repl.substr(1); in sub()
143 Repl = Repl.substr(1); in sub()
147 Repl = Repl.substr(1); in sub()
[all …]
/external/clang/tools/driver/
Ddriver.cpp125 std::string Repl = llvm::Regex(MatchPattern).sub(ReplPattern, Args[i]); in ApplyOneQAOverride() local
127 if (Repl != Args[i]) { in ApplyOneQAOverride()
128 OS << "### Replacing '" << Args[i] << "' with '" << Repl << "'\n"; in ApplyOneQAOverride()
129 Args[i] = GetStableCStr(SavedStrings, Repl); in ApplyOneQAOverride()
/external/llvm/include/llvm/Support/
DRegex.h89 std::string sub(StringRef Repl, StringRef String,
/external/chromium-trace/catapult/third_party/gsutil/third_party/apitools/apitools/base/py/
Dapp2.py334 class Repl(NewCmd): class
340 super(Repl, self).__init__(name, fv)
/external/llvm/lib/Transforms/Scalar/
DGVN.cpp1848 static void patchReplacementInstruction(Instruction *I, Value *Repl) { in patchReplacementInstruction() argument
1852 BinaryOperator *ReplOp = dyn_cast<BinaryOperator>(Repl); in patchReplacementInstruction()
1856 if (Instruction *ReplInst = dyn_cast<Instruction>(Repl)) { in patchReplacementInstruction()
1875 static void patchAndReplaceAllUsesWith(Instruction *I, Value *Repl) { in patchAndReplaceAllUsesWith() argument
1876 patchReplacementInstruction(I, Repl); in patchAndReplaceAllUsesWith()
1877 I->replaceAllUsesWith(Repl); in patchAndReplaceAllUsesWith()
2405 Value *Repl = findLeader(I->getParent(), Num); in processInstruction() local
2406 if (!Repl) { in processInstruction()
2410 } else if (Repl == I) { in processInstruction()
2417 patchAndReplaceAllUsesWith(I, Repl); in processInstruction()
[all …]
/external/llvm/lib/Target/X86/AsmParser/
DX86AsmParser.cpp2239 const char *Repl = StringSwitch<const char *>(Name) in ParseInstruction() local
2244 static_cast<X86Operand &>(*Operands[0]).setTokenValue(Repl); in ParseInstruction()
2472 const char *Repl = StringSwitch<const char *>(Op.getToken()) in MatchFPUWaitAlias() local
2482 if (Repl) { in MatchFPUWaitAlias()
2488 Operands[0] = X86Operand::CreateToken(Repl, IDLoc); in MatchFPUWaitAlias()
/external/llvm/lib/CodeGen/
DCodeGenPrepare.cpp3628 Value *Repl = Addr; in optimizeMemoryInst() local
3940 MemoryInst->replaceUsesOfWith(Repl, SunkAddr); in optimizeMemoryInst()
3944 if (Repl->use_empty()) { in optimizeMemoryInst()
3950 RecursivelyDeleteTriviallyDeadInstructions(Repl, TLInfo); in optimizeMemoryInst()
/external/clang/lib/CodeGen/
DCGDebugInfo.cpp3528 llvm::Metadata *Repl; in finalize() local
3535 Repl = p.second; in finalize()
3537 Repl = it->second; in finalize()
3539 DBuilder.replaceTemporary(std::move(FwdDecl), cast<llvm::MDNode>(Repl)); in finalize()
/external/clang/lib/Sema/
DSemaTemplate.cpp96 NamedDecl *Repl = isAcceptableTemplateName(Context, Orig, in FilterAcceptableTemplateNames() local
98 if (!Repl) in FilterAcceptableTemplateNames()
100 else if (Repl != Orig) { in FilterAcceptableTemplateNames()
110 if (ClassTemplateDecl *ClassTmpl = dyn_cast<ClassTemplateDecl>(Repl)) in FilterAcceptableTemplateNames()
121 filter.replace(Repl, AS_public); in FilterAcceptableTemplateNames()
/external/llvm/lib/CodeGen/SelectionDAG/
DTargetLowering.cpp2690 if (const char *Repl = LowerXConstraint(OpInfo.ConstraintVT)) { in ComputeConstraintToUse() local
2691 OpInfo.ConstraintCode = Repl; in ComputeConstraintToUse()