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

/freebsd-10-stable/contrib/llvm/lib/Support/
H A DRegex.cpp96 std::string Regex::sub(StringRef Repl, StringRef String, argument
112 while (!Repl.empty()) {
114 std::pair<StringRef, StringRef> Split = Repl.split('\\');
121 if (Repl.size() != Split.first.size() &&
128 Repl = Split.second;
131 switch (Repl[0]) {
134 Res += Repl[0];
135 Repl = Repl.substr(1);
141 Repl
[all...]
/freebsd-10-stable/contrib/llvm/include/llvm/Support/
H A DRegex.h69 /// \p String with the \p Repl string. Backreferences like "\0" in the
78 std::string sub(StringRef Repl, StringRef String, std::string *Error = 0);
/freebsd-10-stable/contrib/llvm/tools/clang/tools/driver/
H A Ddriver.cpp118 std::string Repl = llvm::Regex(MatchPattern).sub(ReplPattern, Args[i]); local
120 if (Repl != Args[i]) {
121 OS << "### Replacing '" << Args[i] << "' with '" << Repl << "'\n"; local
122 Args[i] = SaveStringInSet(SavedStrings, Repl);
/freebsd-10-stable/contrib/llvm/lib/Transforms/Scalar/
H A DGVN.cpp1760 static void patchReplacementInstruction(Instruction *I, Value *Repl) { argument
1764 BinaryOperator *ReplOp = dyn_cast<BinaryOperator>(Repl);
1772 if (Instruction *ReplInst = dyn_cast<Instruction>(Repl)) {
1802 static void patchAndReplaceAllUsesWith(Instruction *I, Value *Repl) { argument
1803 patchReplacementInstruction(I, Repl);
1804 I->replaceAllUsesWith(Repl);
H A DCodeGenPrepare.cpp1459 Value *Repl = Addr; local
1632 MemoryInst->replaceUsesOfWith(Repl, SunkAddr);
1636 if (Repl->use_empty()) {
1642 RecursivelyDeleteTriviallyDeadInstructions(Repl, TLInfo);
/freebsd-10-stable/contrib/llvm/lib/Target/X86/AsmParser/
H A DX86AsmParser.cpp2410 const char *Repl = local
2421 assert(Repl && "Unknown wait-prefixed instruction");
2423 Operands[0] = X86Operand::CreateToken(Repl, IDLoc);
/freebsd-10-stable/contrib/llvm/tools/clang/lib/Sema/
H A DSemaTemplate.cpp94 NamedDecl *Repl = isAcceptableTemplateName(Context, Orig, local
96 if (!Repl)
98 else if (Repl != Orig) {
108 if (ClassTemplateDecl *ClassTmpl = dyn_cast<ClassTemplateDecl>(Repl))
119 filter.replace(Repl, AS_public);
/freebsd-10-stable/contrib/llvm/lib/CodeGen/SelectionDAG/
H A DTargetLowering.cpp2503 if (const char *Repl = LowerXConstraint(OpInfo.ConstraintVT)) {
2504 OpInfo.ConstraintCode = Repl;

Completed in 217 milliseconds