Home
last modified time | relevance | path

Searched refs:Repl (Results 1 – 9 of 9) 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.cpp124 std::string Repl = llvm::Regex(MatchPattern).sub(ReplPattern, Args[i]); in ApplyOneQAOverride() local
126 if (Repl != Args[i]) { in ApplyOneQAOverride()
127 OS << "### Replacing '" << Args[i] << "' with '" << Repl << "'\n"; in ApplyOneQAOverride()
128 Args[i] = GetStableCStr(SavedStrings, Repl); in ApplyOneQAOverride()
/external/llvm/include/llvm/Support/
DRegex.h89 std::string sub(StringRef Repl, StringRef String,
/external/llvm/lib/Transforms/Scalar/
DGVN.cpp1781 static void patchReplacementInstruction(Instruction *I, Value *Repl) { in patchReplacementInstruction() argument
1785 BinaryOperator *ReplOp = dyn_cast<BinaryOperator>(Repl); in patchReplacementInstruction()
1793 if (Instruction *ReplInst = dyn_cast<Instruction>(Repl)) { in patchReplacementInstruction()
1815 static void patchAndReplaceAllUsesWith(Instruction *I, Value *Repl) { in patchAndReplaceAllUsesWith() argument
1816 patchReplacementInstruction(I, Repl); in patchAndReplaceAllUsesWith()
1817 I->replaceAllUsesWith(Repl); in patchAndReplaceAllUsesWith()
/external/llvm/lib/Target/X86/AsmParser/
DX86AsmParser.cpp2482 const char *Repl = StringSwitch<const char *>(Op.getToken()) in MatchFPUWaitAlias() local
2492 if (Repl) { in MatchFPUWaitAlias()
2498 Operands[0] = X86Operand::CreateToken(Repl, IDLoc); in MatchFPUWaitAlias()
/external/llvm/lib/CodeGen/
DCodeGenPrepare.cpp3141 Value *Repl = Addr; in OptimizeMemoryInst() local
3453 MemoryInst->replaceUsesOfWith(Repl, SunkAddr); in OptimizeMemoryInst()
3457 if (Repl->use_empty()) { in OptimizeMemoryInst()
3463 RecursivelyDeleteTriviallyDeadInstructions(Repl, TLInfo); in OptimizeMemoryInst()
/external/clang/lib/CodeGen/
DCGDebugInfo.cpp3388 llvm::Metadata *Repl; in finalize() local
3395 Repl = p.second; in finalize()
3397 Repl = it->second; in finalize()
3400 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.cpp2633 if (const char *Repl = LowerXConstraint(OpInfo.ConstraintVT)) { in ComputeConstraintToUse() local
2634 OpInfo.ConstraintCode = Repl; in ComputeConstraintToUse()