Searched refs:Repl (Results 1 - 9 of 9) sorted by relevance

/external/llvm/lib/Support/
H A DRegex.cpp98 std::string Regex::sub(StringRef Repl, StringRef String, argument
114 while (!Repl.empty()) {
116 std::pair<StringRef, StringRef> Split = Repl.split('\\');
123 if (Repl.size() != Split.first.size() &&
130 Repl = Split.second;
133 switch (Repl[0]) {
136 Res += Repl[0];
137 Repl = Repl.substr(1);
143 Repl
[all...]
/external/chromium_org/tools/grit/grit/
H A Dpseudo.py71 def Repl(match): function in function:MapVowels
79 return _PSUB_RE.sub(Repl, str)
/external/llvm/include/llvm/Support/
H A DRegex.h81 /// \p String with the \p Repl string. Backreferences like "\0" in the
90 std::string sub(StringRef Repl, StringRef String,
/external/clang/tools/driver/
H A Ddriver.cpp119 std::string Repl = llvm::Regex(MatchPattern).sub(ReplPattern, Args[i]); local
121 if (Repl != Args[i]) {
122 OS << "### Replacing '" << Args[i] << "' with '" << Repl << "'\n"; local
123 Args[i] = SaveStringInSet(SavedStrings, Repl);
/external/llvm/lib/Transforms/Scalar/
H A DGVN.cpp1764 static void patchReplacementInstruction(Instruction *I, Value *Repl) { argument
1768 BinaryOperator *ReplOp = dyn_cast<BinaryOperator>(Repl);
1776 if (Instruction *ReplInst = dyn_cast<Instruction>(Repl)) {
1810 static void patchAndReplaceAllUsesWith(Instruction *I, Value *Repl) { argument
1811 patchReplacementInstruction(I, Repl);
1812 I->replaceAllUsesWith(Repl);
/external/llvm/lib/CodeGen/
H A DCodeGenPrepare.cpp2485 Value *Repl = Addr; local
2794 MemoryInst->replaceUsesOfWith(Repl, SunkAddr);
2798 if (Repl->use_empty()) {
2804 RecursivelyDeleteTriviallyDeadInstructions(Repl, TLInfo);
/external/llvm/lib/Target/X86/AsmParser/
H A DX86AsmParser.cpp2310 const char *Repl = StringSwitch<const char *>(Op.getToken()) local
2320 assert(Repl && "Unknown wait-prefixed instruction");
2321 Operands[0] = X86Operand::CreateToken(Repl, IDLoc);
/external/clang/lib/Sema/
H A DSemaTemplate.cpp95 NamedDecl *Repl = isAcceptableTemplateName(Context, Orig, local
97 if (!Repl)
99 else if (Repl != Orig) {
109 if (ClassTemplateDecl *ClassTmpl = dyn_cast<ClassTemplateDecl>(Repl))
120 filter.replace(Repl, AS_public);
/external/llvm/lib/CodeGen/SelectionDAG/
H A DTargetLowering.cpp2608 if (const char *Repl = LowerXConstraint(OpInfo.ConstraintVT)) {
2609 OpInfo.ConstraintCode = Repl;

Completed in 2067 milliseconds