| /netbsd-src/external/apache2/llvm/dist/llvm/lib/Support/ |
| H A D | Regex.cpp | 136 std::string Regex::sub(StringRef Repl, StringRef String, in sub() argument 149 while (!Repl.empty()) { in sub() 151 std::pair<StringRef, StringRef> Split = Repl.split('\\'); in sub() 158 if (Repl.size() != Split.first.size() && in sub() 165 Repl = Split.second; in sub() 168 switch (Repl[0]) { in sub() 171 Res += Repl[0]; in sub() 172 Repl = Repl.substr(1); in sub() 178 Repl = Repl.substr(1); in sub() 182 Repl = Repl.substr(1); in sub() [all …]
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Scalar/ |
| H A D | GVNHoist.cpp | 489 void makeGepsAvailable(Instruction *Repl, BasicBlock *HoistPt, 493 void updateAlignment(Instruction *I, Instruction *Repl); 497 unsigned rauw(const SmallVecInsn &Candidates, Instruction *Repl, 504 unsigned removeAndReplace(const SmallVecInsn &Candidates, Instruction *Repl, 510 bool makeGepOperandsAvailable(Instruction *Repl, BasicBlock *HoistPt, 946 void GVNHoist::makeGepsAvailable(Instruction *Repl, BasicBlock *HoistPt, in makeGepsAvailable() argument 984 Repl->replaceUsesOfWith(Gep, ClonedGep); in makeGepsAvailable() 987 void GVNHoist::updateAlignment(Instruction *I, Instruction *Repl) { in updateAlignment() argument 988 if (auto *ReplacementLoad = dyn_cast<LoadInst>(Repl)) { in updateAlignment() 992 } else if (auto *ReplacementStore = dyn_cast<StoreInst>(Repl)) { in updateAlignment() [all …]
|
| H A D | GVN.cpp | 1879 static void patchAndReplaceAllUsesWith(Instruction *I, Value *Repl) { in patchAndReplaceAllUsesWith() argument 1880 patchReplacementInstruction(I, Repl); in patchAndReplaceAllUsesWith() 1881 I->replaceAllUsesWith(Repl); in patchAndReplaceAllUsesWith() 2416 Value *Repl = findLeader(I->getParent(), Num); in processInstruction() local 2417 if (!Repl) { in processInstruction() 2421 } else if (Repl == I) { in processInstruction() 2428 patchAndReplaceAllUsesWith(I, Repl); in processInstruction() 2429 if (MD && Repl->getType()->isPtrOrPtrVectorTy()) in processInstruction() 2430 MD->invalidateCachedPointerInfo(Repl); in processInstruction()
|
| H A D | NewGVN.cpp | 3657 static void patchAndReplaceAllUsesWith(Instruction *I, Value *Repl) { in patchAndReplaceAllUsesWith() argument 3658 patchReplacementInstruction(I, Repl); in patchAndReplaceAllUsesWith() 3659 I->replaceAllUsesWith(Repl); in patchAndReplaceAllUsesWith()
|
| /netbsd-src/external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Core/ |
| H A D | TextDiagnostics.cpp | 80 Replacement Repl(SM, Hint.RemoveRange, Hint.CodeToInsert); in FlushDiagnosticsImpl() local 82 if (llvm::Error Err = Repls.add(Repl)) { in FlushDiagnosticsImpl() 83 llvm::errs() << "Error applying replacement " << Repl.toString() in FlushDiagnosticsImpl()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/AArch64/ |
| H A D | AArch64SIMDInstrOpt.cpp | 300 for (auto &Repl : I.ReplOpc) in shouldExitEarly() local 301 ReplInstrMCID.push_back(&TII->get(Repl)); in shouldExitEarly() 527 for (auto &Repl : I.ReplOpc) { in optimizeLdStInterleave() local 528 ReplInstrMCID.push_back(&TII->get(Repl)); in optimizeLdStInterleave() 530 if (Repl != AArch64::STPQi && Repl != AArch64::STPDi) in optimizeLdStInterleave()
|
| /netbsd-src/external/apache2/llvm/dist/clang/tools/driver/ |
| H A D | driver.cpp | 132 std::string Repl = llvm::Regex(MatchPattern).sub(ReplPattern, Args[i]); in ApplyOneQAOverride() local 134 if (Repl != Args[i]) { in ApplyOneQAOverride() 135 OS << "### Replacing '" << Args[i] << "' with '" << Repl << "'\n"; in ApplyOneQAOverride() 136 Args[i] = GetStableCStr(SavedStrings, Repl); in ApplyOneQAOverride()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/Support/ |
| H A D | Regex.h | 97 std::string sub(StringRef Repl, StringRef String,
|
| /netbsd-src/external/gpl2/gmake/dist/tests/scripts/functions/ |
| H A D | substitution | 23 run_make_test('all:;@echo $(patsubst Foo,Repl,FooFoo)', '', 'FooFoo');
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/CodeGen/GlobalISel/ |
| H A D | InlineAsmLowering.cpp | 228 if (const char *Repl = TLI->LowerXConstraint(OpInfo.ConstraintVT)) { in computeConstraintToUse() local 229 OpInfo.ConstraintCode = Repl; in computeConstraintToUse()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/Transforms/Utils/ |
| H A D | Local.h | 382 void patchReplacementInstruction(Instruction *I, Value *Repl);
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/X86/AsmParser/ |
| H A D | X86AsmParser.cpp | 3408 const char *Repl = StringSwitch<const char *>(Name) in ParseInstruction() local 3413 static_cast<X86Operand &>(*Operands[0]).setTokenValue(Repl); in ParseInstruction() 4030 const char *Repl = StringSwitch<const char *>(Op.getToken()) in MatchFPUWaitAlias() local 4040 if (Repl) { in MatchFPUWaitAlias() 4046 Operands[0] = X86Operand::CreateToken(Repl, IDLoc); in MatchFPUWaitAlias()
|
| /netbsd-src/external/apache2/llvm/dist/clang/lib/CodeGen/ |
| H A D | CGDebugInfo.cpp | 5103 llvm::Metadata *Repl; in finalize() local 5110 Repl = P.second; in finalize() 5112 Repl = It->second; in finalize() 5114 if (auto *GVE = dyn_cast_or_null<llvm::DIGlobalVariableExpression>(Repl)) in finalize() 5115 Repl = GVE->getVariable(); in finalize() 5116 DBuilder.replaceTemporary(std::move(FwdDecl), cast<llvm::MDNode>(Repl)); in finalize()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Utils/ |
| H A D | Local.cpp | 2618 void llvm::patchReplacementInstruction(Instruction *I, Value *Repl) { in patchReplacementInstruction() argument 2619 auto *ReplInst = dyn_cast<Instruction>(Repl); in patchReplacementInstruction()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/CodeGen/ |
| H A D | CodeGenPrepare.cpp | 5104 Value *Repl = Addr; in optimizeMemoryInst() local 5453 MemoryInst->replaceUsesOfWith(Repl, SunkAddr); in optimizeMemoryInst() 5460 if (Repl->use_empty()) { in optimizeMemoryInst() 5463 Repl, TLInfo, nullptr, in optimizeMemoryInst()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/CodeGen/SelectionDAG/ |
| H A D | TargetLowering.cpp | 5004 if (const char *Repl = LowerXConstraint(OpInfo.ConstraintVT)) { in ComputeConstraintToUse() local 5005 OpInfo.ConstraintCode = Repl; in ComputeConstraintToUse()
|