| /freebsd/contrib/llvm-project/llvm/lib/Support/ |
| H A D | Regex.cpp | 137 std::string Regex::sub(StringRef Repl, StringRef String, in sub() 150 while (!Repl.empty()) { in sub() 152 std::pair<StringRef, StringRef> Split = Repl.split('\\'); in sub() 159 if (Repl.size() != Split.first.size() && in sub() 166 Repl = Split.second; in sub() 169 switch (Repl[0]) { in sub() 173 if (Repl.size() >= 4 && Repl[1] == '<') { in sub() 174 size_t End = Repl.find('>'); in sub() 175 StringRef Ref = Repl in sub() 133 sub(StringRef Repl,StringRef String,std::string * Error) const sub() argument [all...] |
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
| H A D | GVNHoist.cpp | 475 void makeGepsAvailable(Instruction *Repl, BasicBlock *HoistPt, 479 void updateAlignment(Instruction *I, Instruction *Repl); 483 unsigned rauw(const SmallVecInsn &Candidates, Instruction *Repl, 490 unsigned removeAndReplace(const SmallVecInsn &Candidates, Instruction *Repl, 496 bool makeGepOperandsAvailable(Instruction *Repl, BasicBlock *HoistPt, 905 void GVNHoist::makeGepsAvailable(Instruction *Repl, BasicBlock *HoistPt, in makeGepsAvailable() argument 951 Repl->replaceUsesOfWith(Gep, ClonedGep); in makeGepsAvailable() 954 void GVNHoist::updateAlignment(Instruction *I, Instruction *Repl) { in updateAlignment() argument 955 if (auto *ReplacementLoad = dyn_cast<LoadInst>(Repl)) { in updateAlignment() 959 } else if (auto *ReplacementStore = dyn_cast<StoreInst>(Repl)) { in updateAlignment() [all …]
|
| H A D | GVN.cpp | 2232 static void patchAndReplaceAllUsesWith(Instruction *I, Value *Repl) { in patchAndReplaceAllUsesWith() argument 2233 patchReplacementInstruction(I, Repl); in patchAndReplaceAllUsesWith() 2234 I->replaceAllUsesWith(Repl); in patchAndReplaceAllUsesWith() 2802 Value *Repl = findLeader(I->getParent(), Num); in processInstruction() local 2803 if (!Repl) { in processInstruction() 2809 if (Repl == I) { in processInstruction() 2816 patchAndReplaceAllUsesWith(I, Repl); in processInstruction() 2817 if (MD && Repl->getType()->isPtrOrPtrVectorTy()) in processInstruction() 2818 MD->invalidateCachedPointerInfo(Repl); in processInstruction()
|
| H A D | NewGVN.cpp | 3729 static void patchAndReplaceAllUsesWith(Instruction *I, Value *Repl) { in patchAndReplaceAllUsesWith() argument 3730 patchReplacementInstruction(I, Repl); in patchAndReplaceAllUsesWith() 3731 I->replaceAllUsesWith(Repl); in patchAndReplaceAllUsesWith()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/SPIRV/ |
| H A D | SPIRVRegularizer.cpp | 112 Value *Repl = nullptr; in runLowerConstExpr() local 121 Repl = InsertElementInst::Create( in runLowerConstExpr() 122 (Repl ? Repl : PoisonValue::get(Vec->getType())), V, in runLowerConstExpr() 127 return Repl; in runLowerConstExpr()
|
| /freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/ |
| H A D | TextDiagnostics.cpp | 75 Replacement Repl(SM, Hint.RemoveRange, Hint.CodeToInsert); in FlushDiagnosticsImpl() local 77 if (llvm::Error Err = Repls.add(Repl)) { in FlushDiagnosticsImpl() 78 llvm::errs() << "Error applying replacement " << Repl.toString() in FlushDiagnosticsImpl()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/ |
| H A D | AArch64SIMDInstrOpt.cpp | 299 for (auto &Repl : I.ReplOpc) in shouldExitEarly() local 300 ReplInstrMCID.push_back(&TII->get(Repl)); in shouldExitEarly() 526 for (auto &Repl : I.ReplOpc) { in optimizeLdStInterleave() local 527 ReplInstrMCID.push_back(&TII->get(Repl)); in optimizeLdStInterleave() 529 if (Repl != AArch64::STPQi && Repl != AArch64::STPDi) in optimizeLdStInterleave()
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/Support/ |
| H A D | Regex.h | 100 LLVM_ABI std::string sub(StringRef Repl, StringRef String,
|
| /freebsd/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/ |
| H A D | InlineAsmLowering.cpp | 170 if (const char *Repl = TLI->LowerXConstraint(OpInfo.ConstraintVT)) { in computeConstraintToUse() local 171 OpInfo.ConstraintCode = Repl; in computeConstraintToUse()
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/Transforms/Utils/ |
| H A D | Local.h | 454 LLVM_ABI void patchReplacementInstruction(Instruction *I, Value *Repl);
|
| /freebsd/contrib/llvm-project/lldb/tools/driver/ |
| H A D | Options.td | 66 // Repl options.
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/X86/AsmParser/ |
| H A D | X86AsmParser.cpp | 3622 const char *Repl = StringSwitch<const char *>(Name) in parseInstruction() local 3627 static_cast<X86Operand &>(*Operands[0]).setTokenValue(Repl); in parseInstruction() 4197 const char *Repl = StringSwitch<const char *>(Op.getToken()) in MatchFPUWaitAlias() local 4207 if (Repl) { in MatchFPUWaitAlias() 4213 Operands[0] = X86Operand::CreateToken(Repl, IDLoc); in MatchFPUWaitAlias()
|
| /freebsd/contrib/llvm-project/clang/lib/CodeGen/ |
| H A D | CGDebugInfo.cpp | 6320 llvm::Metadata *Repl; in finalize() local 6327 Repl = P.second; in finalize() 6329 Repl = It->second; in finalize() 6331 if (auto *GVE = dyn_cast_or_null<llvm::DIGlobalVariableExpression>(Repl)) in finalize() 6332 Repl = GVE->getVariable(); in finalize() 6333 DBuilder.replaceTemporary(std::move(FwdDecl), cast<llvm::MDNode>(Repl)); in finalize()
|
| /freebsd/contrib/llvm-project/llvm/lib/CodeGen/ |
| H A D | CodeGenPrepare.cpp | 5828 Value *Repl = Addr; in optimizeMemoryInst() local 6224 MemoryInst->replaceUsesOfWith(Repl, SunkAddr); in optimizeMemoryInst() 6231 if (Repl->use_empty()) { in optimizeMemoryInst() 6234 Repl, TLInfo, nullptr, in optimizeMemoryInst()
|
| /freebsd/contrib/llvm-project/clang/lib/Driver/ |
| H A D | Driver.cpp | 7279 std::string Repl = llvm::Regex(MatchPattern).sub(ReplPattern, Args[i]); in applyOneOverrideOption() local 7281 if (Repl != Args[i]) { in applyOneOverrideOption() 7282 OS << "### Replacing '" << Args[i] << "' with '" << Repl << "'\n"; in applyOneOverrideOption() 7283 Args[i] = GetStableCStr(SavedStrings, Repl); in applyOneOverrideOption()
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
| H A D | Local.cpp | 3503 void llvm::patchReplacementInstruction(Instruction *I, Value *Repl) { in patchReplacementInstruction() argument 3504 auto *ReplInst = dyn_cast<Instruction>(Repl); in patchReplacementInstruction()
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/ |
| H A D | InstructionCombining.cpp | 5128 if (Constant *Repl = getFreezeVectorReplacement(C)) in visitFreeze() local 5129 return replaceInstUsesWith(I, Repl); in visitFreeze()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/NVPTX/ |
| H A D | NVPTXISelLowering.cpp | 1943 SDValue Repl = DAG.getNode(NVPTXISD::ProxyReg, dl, T.getSimpleValueType(), in LowerCall() local 1945 DAG.ReplaceAllUsesWith(T, Repl); in LowerCall()
|
| /freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/ |
| H A D | TargetLowering.cpp | 6306 if (const char *Repl = LowerXConstraint(OpInfo.ConstraintVT)) { in ComputeConstraintToUse() local 6307 OpInfo.ConstraintCode = Repl; in ComputeConstraintToUse()
|