| /freebsd-14.2/contrib/llvm-project/llvm/lib/Support/ |
| H A D | Regex.cpp | 150 while (!Repl.empty()) { in sub() 166 Repl = Split.second; in sub() 169 switch (Repl[0]) { in sub() 173 if (Repl.size() >= 4 && Repl[1] == '<') { in sub() 178 Repl = Repl.substr(End + 1); in sub() 191 Res += Repl[0]; in sub() 192 Repl = Repl.substr(1); in sub() 198 Repl = Repl.substr(1); in sub() 202 Repl = Repl.substr(1); in sub() 209 StringRef Ref = Repl.slice(0, Repl.find_first_not_of("0123456789")); in sub() [all …]
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
| H A D | GVNHoist.cpp | 981 if (I != Repl) { in rauw() 983 updateAlignment(I, Repl); in rauw() 991 Repl->andIRFlags(I); in rauw() 1077 Instruction *Repl = nullptr; in hoist() local 1083 if (!Repl || firstInBB(I, Repl)) in hoist() 1084 Repl = I; in hoist() 1089 if (Repl) { in hoist() 1116 Repl->moveBefore(Last); in hoist() 1122 Repl->dropLocation(); in hoist() 1125 if (isa<LoadInst>(Repl)) in hoist() [all …]
|
| H A D | GVN.cpp | 2126 static void patchAndReplaceAllUsesWith(Instruction *I, Value *Repl) { in patchAndReplaceAllUsesWith() argument 2127 patchReplacementInstruction(I, Repl); in patchAndReplaceAllUsesWith() 2128 I->replaceAllUsesWith(Repl); in patchAndReplaceAllUsesWith() 2665 Value *Repl = findLeader(I->getParent(), Num); in processInstruction() local 2666 if (!Repl) { in processInstruction() 2672 if (Repl == I) { in processInstruction() 2679 patchAndReplaceAllUsesWith(I, Repl); in processInstruction() 2680 if (MD && Repl->getType()->isPtrOrPtrVectorTy()) in processInstruction() 2681 MD->invalidateCachedPointerInfo(Repl); in processInstruction()
|
| H A D | NewGVN.cpp | 3693 static void patchAndReplaceAllUsesWith(Instruction *I, Value *Repl) { in patchAndReplaceAllUsesWith() argument 3694 patchReplacementInstruction(I, Repl); in patchAndReplaceAllUsesWith() 3695 I->replaceAllUsesWith(Repl); in patchAndReplaceAllUsesWith()
|
| /freebsd-14.2/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-14.2/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-14.2/contrib/llvm-project/llvm/lib/Target/AArch64/ |
| H A D | AArch64SIMDInstrOpt.cpp | 301 for (auto &Repl : I.ReplOpc) in shouldExitEarly() local 302 ReplInstrMCID.push_back(&TII->get(Repl)); in shouldExitEarly() 528 for (auto &Repl : I.ReplOpc) { in optimizeLdStInterleave() local 529 ReplInstrMCID.push_back(&TII->get(Repl)); in optimizeLdStInterleave() 531 if (Repl != AArch64::STPQi && Repl != AArch64::STPDi) in optimizeLdStInterleave()
|
| /freebsd-14.2/contrib/llvm-project/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()
|
| /freebsd-14.2/contrib/llvm-project/llvm/include/llvm/Support/ |
| H A D | Regex.h | 98 std::string sub(StringRef Repl, StringRef String,
|
| /freebsd-14.2/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-14.2/contrib/llvm-project/llvm/include/llvm/Transforms/Utils/ |
| H A D | Local.h | 421 void patchReplacementInstruction(Instruction *I, Value *Repl);
|
| /freebsd-14.2/contrib/llvm-project/lldb/tools/driver/ |
| H A D | Options.td | 64 // Repl options.
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/X86/AsmParser/ |
| H A D | X86AsmParser.cpp | 3518 const char *Repl = StringSwitch<const char *>(Name) in ParseInstruction() local 3523 static_cast<X86Operand &>(*Operands[0]).setTokenValue(Repl); in ParseInstruction() 3954 const char *Repl = StringSwitch<const char *>(Op.getToken()) in MatchFPUWaitAlias() local 3964 if (Repl) { in MatchFPUWaitAlias() 3970 Operands[0] = X86Operand::CreateToken(Repl, IDLoc); in MatchFPUWaitAlias()
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/CodeGen/ |
| H A D | CGDebugInfo.cpp | 5874 llvm::Metadata *Repl; in finalize() local 5881 Repl = P.second; in finalize() 5883 Repl = It->second; in finalize() 5885 if (auto *GVE = dyn_cast_or_null<llvm::DIGlobalVariableExpression>(Repl)) in finalize() 5886 Repl = GVE->getVariable(); in finalize() 5887 DBuilder.replaceTemporary(std::move(FwdDecl), cast<llvm::MDNode>(Repl)); in finalize()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/ |
| H A D | CodeGenPrepare.cpp | 5352 Value *Repl = Addr; in optimizeMemoryInst() local 5718 MemoryInst->replaceUsesOfWith(Repl, SunkAddr); in optimizeMemoryInst() 5725 if (Repl->use_empty()) { in optimizeMemoryInst() 5728 Repl, TLInfo, nullptr, in optimizeMemoryInst()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
| H A D | Local.cpp | 3365 void llvm::patchReplacementInstruction(Instruction *I, Value *Repl) { in patchReplacementInstruction() argument 3366 auto *ReplInst = dyn_cast<Instruction>(Repl); in patchReplacementInstruction()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/ |
| H A D | TargetLowering.cpp | 6011 if (const char *Repl = LowerXConstraint(OpInfo.ConstraintVT)) { in ComputeConstraintToUse() local 6012 OpInfo.ConstraintCode = Repl; in ComputeConstraintToUse()
|