| /freebsd-12.1/contrib/llvm/lib/Support/ |
| H A D | Regex.cpp | 115 std::string Regex::sub(StringRef Repl, StringRef String, in sub() argument 131 while (!Repl.empty()) { in sub() 140 if (Repl.size() != Split.first.size() && in sub() 147 Repl = Split.second; in sub() 150 switch (Repl[0]) { in sub() 153 Res += Repl[0]; in sub() 154 Repl = Repl.substr(1); in sub() 160 Repl = Repl.substr(1); in sub() 164 Repl = Repl.substr(1); in sub() 171 StringRef Ref = Repl.slice(0, Repl.find_first_not_of("0123456789")); in sub() [all …]
|
| /freebsd-12.1/contrib/llvm/lib/Transforms/Scalar/ |
| H A D | GVNHoist.cpp | 917 if (I != Repl) { in rauw() 919 updateAlignment(I, Repl); in rauw() 927 Repl->andIRFlags(I); in rauw() 929 I->replaceAllUsesWith(Repl); in rauw() 1016 Instruction *Repl = nullptr; in hoist() local 1022 if (!Repl || firstInBB(I, Repl)) in hoist() 1023 Repl = I; in hoist() 1028 if (Repl) { in hoist() 1055 Repl->moveBefore(Last); in hoist() 1062 if (isa<LoadInst>(Repl)) in hoist() [all …]
|
| H A D | GVN.cpp | 1447 static void patchAndReplaceAllUsesWith(Instruction *I, Value *Repl) { in patchAndReplaceAllUsesWith() argument 1448 patchReplacementInstruction(I, Repl); in patchAndReplaceAllUsesWith() 1449 I->replaceAllUsesWith(Repl); in patchAndReplaceAllUsesWith() 1963 Value *Repl = findLeader(I->getParent(), Num); in processInstruction() local 1964 if (!Repl) { in processInstruction() 1968 } else if (Repl == I) { in processInstruction() 1975 patchAndReplaceAllUsesWith(I, Repl); in processInstruction() 1976 if (MD && Repl->getType()->isPtrOrPtrVectorTy()) in processInstruction() 1977 MD->invalidateCachedPointerInfo(Repl); in processInstruction()
|
| H A D | NewGVN.cpp | 3700 static void patchAndReplaceAllUsesWith(Instruction *I, Value *Repl) { in patchAndReplaceAllUsesWith() argument 3701 patchReplacementInstruction(I, Repl); in patchAndReplaceAllUsesWith() 3702 I->replaceAllUsesWith(Repl); in patchAndReplaceAllUsesWith()
|
| /freebsd-12.1/contrib/llvm/tools/lld/ELF/ |
| H A D | Symbols.cpp | 61 IS = IS->Repl; in getSymVA() 167 return Sec->Repl->getOutputSection(); in getOutputSection() 295 else if (D && !D->Section->Repl->Live) in maybeWarnUnorderableSymbol()
|
| H A D | CallGraphSort.cpp | 117 const auto *FromSB = cast<InputSectionBase>(C.first.first->Repl); in CallGraphSort() 118 const auto *ToSB = cast<InputSectionBase>(C.first.second->Repl); in CallGraphSort()
|
| H A D | InputSection.h | 51 SectionBase *Repl; variable 90 : Name(Name), Repl(this), SectionKind(SectionKind), Live(false), in SectionBase()
|
| H A D | InputSection.cpp | 440 SectionBase *Section = D->Section->Repl; in copyRelocations() 1086 Other->Repl = Repl; in replace()
|
| H A D | InputFiles.cpp | 1314 StringRef Repl = Config->ThinLTOObjectSuffixReplace.second; in replaceThinLTOSuffix() local 1317 return (Path + Repl).str(); in replaceThinLTOSuffix()
|
| H A D | Writer.cpp | 578 Sec = Sec->Repl; in includeInSymtab() 1144 int &Priority = SectionOrder[cast<InputSectionBase>(Sec->Repl)]; in buildSectionOrder()
|
| H A D | Relocations.cpp | 1396 ThunkVec = &ThunkedSymbolsBySection[{D->Section->Repl, D->Value}]; in getThunk()
|
| /freebsd-12.1/contrib/llvm/lib/Target/AArch64/ |
| H A D | AArch64SIMDInstrOpt.cpp | 298 for (auto &Repl : I.ReplOpc) in shouldExitEarly() local 299 ReplInstrMCID.push_back(&TII->get(Repl)); in shouldExitEarly() 525 for (auto &Repl : I.ReplOpc) { in optimizeLdStInterleave() local 526 ReplInstrMCID.push_back(&TII->get(Repl)); in optimizeLdStInterleave() 528 if (Repl != AArch64::STPQi && Repl != AArch64::STPDi) in optimizeLdStInterleave()
|
| /freebsd-12.1/contrib/llvm/tools/clang/tools/driver/ |
| H A D | driver.cpp | 128 std::string Repl = llvm::Regex(MatchPattern).sub(ReplPattern, Args[i]); in ApplyOneQAOverride() local 130 if (Repl != Args[i]) { in ApplyOneQAOverride() 131 OS << "### Replacing '" << Args[i] << "' with '" << Repl << "'\n"; in ApplyOneQAOverride() 132 Args[i] = GetStableCStr(SavedStrings, Repl); in ApplyOneQAOverride()
|
| /freebsd-12.1/contrib/llvm/include/llvm/Support/ |
| H A D | Regex.h | 86 std::string sub(StringRef Repl, StringRef String,
|
| /freebsd-12.1/contrib/llvm/tools/lld/COFF/ |
| H A D | Chunks.cpp | 34 : Chunk(SectionKind), Repl(this), Header(H), File(F), in SectionChunk() 580 if (Sym && this == Repl) in printDiscardedMessage() 598 Other->Repl = Repl; in replace()
|
| H A D | Symbols.h | 162 : DefinedCOFF(DefinedRegularKind, F, N, S), Data(C ? &C->Repl : nullptr) { in DefinedCOFF()
|
| H A D | Chunks.h | 213 SectionChunk *Repl; variable
|
| H A D | InputFiles.cpp | 434 cast<DefinedRegular>(Leader)->Data = &C->Repl; in createDefined()
|
| /freebsd-12.1/contrib/llvm/include/llvm/Transforms/Utils/ |
| H A D | Local.h | 414 void patchReplacementInstruction(Instruction *I, Value *Repl);
|
| /freebsd-12.1/contrib/llvm/tools/lldb/tools/driver/ |
| H A D | Options.td | 58 // Repl options.
|
| /freebsd-12.1/contrib/llvm/lib/Target/X86/AsmParser/ |
| H A D | X86AsmParser.cpp | 2570 const char *Repl = StringSwitch<const char *>(Name) in ParseInstruction() local 2575 static_cast<X86Operand &>(*Operands[0]).setTokenValue(Repl); in ParseInstruction() 2889 const char *Repl = StringSwitch<const char *>(Op.getToken()) in MatchFPUWaitAlias() local 2899 if (Repl) { in MatchFPUWaitAlias() 2905 Operands[0] = X86Operand::CreateToken(Repl, IDLoc); in MatchFPUWaitAlias()
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/CodeGen/ |
| H A D | CGDebugInfo.cpp | 4438 llvm::Metadata *Repl; in finalize() local 4445 Repl = P.second; in finalize() 4447 Repl = It->second; in finalize() 4449 if (auto *GVE = dyn_cast_or_null<llvm::DIGlobalVariableExpression>(Repl)) in finalize() 4450 Repl = GVE->getVariable(); in finalize() 4451 DBuilder.replaceTemporary(std::move(FwdDecl), cast<llvm::MDNode>(Repl)); in finalize()
|
| /freebsd-12.1/contrib/llvm/lib/Transforms/Utils/ |
| H A D | Local.cpp | 2365 void llvm::patchReplacementInstruction(Instruction *I, Value *Repl) { in patchReplacementInstruction() argument 2366 auto *ReplInst = dyn_cast<Instruction>(Repl); in patchReplacementInstruction()
|
| /freebsd-12.1/contrib/llvm/lib/CodeGen/ |
| H A D | CodeGenPrepare.cpp | 4499 Value *Repl = Addr; in optimizeMemoryInst() local 4834 MemoryInst->replaceUsesOfWith(Repl, SunkAddr); in optimizeMemoryInst() 4841 if (Repl->use_empty()) { in optimizeMemoryInst() 4848 RecursivelyDeleteTriviallyDeadInstructions(Repl, TLInfo); in optimizeMemoryInst()
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/Sema/ |
| H A D | SemaTemplate.cpp | 124 NamedDecl *Repl = isAcceptableTemplateName(Context, Orig, in FilterAcceptableTemplateNames() local 126 if (!Repl) in FilterAcceptableTemplateNames() 128 else if (Repl != Orig) { in FilterAcceptableTemplateNames() 138 if (ClassTemplateDecl *ClassTmpl = dyn_cast<ClassTemplateDecl>(Repl)) in FilterAcceptableTemplateNames() 149 filter.replace(Repl, AS_public); in FilterAcceptableTemplateNames()
|