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

/external/llvm/lib/Support/
H A DRegex.cpp94 std::string Regex::sub(StringRef Repl, StringRef String, argument
110 while (!Repl.empty()) {
112 std::pair<StringRef, StringRef> Split = Repl.split('\\');
119 if (Repl.size() != Split.first.size() &&
126 Repl = Split.second;
129 switch (Repl[0]) {
132 Res += Repl[0];
133 Repl = Repl.substr(1);
139 Repl
[all...]
/external/llvm/include/llvm/Support/
H A DRegex.h64 /// \arg String with the \arg Repl string. Backreferences like "\0" in the
73 std::string sub(StringRef Repl, StringRef String, std::string *Error = 0);
/external/clang/tools/driver/
H A Ddriver.cpp110 std::string Repl = llvm::Regex(MatchPattern).sub(ReplPattern, Args[i]); local
112 if (Repl != Args[i]) {
113 OS << "### Replacing '" << Args[i] << "' with '" << Repl << "'\n"; local
114 Args[i] = SaveStringInSet(SavedStrings, Repl);
/external/llvm/lib/Transforms/Scalar/
H A DCodeGenPrepare.cpp717 Value *Repl = Addr; local
892 MemoryInst->replaceUsesOfWith(Repl, SunkAddr);
896 if (Repl->use_empty()) {
902 RecursivelyDeleteTriviallyDeadInstructions(Repl);
/external/llvm/lib/Target/X86/AsmParser/
H A DX86AsmParser.cpp973 const char *Repl = local
984 assert(Repl && "Unknown wait-prefixed instruction");
986 Operands[0] = X86Operand::CreateToken(Repl, IDLoc);
/external/clang/lib/Sema/
H A DSemaTemplate.cpp85 NamedDecl *Repl = isAcceptableTemplateName(Context, Orig); local
86 if (!Repl)
88 else if (Repl != Orig) {
98 if (ClassTemplateDecl *ClassTmpl = dyn_cast<ClassTemplateDecl>(Repl))
109 filter.replace(Repl, AS_public);
/external/llvm/lib/CodeGen/SelectionDAG/
H A DTargetLowering.cpp3170 if (const char *Repl = LowerXConstraint(OpInfo.ConstraintVT)) {
3171 OpInfo.ConstraintCode = Repl;

Completed in 184 milliseconds