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

/freebsd-11.0-release/contrib/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...]
/freebsd-11.0-release/contrib/llvm/include/llvm/Support/
H A DRegex.h80 /// \p String with the \p Repl string. Backreferences like "\0" in the
89 std::string sub(StringRef Repl, StringRef String,
/freebsd-11.0-release/contrib/llvm/tools/clang/tools/driver/
H A Ddriver.cpp125 std::string Repl = llvm::Regex(MatchPattern).sub(ReplPattern, Args[i]); local
127 if (Repl != Args[i]) {
128 OS << "### Replacing '" << Args[i] << "' with '" << Repl << "'\n"; local
129 Args[i] = GetStableCStr(SavedStrings, Repl);
/freebsd-11.0-release/contrib/llvm/lib/Transforms/Scalar/
H A DGVN.cpp1848 static void patchReplacementInstruction(Instruction *I, Value *Repl) { argument
1852 BinaryOperator *ReplOp = dyn_cast<BinaryOperator>(Repl);
1856 if (Instruction *ReplInst = dyn_cast<Instruction>(Repl)) {
1875 static void patchAndReplaceAllUsesWith(Instruction *I, Value *Repl) { argument
1876 patchReplacementInstruction(I, Repl);
1877 I->replaceAllUsesWith(Repl);
2405 Value *Repl = findLeader(I->getParent(), Num); local
2406 if (!Repl) {
2410 } else if (Repl == I) {
2417 patchAndReplaceAllUsesWith(I, Repl);
[all...]
/freebsd-11.0-release/contrib/llvm/lib/Target/X86/AsmParser/
H A DX86AsmParser.cpp2242 const char *Repl = StringSwitch<const char *>(Name) local
2247 static_cast<X86Operand &>(*Operands[0]).setTokenValue(Repl);
2475 const char *Repl = StringSwitch<const char *>(Op.getToken()) local
2485 if (Repl) {
2491 Operands[0] = X86Operand::CreateToken(Repl, IDLoc);
/freebsd-11.0-release/contrib/llvm/tools/clang/lib/CodeGen/
H A DCGDebugInfo.cpp3536 llvm::Metadata *Repl; local
3543 Repl = p.second;
3545 Repl = it->second;
3547 DBuilder.replaceTemporary(std::move(FwdDecl), cast<llvm::MDNode>(Repl));
/freebsd-11.0-release/contrib/llvm/lib/CodeGen/
H A DCodeGenPrepare.cpp3629 Value *Repl = Addr; local
3941 MemoryInst->replaceUsesOfWith(Repl, SunkAddr);
3945 if (Repl->use_empty()) {
3951 RecursivelyDeleteTriviallyDeadInstructions(Repl, TLInfo);
/freebsd-11.0-release/contrib/llvm/tools/clang/lib/Sema/
H A DSemaTemplate.cpp96 NamedDecl *Repl = isAcceptableTemplateName(Context, Orig, local
98 if (!Repl)
100 else if (Repl != Orig) {
110 if (ClassTemplateDecl *ClassTmpl = dyn_cast<ClassTemplateDecl>(Repl))
121 filter.replace(Repl, AS_public);
/freebsd-11.0-release/contrib/llvm/lib/CodeGen/SelectionDAG/
H A DTargetLowering.cpp2673 if (const char *Repl = LowerXConstraint(OpInfo.ConstraintVT)) {
2674 OpInfo.ConstraintCode = Repl;

Completed in 273 milliseconds