/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 | 476 void makeGepsAvailable(Instruction *Repl, BasicBlock *HoistPt, 480 void updateAlignment(Instruction *I, Instruction *Repl); 484 unsigned rauw(const SmallVecInsn &Candidates, Instruction *Repl, 491 unsigned removeAndReplace(const SmallVecInsn &Candidates, Instruction *Repl, 497 bool makeGepOperandsAvailable(Instruction *Repl, BasicBlock *HoistPt, 907 void GVNHoist::makeGepsAvailable(Instruction *Repl, BasicBlock *HoistPt, in makeGepsAvailable() argument 953 Repl->replaceUsesOfWith(Gep, ClonedGep); in makeGepsAvailable() 956 void GVNHoist::updateAlignment(Instruction *I, Instruction *Repl) { in updateAlignment() argument 957 if (auto *ReplacementLoad = dyn_cast<LoadInst>(Repl)) { in updateAlignment() 961 } else if (auto *ReplacementStore = dyn_cast<StoreInst>(Repl)) { in updateAlignment() [all …]
|
H A D | GVN.cpp | 2192 static void patchAndReplaceAllUsesWith(Instruction *I, Value *Repl) { in patchAndReplaceAllUsesWith() argument 2193 patchReplacementInstruction(I, Repl); in patchAndReplaceAllUsesWith() 2194 I->replaceAllUsesWith(Repl); in patchAndReplaceAllUsesWith() 2736 Value *Repl = findLeader(I->getParent(), Num); in processInstruction() local 2737 if (!Repl) { in processInstruction() 2743 if (Repl == I) { in processInstruction() 2750 patchAndReplaceAllUsesWith(I, Repl); in processInstruction() 2751 if (MD && Repl->getType()->isPtrOrPtrVectorTy()) in processInstruction() 2752 MD->invalidateCachedPointerInfo(Repl); in processInstruction()
|
H A D | NewGVN.cpp | 3698 static void patchAndReplaceAllUsesWith(Instruction *I, Value *Repl) { in patchAndReplaceAllUsesWith() argument 3699 patchReplacementInstruction(I, Repl); in patchAndReplaceAllUsesWith() 3700 I->replaceAllUsesWith(Repl); in patchAndReplaceAllUsesWith()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/SPIRV/ |
H A D | SPIRVRegularizer.cpp | 119 Value *Repl = nullptr; in runLowerConstExpr() local 128 Repl = InsertElementInst::Create( in runLowerConstExpr() 129 (Repl ? Repl : PoisonValue::get(Vec->getType())), V, in runLowerConstExpr() 133 return Repl; in runLowerConstExpr()
|
/freebsd/contrib/llvm-project/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()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/ |
H A D | AArch64SIMDInstrOpt.cpp | 301 for (auto &Repl : I.ReplOpc) in shouldExitEarly() 302 ReplInstrMCID.push_back(&TII->get(Repl)); in shouldExitEarly() 528 for (auto &Repl : I.ReplOpc) { in optimizeLdStInterleave() 529 ReplInstrMCID.push_back(&TII->get(Repl)); in optimizeLdStInterleave() 531 if (Repl != AArch64::STPQi && Repl != AArch64::STPDi) in optimizeLdStInterleave() 300 for (auto &Repl : I.ReplOpc) shouldExitEarly() local 527 for (auto &Repl : I.ReplOpc) { optimizeLdStInterleave() local
|
/freebsd/contrib/llvm-project/llvm/include/llvm/Support/ |
H A D | Regex.h | 88 /// \p String with the \p Repl string. Backreferences like "\0" and "\g<1>" 98 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 | 429 void patchReplacementInstruction(Instruction *I, Value *Repl);
|
/freebsd/contrib/llvm-project/lldb/tools/driver/ |
H A D | Options.td | 64 // Repl options.
|
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/AsmParser/ |
H A D | X86AsmParser.cpp | 3595 const char *Repl = StringSwitch<const char *>(Name) in ParseInstruction() local 3600 static_cast<X86Operand &>(*Operands[0]).setTokenValue(Repl); in ParseInstruction() 4103 const char *Repl = StringSwitch<const char *>(Op.getToken()) in MatchFPUWaitAlias() local 4113 if (Repl) { in MatchFPUWaitAlias() 4119 Operands[0] = X86Operand::CreateToken(Repl, IDLoc); in MatchFPUWaitAlias()
|
/freebsd/contrib/llvm-project/clang/lib/CodeGen/ |
H A D | CGDebugInfo.cpp | 6057 llvm::Metadata *Repl; in finalize() local 6064 Repl = P.second; in finalize() 6066 Repl = It->second; in finalize() 6068 if (auto *GVE = dyn_cast_or_null<llvm::DIGlobalVariableExpression>(Repl)) in finalize() 6069 Repl = GVE->getVariable(); in finalize() 6070 DBuilder.replaceTemporary(std::move(FwdDecl), cast<llvm::MDNode>(Repl)); in finalize()
|
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/ |
H A D | CodeGenPrepare.cpp | 5456 Value *Repl = Addr; in optimizeMemoryInst() local 5834 MemoryInst->replaceUsesOfWith(Repl, SunkAddr); in optimizeMemoryInst() 5841 if (Repl->use_empty()) { in optimizeMemoryInst() 5844 Repl, TLInfo, nullptr, in optimizeMemoryInst()
|
/freebsd/contrib/llvm-project/clang/lib/Driver/ |
H A D | Driver.cpp | 6853 std::string Repl = llvm::Regex(MatchPattern).sub(ReplPattern, Args[i]); in applyOneOverrideOption() 6855 if (Repl != Args[i]) { in applyOneOverrideOption() 6856 OS << "### Replacing '" << Args[i] << "' with '" << Repl << "'\n"; in applyOneOverrideOption() 6857 Args[i] = GetStableCStr(SavedStrings, Repl); in applyOneOverrideOption() 6848 std::string Repl = llvm::Regex(MatchPattern).sub(ReplPattern, Args[i]); applyOneOverrideOption() local
|
/freebsd/contrib/llvm-project/llvm/lib/Target/NVPTX/ |
H A D | NVPTXISelLowering.cpp | 2199 SDValue Repl = DAG.getNode( in LowerCall() local 2203 DAG.ReplaceAllUsesWith(T, Repl); in LowerCall() 2206 Chain = Repl.getValue(1); in LowerCall() 2207 InGlue = Repl.getValue(2); in LowerCall()
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
H A D | Local.cpp | 3425 void llvm::patchReplacementInstruction(Instruction *I, Value *Repl) { in patchReplacementInstruction() argument 3426 auto *ReplInst = dyn_cast<Instruction>(Repl); in patchReplacementInstruction()
|
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/ |
H A D | TargetLowering.cpp | 6086 if (const char *Repl = LowerXConstraint(OpInfo.ConstraintVT)) { in ComputeConstraintToUse() local 6087 OpInfo.ConstraintCode = Repl; in ComputeConstraintToUse()
|