| /openbsd-src/gnu/llvm/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 …]
|
| /openbsd-src/gnu/llvm/llvm/lib/Transforms/Scalar/ |
| H A D | GVNHoist.cpp | 491 void makeGepsAvailable(Instruction *Repl, BasicBlock *HoistPt, 495 void updateAlignment(Instruction *I, Instruction *Repl); 499 unsigned rauw(const SmallVecInsn &Candidates, Instruction *Repl, 506 unsigned removeAndReplace(const SmallVecInsn &Candidates, Instruction *Repl, 512 bool makeGepOperandsAvailable(Instruction *Repl, BasicBlock *HoistPt, 950 void GVNHoist::makeGepsAvailable(Instruction *Repl, BasicBlock *HoistPt, in makeGepsAvailable() argument 988 Repl->replaceUsesOfWith(Gep, ClonedGep); in makeGepsAvailable() 991 void GVNHoist::updateAlignment(Instruction *I, Instruction *Repl) { in updateAlignment() argument 992 if (auto *ReplacementLoad = dyn_cast<LoadInst>(Repl)) { in updateAlignment() 996 } else if (auto *ReplacementStore = dyn_cast<StoreInst>(Repl)) { in updateAlignment() [all …]
|
| H A D | GVN.cpp | 2003 static void patchAndReplaceAllUsesWith(Instruction *I, Value *Repl) { in patchAndReplaceAllUsesWith() argument 2004 patchReplacementInstruction(I, Repl); in patchAndReplaceAllUsesWith() 2005 I->replaceAllUsesWith(Repl); in patchAndReplaceAllUsesWith() 2541 Value *Repl = findLeader(I->getParent(), Num); in processInstruction() local 2542 if (!Repl) { in processInstruction() 2546 } else if (Repl == I) { in processInstruction() 2553 patchAndReplaceAllUsesWith(I, Repl); in processInstruction() 2554 if (MD && Repl->getType()->isPtrOrPtrVectorTy()) in processInstruction() 2555 MD->invalidateCachedPointerInfo(Repl); in processInstruction()
|
| H A D | NewGVN.cpp | 3687 static void patchAndReplaceAllUsesWith(Instruction *I, Value *Repl) { in patchAndReplaceAllUsesWith() argument 3688 patchReplacementInstruction(I, Repl); in patchAndReplaceAllUsesWith() 3689 I->replaceAllUsesWith(Repl); in patchAndReplaceAllUsesWith()
|
| /openbsd-src/gnu/llvm/clang/docs/ |
| H A D | ClangRepl.rst | 2 Clang-Repl 5 **Clang-Repl** is an interactive C++ interpreter that allows for incremental 11 Clang-Repl is suitable for exploratory programming and in places where time 12 to insight is important. Clang-Repl is a project inspired by the work in 15 analysis framework `ROOT <https://root.cern/>`_. Clang-Repl allows to move parts 20 Clang-Repl Usage 35 Clang-Repl Basic Data Flow 42 Clang-Repl data flow can be divided into roughly 8 phases: 44 1. Clang-Repl controls the input infrastructure by an interactive prompt or by 67 Just like Clang, Clang-Repl can be integrated in existing applications as a [all …]
|
| /openbsd-src/gnu/llvm/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()
|
| /openbsd-src/gnu/llvm/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()
|
| /openbsd-src/gnu/llvm/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()
|
| /openbsd-src/gnu/llvm/clang/tools/driver/ |
| H A D | driver.cpp | 134 std::string Repl = llvm::Regex(MatchPattern).sub(ReplPattern, Args[i]); in ApplyOneQAOverride() local 136 if (Repl != Args[i]) { in ApplyOneQAOverride() 137 OS << "### Replacing '" << Args[i] << "' with '" << Repl << "'\n"; in ApplyOneQAOverride() 138 Args[i] = GetStableCStr(SavedStrings, Repl); in ApplyOneQAOverride()
|
| /openbsd-src/gnu/llvm/llvm/include/llvm/Support/ |
| H A D | Regex.h | 97 std::string sub(StringRef Repl, StringRef String,
|
| /openbsd-src/gnu/llvm/llvm/lib/CodeGen/GlobalISel/ |
| H A D | InlineAsmLowering.cpp | 224 if (const char *Repl = TLI->LowerXConstraint(OpInfo.ConstraintVT)) { in computeConstraintToUse() local 225 OpInfo.ConstraintCode = Repl; in computeConstraintToUse()
|
| /openbsd-src/gnu/llvm/llvm/include/llvm/Transforms/Utils/ |
| H A D | Local.h | 396 void patchReplacementInstruction(Instruction *I, Value *Repl);
|
| /openbsd-src/gnu/llvm/lldb/tools/driver/ |
| H A D | Options.td | 64 // Repl options.
|
| /openbsd-src/gnu/llvm/llvm/lib/Target/X86/AsmParser/ |
| H A D | X86AsmParser.cpp | 3477 const char *Repl = StringSwitch<const char *>(Name) in ParseInstruction() local 3482 static_cast<X86Operand &>(*Operands[0]).setTokenValue(Repl); in ParseInstruction() 4066 const char *Repl = StringSwitch<const char *>(Op.getToken()) in MatchFPUWaitAlias() local 4076 if (Repl) { in MatchFPUWaitAlias() 4082 Operands[0] = X86Operand::CreateToken(Repl, IDLoc); in MatchFPUWaitAlias()
|
| /openbsd-src/gnu/llvm/clang/lib/CodeGen/ |
| H A D | CGDebugInfo.cpp | 5700 llvm::Metadata *Repl; in finalize() local 5707 Repl = P.second; in finalize() 5709 Repl = It->second; in finalize() 5711 if (auto *GVE = dyn_cast_or_null<llvm::DIGlobalVariableExpression>(Repl)) in finalize() 5712 Repl = GVE->getVariable(); in finalize() 5713 DBuilder.replaceTemporary(std::move(FwdDecl), cast<llvm::MDNode>(Repl)); in finalize()
|
| /openbsd-src/gnu/llvm/llvm/lib/Transforms/Utils/ |
| H A D | Local.cpp | 2779 void llvm::patchReplacementInstruction(Instruction *I, Value *Repl) { in patchReplacementInstruction() argument 2780 auto *ReplInst = dyn_cast<Instruction>(Repl); in patchReplacementInstruction()
|
| /openbsd-src/gnu/llvm/llvm/lib/CodeGen/ |
| H A D | CodeGenPrepare.cpp | 5211 Value *Repl = Addr; in optimizeMemoryInst() local 5578 MemoryInst->replaceUsesOfWith(Repl, SunkAddr); in optimizeMemoryInst() 5585 if (Repl->use_empty()) { in optimizeMemoryInst() 5588 Repl, TLInfo, nullptr, in optimizeMemoryInst()
|
| /openbsd-src/gnu/llvm/llvm/lib/CodeGen/SelectionDAG/ |
| H A D | TargetLowering.cpp | 5756 if (const char *Repl = LowerXConstraint(OpInfo.ConstraintVT)) { in ComputeConstraintToUse() local 5757 OpInfo.ConstraintCode = Repl; in ComputeConstraintToUse()
|