|
reference, declaration → definition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced
|
Declarations
include/llvm/IR/Value.h 268 StringRef getName() const;
References
examples/Kaleidoscope/BuildingAJIT/Chapter1/toy.cpp 1073 AllocaInst *Alloca = CreateEntryBlockAlloca(TheFunction, Arg.getName());
1079 NamedValues[Arg.getName()] = Alloca;
examples/Kaleidoscope/BuildingAJIT/Chapter2/toy.cpp 1073 AllocaInst *Alloca = CreateEntryBlockAlloca(TheFunction, Arg.getName());
1079 NamedValues[Arg.getName()] = Alloca;
examples/Kaleidoscope/BuildingAJIT/Chapter3/toy.cpp 1072 AllocaInst *Alloca = CreateEntryBlockAlloca(TheFunction, Arg.getName());
1078 NamedValues[Arg.getName()] = Alloca;
examples/Kaleidoscope/BuildingAJIT/Chapter4/toy.cpp 1065 AllocaInst *Alloca = CreateEntryBlockAlloca(TheFunction, Arg.getName());
1071 NamedValues[Arg.getName()] = Alloca;
1105 F->setName(F->getName() + Suffix);
examples/Kaleidoscope/BuildingAJIT/Chapter5/toy.cpp 1089 AllocaInst *Alloca = CreateEntryBlockAlloca(TheFunction, Arg.getName());
1095 NamedValues[Arg.getName()] = Alloca;
1129 F->setName(F->getName() + Suffix);
examples/Kaleidoscope/Chapter3/toy.cpp 500 NamedValues[Arg.getName()] = &Arg;
examples/Kaleidoscope/Chapter4/toy.cpp 527 NamedValues[Arg.getName()] = &Arg;
examples/Kaleidoscope/Chapter5/toy.cpp 801 NamedValues[Arg.getName()] = &Arg;
examples/Kaleidoscope/Chapter6/toy.cpp 917 NamedValues[Arg.getName()] = &Arg;
examples/Kaleidoscope/Chapter7/toy.cpp 1078 AllocaInst *Alloca = CreateEntryBlockAlloca(TheFunction, Arg.getName());
1084 NamedValues[Arg.getName()] = Alloca;
examples/Kaleidoscope/Chapter8/toy.cpp 1077 AllocaInst *Alloca = CreateEntryBlockAlloca(TheFunction, Arg.getName());
1083 NamedValues[Arg.getName()] = Alloca;
examples/Kaleidoscope/Chapter9/toy.cpp 1265 AllocaInst *Alloca = CreateEntryBlockAlloca(TheFunction, Arg.getName());
1269 SP, Arg.getName(), ++ArgIdx, Unit, LineNo, KSDbgInfo.getDoubleTy(),
1280 NamedValues[Arg.getName()] = Alloca;
include/llvm/Analysis/BlockFrequencyInfoImpl.h 577 return BB->getName().str();
1034 LLVM_DEBUG(dbgs() << "\nblock-frequency: " << F.getName()
1036 << std::string(F.getName().size(), '=') << "\n");
1341 OS << "block-frequency-info: " << F->getName() << "\n";
1379 return G->getFunction()->getName();
1418 OS << Node->getName() << "[" << layout_order << "] : ";
1420 OS << Node->getName() << " : ";
include/llvm/Analysis/CFGPrinter.h 59 return "CFG for '" + F->getName().str() + "' function";
64 if (!Node->getName().empty())
65 return Node->getName().str();
80 if (Node->getName().empty()) {
include/llvm/Analysis/CGSCCPassManager.h 647 << CS.getParent()->getParent()->getName() << " to "
648 << F->getName() << "\n");
include/llvm/Analysis/DOTGraphTraitsPass.h 56 std::string Title = GraphName + " for '" + F.getName().str() + "' function";
97 std::string Filename = Name + "." + F.getName().str() + ".dot";
104 std::string Title = GraphName + " for '" + F.getName().str() + "' function";
include/llvm/Analysis/LazyCallGraph.h 336 StringRef getName() const { return F->getName(); }
413 return OS << N.F->getName();
include/llvm/Analysis/LoopInfo.h 830 return Header->getName();
include/llvm/Analysis/ObjCARCAnalysisUtils.h 229 StringRef Name = GV->getName();
include/llvm/Analysis/RegionInfo.h 1023 return OS << Node.template getNodeAs<BlockT>()->getName();
include/llvm/Analysis/RegionInfoImpl.h 234 if (getEntry()->getName().empty()) {
239 entryName = getEntry()->getName();
242 if (getExit()->getName().empty()) {
247 exitName = getExit()->getName();
505 OS << BB->getName() << ", "; // TODO: remove the last ","
include/llvm/Analysis/SparsePropagation.h 262 LLVM_DEBUG(dbgs() << "Marking Block Executable: " << BB->getName() << "\n");
272 LLVM_DEBUG(dbgs() << "Marking Edge Executable: " << Source->getName()
273 << " -> " << Dest->getName() << "\n");
include/llvm/Analysis/TargetTransformInfoImpl.h 183 StringRef Name = F->getName();
include/llvm/Analysis/Utils/Local.h 59 GEP->getName()+".offs");
72 Result = Builder->CreateAdd(Result, Scale, GEP->getName()+".offs");
82 Op = Builder->CreateIntCast(Op, IntPtrTy, true, Op->getName()+".c");
86 GEP->getName() + ".idx", false /*NUW*/,
91 Result = Builder->CreateAdd(Op, Result, GEP->getName()+".offs");
include/llvm/ExecutionEngine/Orc/CompileOnDemandLayer.h 403 auto MangledName = mangle(F.getName(), DL);
481 std::string FName = mangle(F->getName(), DL);
492 F->getLinkage(), F->getName(),
590 std::string CalledFnName = mangle(F.getName(), SrcM.getDataLayout());
597 std::string FnName = mangle(SubF->getName(), SrcM.getDataLayout());
637 NewName += F->getName();
657 F->getName() + "$stub_ptr", nullptr);
669 GlobalValue::ExternalLinkage, A->getName(),
673 nullptr, A->getName(), nullptr,
include/llvm/IR/ModuleSummaryIndex.h 188 return haveGVs() ? getRef()->second.U.GV->getName()
include/llvm/IR/PassManager.h 507 dbgs() << "Running pass: " << P->name() << " on " << IR.getName()
865 dbgs() << "Invalidating all non-preserved analyses for: " << IR.getName()
910 << " on " << IR.getName() << "\n";
951 dbgs() << "Running analysis: " << P.name() << " on " << IR.getName()
992 << " on " << IR.getName() << "\n";
include/llvm/ProfileData/SampleProf.h 504 return F.getName().split('.').first;
506 StringRef Cand(F.getName());
518 return F.getName();
522 return F.getName();
include/llvm/Transforms/IPO/DeadArgumentElimination.h 64 " of function " + F->getName())
lib/Analysis/AliasAnalysisEvaluator.cpp 136 errs() << "Function: " << F.getName() << ": " << Pointers.size()
lib/Analysis/AliasSetTracker.cpp 759 errs() << "Alias sets for function '" << F.getName() << "':\n";
lib/Analysis/AssumptionCache.cpp 232 OS << "Cached assumptions for function: " << F.getName() << "\n";
lib/Analysis/BlockFrequencyInfo.cpp 191 F.getName().equals(ViewBlockFreqFuncName))) {
196 F.getName().equals(PrintBlockFreqFuncName))) {
338 << "'" << F.getName() << "':"
lib/Analysis/BranchProbabilityInfo.cpp 924 LLVM_DEBUG(dbgs() << "set edge " << Src->getName() << " -> "
934 OS << "edge " << Src->getName() << " -> " << Dst->getName()
934 OS << "edge " << Src->getName() << " -> " << Dst->getName()
951 LLVM_DEBUG(dbgs() << "---- Branch Probability Info : " << F.getName()
972 LLVM_DEBUG(dbgs() << " " << BB->getName());
981 LLVM_DEBUG(dbgs() << "Computing probabilities for " << BB->getName()
1011 F.getName().equals(PrintBranchProbFuncName))) {
1053 << "'" << F.getName() << "':"
lib/Analysis/CFGPrinter.cpp 95 if (!CFGFuncName.empty() && !F.getName().contains(CFGFuncName))
98 (CFGDotFilenamePrefix + "." + F.getName() + ".dot").str();
177 if (!CFGFuncName.empty() && !getName().contains(CFGFuncName))
179 ViewGraph(this, "cfg" + getName());
188 if (!CFGFuncName.empty() && !getName().contains(CFGFuncName))
190 ViewGraph(this, "cfg" + getName(), true);
lib/Analysis/CGSCCPassManager.cpp 258 FAM->clear(N.getFunction(), N.getFunction().getName());
lib/Analysis/CallGraph.cpp 101 return LF->getName() < RF->getName();
101 return LF->getName() < RF->getName();
163 OS << "Call graph node for function: '" << F->getName() << "'";
172 OS << "function '" << FI->getName() <<"'\n";
lib/Analysis/CallGraphSCCPass.cpp 173 dumpPassInfo(P, EXECUTION_MSG, ON_FUNCTION_MSG, F->getName());
331 << Callee->getName() << "'\n");
652 if (!F->isDeclaration() && isFunctionInPrintList(F->getName())) {
694 Desc += F->getName();
lib/Analysis/CallPrinter.cpp 31 return Func->getName();
lib/Analysis/ConstantFolding.cpp 1489 StringRef Name = F->getName();
2475 StringRef Name = F->getName();
lib/Analysis/DDG.cpp 136 : DependenceGraphInfo(F.getName().str(), D) {
144 : DependenceGraphInfo(Twine(L.getHeader()->getParent()->getName() + "." +
145 L.getHeader()->getName())
200 OS << "'DDG' for loop '" << L.getHeader()->getName() << "':\n";
lib/Analysis/Delinearization.cpp 72 O << "Delinearization on function " << F->getName() << ":\n";
96 O << "In Loop with Header: " << L->getHeader()->getName() << "\n";
lib/Analysis/DependenceAnalysis.cpp 206 OS << "'Dependence Analysis' for function '" << F.getName() << "':\n";
lib/Analysis/DivergenceAnalysis.cpp 279 LLVM_DEBUG(dbgs() << "\tpropJoinDiv " << JoinBlock.getName() << "\n");
300 LLVM_DEBUG(dbgs() << "propBranchDiv " << Term.getParent()->getName() << "\n");
463 OS << "Divergence of kernel " << DA.getFunction().getName() << " {\n";
lib/Analysis/DomTreeUpdater.cpp 469 auto S = From->getName();
478 auto S = To->getName();
514 OS << BB->getName() << "(";
526 OS << BB->getName() << "(";
lib/Analysis/DominanceFrontier.cpp 92 OS << "DominanceFrontier for function: " << F.getName() << "\n";
lib/Analysis/EHPersonalities.cpp 26 return StringSwitch<EHPersonality>(F->getName())
93 << F.getName() << "\n");
102 dbgs() << "Visiting " << Visiting->getName() << ", "
103 << Color->getName() << "\n");
117 dbgs() << " Assigned color \'" << Color->getName()
118 << "\' to block \'" << Visiting->getName()
lib/Analysis/InlineCost.cpp 2073 LLVM_DEBUG(llvm::dbgs() << " Analyzing call of " << Callee->getName()
2074 << "... (caller:" << Caller->getName() << ")\n");
lib/Analysis/LazyCallGraph.cpp 150 return TLI.getLibFunc(F, LF) || TLI.isFunctionVectorizable(F.getName());
171 LLVM_DEBUG(dbgs() << " Adding '" << F.getName()
182 LLVM_DEBUG(dbgs() << " Adding '" << F->getName()
183 << "' with alias '" << A.getName()
1746 OS << " Edges in function: " << N.getFunction().getName() << "\n";
1749 << E.getFunction().getName() << "\n";
1758 OS << " " << N.getFunction().getName() << "\n";
1791 std::string Name = "\"" + DOT::EscapeString(N.getFunction().getName()) + "\"";
1795 << DOT::EscapeString(E.getFunction().getName()) << "\"";
lib/Analysis/LazyValueInfo.cpp 396 << BV.first->getName() << "\n");
548 dbgs() << "POP " << *e.second << " in " << e.first->getName() << " = "
600 LLVM_DEBUG(dbgs() << " reuse BB '" << BB->getName() << "' val="
661 LLVM_DEBUG(dbgs() << " compute BB '" << BB->getName()
759 LLVM_DEBUG(dbgs() << " compute BB '" << BB->getName()
803 LLVM_DEBUG(dbgs() << " compute BB '" << BB->getName()
1036 LLVM_DEBUG(dbgs() << " compute BB '" << BB->getName()
1089 LLVM_DEBUG(dbgs() << " compute BB '" << BB->getName()
1157 LLVM_DEBUG(dbgs() << " compute BB '" << BB->getName()
1184 LLVM_DEBUG(dbgs() << " compute BB '" << BB->getName()
1554 << BB->getName() << "'\n");
1569 LLVM_DEBUG(dbgs() << "LVI Getting value " << *V << " at '" << CxtI->getName()
1588 << FromBB->getName() << "' to '" << ToBB->getName()
1588 << FromBB->getName() << "' to '" << ToBB->getName()
2053 dbgs() << "LVI for function '" << F.getName() << "':\n";
lib/Analysis/LegacyDivergenceAnalysis.cpp 347 LLVM_DEBUG(dbgs() << "\nAfter divergence analysis on " << F.getName()
397 OS << "\n " << BB.getName() << ":\n";
lib/Analysis/LoopAccessAnalysis.cpp 1738 << TheLoop->getHeader()->getParent()->getName() << ": "
1739 << TheLoop->getHeader()->getName() << '\n');
1847 TLI->isFunctionVectorizable(Call->getCalledFunction()->getName()))
2414 OS.indent(2) << L->getHeader()->getName() << ":\n";
lib/Analysis/LoopPass.cpp 52 isFunctionInPrintList((*BBI)->getParent()->getName())) {
216 CurrentLoop->getHeader()->getName());
282 : CurrentLoop->getHeader()->getName(),
405 << F->getName() << "\n");
lib/Analysis/MemoryBuiltins.cpp 138 StringRef FnName = Callee->getName();
469 StringRef FnName = Callee->getName();
lib/Analysis/MemorySSA.cpp 2213 OS << BB->getName();
2286 OS << "MemorySSA for function: " << F.getName() << "\n";
lib/Analysis/ModuleSummaryAnalysis.cpp 494 if (Fn && Fn->getName() != "__cxa_pure_virtual")
lib/Analysis/MustExecute.cpp 361 dbgs() << " [F: " << CI->getFunction()->getName() << "] " << *CI
429 OS << L->getHeader()->getName();
lib/Analysis/PHITransAddr.cpp 388 InVal->getName() + ".phi.trans.insert",
408 InVal->getName() + ".phi.trans.insert", PredBB->getTerminator());
lib/Analysis/PhiValues.cpp 183 OS << "PHI Values for function: " << F.getName() << "\n";
lib/Analysis/PostDominators.cpp 80 OS << "PostDominatorTree for function: " << F.getName() << "\n";
lib/Analysis/ProfileSummaryInfo.cpp 382 OS << F.getName();
lib/Analysis/RegionInfo.cpp 204 OS << "Region Tree for function: " << F.getName() << "\n";
lib/Analysis/RegionPass.cpp 161 LLVM_DEBUG(dbgs() << "\nRegion tree of function " << F.getName()
295 << "' on function " << F.getName() << "\n");
lib/Analysis/RegionPrinter.cpp 237 Twine(GraphName) + " for '" + F->getName() + "' function");
lib/Analysis/ScalarEvolution.cpp 611 return LGV->getName().compare(RGV->getName());
611 return LGV->getName().compare(RGV->getName());
11503 OS << " exit count for " << ExitingBlock->getName() << ": "
lib/Analysis/ScalarEvolutionExpander.cpp 75 Ret = CastInst::Create(Op, V, Ty, V->getName(), &*IP);
lib/Analysis/StackSafetyAnalysis.cpp 70 StringRef getName() const { return Callee->getName(); }
107 StringRef getName() const { return AI->getName(); }
121 StringRef getName() const { return Arg ? Arg->getName() : "<N/A>"; }
169 StringRef getName() const { return GV->getName(); }
371 LLVM_DEBUG(dbgs() << "[StackSafety] " << F.getName() << "\n");
588 OS << "'Stack Safety Local Analysis' for function '" << F.getName() << "'\n";
lib/Analysis/SyncDependenceAnalysis.cpp 168 Out << Block->getName() << " : ";
173 Out << (DefBlock ? DefBlock->getName() : "<null>") << "\n";
242 dbgs() << "- " << RpoBlock->getName() << "\n";
259 LLVM_DEBUG(dbgs() << "SDA::joins. visiting " << Block->getName() << "\n");
lib/Analysis/TargetLibraryInfo.cpp 1487 return getLibFunc(FDecl.getName(), F) &&
lib/Analysis/Trace.cpp 38 O << "; Trace from function " << F->getName() << ", blocks:\n";
lib/AsmParser/LLParser.cpp 1005 assert(GA->getName() == Name && "Should not be a name conflict!");
2998 if (Inst->getName() != NameStr)
5515 if (ArgIt->getName() != ArgList[i].Name)
5543 ID.StrVal = F.getName();
lib/Bitcode/Reader/BitcodeReader.cpp 2027 GO->setComdat(TheModule->getOrInsertComdat(V->getName()));
lib/Bitcode/Writer/BitcodeWriter.cpp 1268 Vals.push_back(addToStrtab(GV.getName()));
1269 Vals.push_back(GV.getName().size());
1313 Vals.push_back(addToStrtab(F.getName()));
1314 Vals.push_back(F.getName().size());
1349 Vals.push_back(addToStrtab(A.getName()));
1350 Vals.push_back(A.getName().size());
1372 Vals.push_back(addToStrtab(I.getName()));
1373 Vals.push_back(I.getName().size());
4572 Vals.push_back(StrtabBuilder.add(GV.getName()));
4573 Vals.push_back(GV.getName().size());
4586 Vals.push_back(StrtabBuilder.add(F.getName()));
4587 Vals.push_back(F.getName().size());
4600 Vals.push_back(StrtabBuilder.add(A.getName()));
4601 Vals.push_back(A.getName().size());
4614 Vals.push_back(StrtabBuilder.add(I.getName()));
4615 Vals.push_back(I.getName().size());
lib/Bitcode/Writer/ValueEnumerator.cpp 483 OS << "Value: " << V->getName();
494 OS << " " << U->getName();
lib/CodeGen/Analysis.cpp 163 if (Var && Var->getName() == "llvm.eh.catch.all.value") {
lib/CodeGen/AsmPrinter/AsmPrinter.cpp 656 << GlobalValue::dropLLVMManglingEscape(F.getName()) << '\n';
1611 !GV.hasDLLImportStorageClass() && !GV.getName().startswith("llvm.") &&
1928 if (GV->getName() == "llvm.used") {
1943 if (GV->getName() == "llvm.global_ctors") {
1950 if (GV->getName() == "llvm.global_dtors") {
lib/CodeGen/AsmPrinter/CodeViewDebug.cpp 946 std::string FuncName = GlobalValue::dropLLVMManglingEscape(GV->getName());
1009 FuncName = GlobalValue::dropLLVMManglingEscape(GV->getName());
3047 Twine(GlobalValue::dropLLVMManglingEscape(GV->getName())));
lib/CodeGen/AsmPrinter/DwarfDebug.cpp 762 << (CalleeDecl ? CalleeDecl->getName()
lib/CodeGen/AsmPrinter/OcamlGCPrinter.cpp 145 report_fatal_error("Function '" + FI.getFunction().getName() +
154 Twine(FI.getFunction().getName()));
161 report_fatal_error("Function '" + FI.getFunction().getName() +
lib/CodeGen/AsmPrinter/WinException.cpp 101 GlobalValue::dropLLVMManglingEscape(MF->getFunction().getName());
180 StringRef FuncLinkageName = GlobalValue::dropLLVMManglingEscape(F.getName());
276 StringRef FuncLinkageName = GlobalValue::dropLLVMManglingEscape(F.getName());
564 GlobalValue::dropLLVMManglingEscape(MF->getFunction().getName());
663 StringRef FuncLinkageName = GlobalValue::dropLLVMManglingEscape(F.getName());
969 StringRef FLinkageName = GlobalValue::dropLLVMManglingEscape(F.getName());
986 StringRef PerName = Per->getName();
lib/CodeGen/CodeGenPrepare.cpp 3438 CurrentSelect->getName(), CurrentSelect, CurrentSelect);
6615 << ToBePromoted->getParent()->getName()
6616 << ") than the transition (" << Parent->getName()
7029 GEPI->getName(), GEPI);
7223 BasicBlock::Create(BB.getContext(), BB.getName() + ".cond.split",
lib/CodeGen/GCMetadata.cpp 111 OS << "GC roots for " << FD->getFunction().getName() << ":\n";
117 OS << "GC safe points for " << FD->getFunction().getName() << ":\n";
lib/CodeGen/GlobalMerge.cpp 485 FirstExternalName = Globals[j]->getName();
525 std::string Name = Globals[k]->getName();
630 if (GV.getName().startswith("llvm.") ||
631 GV.getName().startswith(".llvm."))
lib/CodeGen/HardwareLoops.cpp 178 LLVM_DEBUG(dbgs() << "HWLoops: Running on " << F.getName() << "\n");
364 << " - Expanded Count in " << BB->getName() << "\n"
366 << BeginBB->getName() << "\n");
lib/CodeGen/IndirectBrExpandPass.cpp 182 Twine(IBr->getAddress()->getName()) + ".switch_cast", IBr);
lib/CodeGen/InterleavedAccessPass.cpp 449 LLVM_DEBUG(dbgs() << "*** " << getPassName() << ": " << F.getName() << "\n");
lib/CodeGen/InterleavedLoadCombinePass.cpp 1322 LLVM_DEBUG(dbgs() << "*** " << getPassName() << ": " << F.getName()
lib/CodeGen/IntrinsicLowering.cpp 47 NewCI->setName(CI->getName());
245 Callee->getName() + "'!");
248 Callee->getName()+"'!");
301 NotSrc->setName(Src->getName() + ".not");
504 Op = CallInst::Create(Int, Op, CI->getName(), CI);
lib/CodeGen/LowerEmuTLS.cpp 46 to->setComdat(M.getOrInsertComdat(to->getName()));
88 std::string EmuTlsVarName = ("__emutls_v." + GV->getName()).str();
139 std::string EmuTlsTmplName = ("__emutls_t." + GV->getName()).str();
lib/CodeGen/MIRParser/MIParser.cpp 1692 Name = Alloca->getName();
lib/CodeGen/MIRParser/MIRParser.cpp 702 "' isn't defined in the function '" + F.getName() +
lib/CodeGen/MIRPrinter.cpp 394 Alloca->hasName() ? Alloca->getName() : "<unnamed alloca>";
611 OS << "." << BB->getName();
lib/CodeGen/MachineBasicBlock.cpp 258 return LBB->getName();
269 Name += getBasicBlock()->getName();
307 OS << "." << BB->getName();
lib/CodeGen/MachineBlockPlacement.cpp 3079 F->getFunction().getName().equals(ViewBlockFreqFuncName))) {
lib/CodeGen/MachineFunction.cpp 479 return getFunction().getName();
542 OSS << ": " << BB->getName();
lib/CodeGen/MachineFunctionPass.cpp 52 << " pass are not met by function " << F.getName() << ".\n"
88 << ": Function: " << NV("Function", F.getName()) << ": "
lib/CodeGen/MachineOperand.cpp 442 printLLVMNameWithoutPrefix(OS, BB.getName());
476 printLLVMNameWithoutPrefix(OS, V.getName());
518 Name = Alloca->getName();
lib/CodeGen/MachineOutliner.cpp 1168 Unit /* Context */, F->getName(), StringRef(MangledNameStream.str()),
1363 FunctionToInstrCount[F.getName().str()] = MF->getInstructionCount();
1381 std::string Fname = F.getName();
1405 << DiagnosticInfoOptimizationBase::Argument("Function", F.getName())
lib/CodeGen/PreISelIntrinsicLowering.cpp 86 NewCI->setName(CI->getName());
99 if (F.getName().startswith("llvm.load.relative.")) {
lib/CodeGen/RegAllocPBQP.cpp 820 F.getParent()->getModuleIdentifier() + "." + F.getName().str();
lib/CodeGen/RegisterUsageInfo.cpp 85 return A->first->getName() < B->first->getName();
85 return A->first->getName() < B->first->getName();
89 OS << FPRMPair->first->getName() << " "
lib/CodeGen/SafeStack.cpp 575 Arg->getName() + ".unsafe-byval");
596 std::string Name = std::string(AI->getName()) + ".unsafe";
854 LLVM_DEBUG(dbgs() << "[SafeStack] Function: " << F.getName() << "\n");
lib/CodeGen/SafeStackColoring.cpp 106 LLVM_DEBUG(dbgs() << " " << InstNo << ": BB " << BB->getName() << "\n");
lib/CodeGen/SelectionDAG/FastISel.cpp 1622 LibInfo->getLibFunc(F->getName(), Func) &&
lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp 6677 GlobalValue::dropLLVMManglingEscape(Fn->getName()), IdxVal);
lib/CodeGen/SelectionDAG/SelectionDAGDumper.cpp 618 OS << LBB->getName() << " ";
lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp 221 << IS.MF->getFunction().getName() << "\n");
238 << IS.MF->getFunction().getName() << "\n");
446 LLVM_DEBUG(dbgs() << "\n\n\n=== " << Fn.getName() << "\n");
793 FuncInfo->MBB->getBasicBlock()->getName());
802 (MF->getName() + ":" + FuncInfo->MBB->getBasicBlock()->getName()).str();
lib/CodeGen/SelectionDAG/TargetLowering.cpp 6830 std::string NameString = ("__emutls_v." + GA->getGlobal()->getName()).str();
lib/CodeGen/ShadowStackGCLowering.cpp 147 "__gc_" + F.getName());
162 return StructType::create(EltTys, ("gc_stackentry." + F.getName()).str());
lib/CodeGen/SjLjEHPrepare.cpp 249 TrueValue, &AI, UndefValue, AI.getName() + ".tmp", &*AfterAllocaInsPt);
312 << UnwindBlock->getName() << "\n");
lib/CodeGen/StackColoring.cpp 675 << " with allocation: " << Allocation->getName() << "\n");
742 << " with allocation: " << Allocation->getName());
lib/CodeGen/StackProtector.cpp 533 B.CreateCall(StackChkFail, B.CreateGlobalStringPtr(F->getName(), "SSH"));
lib/CodeGen/TargetLoweringObjectFileImpl.cpp 951 report_fatal_error("Global variable '" + GO->getName() +
970 report_fatal_error("Global variable '" + GO->getName() +
1375 raw_svector_ostream(Name) << '$' << ComdatGV->getName();
1590 RHS->getName() != "__ImageBase" || !RHS->hasExternalLinkage() ||
lib/CodeGen/TargetRegisterInfo.cpp 457 LLVM_DEBUG(dbgs() << "Can't realign function's stack: " << F.getName()
lib/CodeGen/WinEHPrepare.cpp 282 LLVM_DEBUG(dbgs() << "TryLow[" << BB->getName() << "]: " << TryLow << '\n');
283 LLVM_DEBUG(dbgs() << "TryHigh[" << BB->getName() << "]: " << TryHigh
285 LLVM_DEBUG(dbgs() << "CatchHigh[" << BB->getName() << "]: " << CatchHigh
298 << BB->getName() << '\n');
364 << CatchPadBB->getName() << '\n');
400 << BB->getName() << '\n');
745 dbgs() << " Cloning block \'" << BB->getName()
746 << "\' for funclet \'" << FuncletPadBB->getName()
751 CloneBasicBlock(BB, VMap, Twine(".for.", FuncletPadBB->getName()));
779 dbgs() << " Assigned color \'" << FuncletPadBB->getName()
780 << "\' to block \'" << NewBlock->getName()
792 dbgs() << " Removed color \'" << FuncletPadBB->getName()
793 << "\' from block \'" << OldBlock->getName()
921 SSAUpdate.Initialize(OldI->getType(), OldI->getName());
1080 Twine(PN->getName(), ".wineh.spillslot"),
1083 Twine(PN->getName(), ".wineh.reload"),
1167 Twine(V->getName(), ".wineh.spillslot"),
1226 Twine(V->getName(), ".wineh.reload"),
1233 Twine(V->getName(), ".wineh.reload"),
lib/ExecutionEngine/ExecutionEngine.cpp 202 Mangler::getNameWithPrefix(FullName, GV->getName(), DL);
1204 LinkedGlobalsMap[std::make_pair(GV.getName(), GV.getType())];
1232 LinkedGlobalsMap[std::make_pair(GV.getName(), GV.getType())]) {
1247 sys::DynamicLibrary::SearchForAddressOfSymbol(GV.getName()))
1251 +GV.getName());
1262 LinkedGlobalsMap[std::make_pair(GV->getName(), GV->getType())];
1275 LinkedGlobalsMap[std::make_pair(GV.getName(), GV.getType())])
lib/ExecutionEngine/Interpreter/ExternalFunctions.cpp 108 ExtName += ("_" + F->getName()).str();
113 FnPtr = (*FuncNames)[("lle_X_" + F->getName()).str()];
116 ("lle_X_" + F->getName()).str());
293 if (F->getName() == "__main")
298 F->getName());
lib/ExecutionEngine/Orc/CompileOnDemandLayer.cpp 38 std::string AliasName = A.getName();
146 auto Name = Mangle(GV.getName());
290 SymbolFlags[Mangle(GV->getName())] =
lib/ExecutionEngine/Orc/ExecutionUtils.cpp 114 Mangle(CtorDtor.Func->getName()));
lib/ExecutionEngine/Orc/IndirectionUtils.cpp 265 else if (GV.getName().startswith("\01L"))
266 GV.setName("__" + GV.getName().substr(1) + "." + Twine(NextId++));
268 GV.setName("__orc_lcl." + GV.getName() + "." + Twine(NextId++));
290 F.getLinkage(), F.getName(), &Dst);
327 GV.getLinkage(), nullptr, GV.getName(), nullptr,
358 OrigA.getLinkage(), OrigA.getName(), &Dst);
lib/ExecutionEngine/Orc/Layer.cpp 37 auto MangledName = Mangle(G.getName());
lib/ExecutionEngine/Orc/OrcCBindingsStack.h 299 CtorNames.push_back(mangle(Ctor.Func->getName()));
301 DtorNames.push_back(mangle(Dtor.Func->getName()));
lib/ExecutionEngine/Orc/OrcMCJITReplacement.h 354 uint64_t FAddr = getSymbolAddress(F->getName());
lib/ExecutionEngine/Orc/SpeculateAnalyses.cpp 59 CallesNames.insert(DirectCall->getName());
123 CallerAndCalles.insert({F.getName(), std::move(Calles)});
302 CallerAndCalles.insert({F.getName(), std::move(Calles)});
lib/ExecutionEngine/Orc/Speculation.cpp 98 "__orc_speculate.guard.for." + Fn.getName());
lib/IR/AsmWriter.cpp 458 PrintLLVMName(OS, V->getName(),
3254 if (GO.getName() == C->getName())
3570 PrintLLVMName(Out, BB->getName(), LabelPrefix);
lib/IR/AutoUpgrade.cpp 33 static void rename(GlobalValue *GV) { GV->setName(GV->getName() + ".old"); }
494 StringRef Name = F->getName();
627 if (F->getName() != Intrinsic::getName(ID, ObjectPtr)) {
641 if (F->getName() != Intrinsic::getName(ID, ObjectPtr)) {
663 if (F->getName() != Intrinsic::getName(Intrinsic::masked_load, Tys)) {
674 if (F->getName() != Intrinsic::getName(Intrinsic::masked_store, Tys)) {
686 if (F->getName() != Intrinsic::getName(Intrinsic::masked_gather, Tys)) {
696 if (F->getName() != Intrinsic::getName(Intrinsic::masked_scatter, Tys)) {
777 F->getName() != Intrinsic::getName(Intrinsic::objectsize, Tys)) {
790 if (F->getName() != Intrinsic::getName(Intrinsic::prefetch, Tys)) {
838 if (!(GV->hasName() && (GV->getName() == "llvm.global_ctors" ||
839 GV->getName() == "llvm.global_dtors")) ||
865 NewInit, GV->getName());
1656 StringRef Name = F->getName();
3487 (CI->getCalledFunction()->getName() != NewFn->getName()) &&
3487 (CI->getCalledFunction()->getName() != NewFn->getName()) &&
3641 std::string Name = CI->getName();
3716 std::string Name = CI->getName();
3913 NewCall->setName(CI->getName());
lib/IR/Core.cpp 821 *Length = V->getName().size();
822 return V->getName().data();
830 return unwrap(Val)->getName().data();
2575 return unwrap(BB)->getName().data();
lib/IR/DebugInfoMetadata.cpp 665 return F->getName() == Name;
lib/IR/DiagnosticInfo.cpp 175 Val = GlobalValue::dropLLVMManglingEscape(V->getName());
336 OS << getLocationStr() << ": in function " << getFunction().getName() << ' '
lib/IR/DiagnosticPrinter.cpp 100 Stream << V.getName();
lib/IR/Dominators.cpp 336 OS << "DominatorTree for function: " << F.getName() << "\n";
lib/IR/Function.cpp 263 HasLLVMReservedName = getName().startswith("llvm.");
338 Name = A.getName();
567 StringRef Name = getName();
1408 StringRef Name = F->getName();
lib/IR/Globals.cpp 161 return getGlobalIdentifier(getName(), getLinkage(),
lib/IR/IRPrintingPasses.cpp 37 if (llvm::isFunctionInPrintList(F.getName())) {
55 if (isFunctionInPrintList(F.getName())) {
57 OS << Banner << " (function: " << F.getName() << ")\n" << *F.getParent();
lib/IR/Instructions.cpp 454 Args, OpB, CI->getName(), InsertPt);
479 << getParent()->getParent()->getName()
766 Args, OpB, II->getName(), InsertPt);
851 Args, OpB, CBI->getName(), InsertPt);
lib/IR/LegacyPassManager.cpp 158 FunctionToInstrCount[F.getName().str()] =
184 auto It = FunctionToInstrCount.find(MaybeChangedFn.getName());
189 FunctionToInstrCount[MaybeChangedFn.getName()] =
284 EmitFunctionSizeChangedRemark(F->getName().str());
1397 dumpPassInfo(BP, EXECUTION_MSG, ON_BASICBLOCK_MSG, BB.getName());
1425 BB.getName());
1432 removeDeadPasses(BP, BB.getName(), ON_BASICBLOCK_MSG);
1632 llvm::TimeTraceScope FunctionScope("OptFunction", F.getName());
1640 dumpPassInfo(FP, EXECUTION_MSG, ON_FUNCTION_MSG, F.getName());
1667 dumpPassInfo(FP, MODIFICATION_MSG, ON_FUNCTION_MSG, F.getName());
1674 removeDeadPasses(FP, F.getName(), ON_FUNCTION_MSG);
lib/IR/Mangler.cpp 134 StringRef Name = GV->getName();
lib/IR/Pass.cpp 163 return "function (" + F.getName().str() + ")";
173 << F.getName() << "\n");
199 return "basic block (" + BB.getName().str() + ") in function (" +
200 BB.getParent()->getName().str() + ")";
214 << "' on function " << F->getName() << "\n");
lib/IR/RemarkStreamer.cpp 89 GlobalValue::dropLLVMManglingEscape(Diag.getFunction().getName());
lib/IR/SafepointIRVerifier.cpp 714 << " from Contribution of " << BB->getName() << "\n");
722 << BB->getName() << "\n");
775 LLVM_DEBUG(dbgs() << "Transfered block " << BB->getName() << " from ";
885 LLVM_DEBUG(dbgs() << "Verifying gc pointers in function: " << F.getName()
888 dbgs() << "Verifying gc pointers in function: " << F.getName() << "\n";
899 dbgs() << "No illegal uses found by SafepointIRVerifier in: " << F.getName()
lib/IR/Value.cpp 86 dbgs() << "While deleting: " << *VTy << " %" << getName() << "\n";
238 if (getName() == NameRef)
912 dbgs() << "While deleting: " << *V->getType() << " %" << V->getName()
969 << Old->getName() << " to " << *New->getType() << " %"
970 << New->getName() << "\n";
lib/IR/ValueSymbolTable.cpp 83 SmallString<256> UniqueName(V->getName().begin(), V->getName().end());
83 SmallString<256> UniqueName(V->getName().begin(), V->getName().end());
lib/IR/Verifier.cpp 341 *OS << "Basic Block in function '" << F.getName()
637 if (GV.hasName() && (GV.getName() == "llvm.global_ctors" ||
638 GV.getName() == "llvm.global_dtors")) {
663 if (GV.hasName() && (GV.getName() == "llvm.used" ||
664 GV.getName() == "llvm.compiler.used")) {
2160 bool isLLVMdotName = F.getName().size() >= 5 &&
2161 F.getName().substr(0, 5) == "llvm.";
2851 Call.getCalledFunction()->getName().startswith("llvm.");
4271 Assert(ExpectedName == IF->getName(),
5162 errs() << "in function " << F.getName() << '\n';
lib/LTO/LTO.cpp 793 RegularLTO.CombinedModule->getNamedValue(GV->getName());
lib/LTO/LTOCodeGenerator.cpp 396 GV.getName() + "'").str());
399 GV.getName() + "'").str());
432 MangledName.reserve(GV.getName().size() + 1);
450 ExternalSymbols.insert(std::make_pair(GV.getName(), GV.getLinkage()));
486 auto I = ExternalSymbols.find(GV.getName());
lib/LTO/UpdateCompilerUsed.cpp 108 if ((isa<Function>(GV) || FuncAliasee) && Libcalls.count(GV.getName())) {
lib/Linker/IRMover.cpp 459 GlobalValue *DGV = DstM.getNamedValue(SrcGV->getName());
550 if (GV->hasLocalLinkage() || GV->getName() == Name)
559 assert(ConflictGV->getName() != Name && "forceRenaming didn't work");
629 /*init*/ nullptr, SGVar->getName(),
659 GlobalValue::ExternalLinkage, SF->getName(), &DstM);
675 GlobalValue::ExternalLinkage, SGIS->getName(),
679 GlobalValue::ExternalLinkage, SGIS->getName(),
698 GlobalValue::ExternalLinkage, SGV->getName(), &DstM);
703 /*init*/ nullptr, SGV->getName(),
849 StringRef Name = SrcGV->getName();
873 "Linking globals named '" + SrcGV->getName() +
924 forceRenaming(NG, SrcGV->getName());
1000 forceRenaming(NewGV, SGV->getName());
lib/Linker/LinkModules.cpp 88 GlobalValue *DGV = DstM.getNamedValue(SrcGV->getName());
324 return emitError("Linking globals named '" + Src.getName() +
403 Internalize.insert(GV.getName());
417 Internalize.insert(GV2->getName());
547 Internalize.insert(GV->getName());
lib/Object/IRSymtab.cpp 248 setStr(Sym.IRName, GV->getName());
253 if (GV->getName() == LibcallName)
lib/Object/ModuleSymbolTable.cpp 213 if (GV->getName().startswith("llvm."))
lib/Object/RecordStreamer.cpp 147 MangledName.reserve(GV.getName().size() + 1);
lib/Passes/StandardInstrumentations.cpp 40 if (!llvm::isFunctionInPrintList(F->getName()))
43 return std::make_pair(M, formatv(" (function: {0})", F->getName()).str());
50 if (!F.isDeclaration() && isFunctionInPrintList(F.getName())) {
61 if (!isFunctionInPrintList(F->getName()))
79 if (!llvm::isFunctionInPrintList(F->getName()))
88 if (!F.isDeclaration() && llvm::isFunctionInPrintList(F.getName())) {
99 if (!llvm::isFunctionInPrintList(F->getName()))
lib/ProfileData/InstrProf.cpp 261 return getPGOFuncName(F.getName(), F.getLinkage(), FileName, Version);
273 return getPGOFuncName(F.getName(), GlobalValue::ExternalLinkage, "");
1034 if (PGOFuncName == F.getName())
1089 if (F.getName().empty())
lib/Target/AArch64/AArch64InstrInfo.cpp 5447 if (Callee && Callee->getName() == "\01_mcount")
lib/Target/AArch64/AArch64StackTagging.cpp 627 TagPCall->setName(Info.AI->getName() + ".tag");
lib/Target/AMDGPU/AMDGPUArgumentUsageInfo.cpp 57 OS << "Arguments for " << FI.first->getName() << '\n'
lib/Target/AMDGPU/AMDGPUAsmPrinter.cpp 292 Twine(GV->getName()) +
1175 MD->setEntryPoint(CC, MF.getFunction().getName());
lib/Target/AMDGPU/AMDGPUHSAMetadataStreamer.cpp 318 Name = Arg.getName();
477 Kernel.mName = Func.getName();
478 Kernel.mSymbolName = (Twine(Func.getName()) + Twine("@kd")).str();
735 Name = Arg.getName();
943 Kern[".name"] = Kern.getDocument()->getNode(Func.getName());
945 (Twine(Func.getName()) + Twine(".kd")).str(), /*Copy=*/true);
lib/Target/AMDGPU/AMDGPUISelLowering.cpp 1095 FuncName = G->getGlobal()->getName();
lib/Target/AMDGPU/AMDGPUInline.cpp 170 << Callee->getName() << '\n');
lib/Target/AMDGPU/AMDGPULibCalls.cpp 550 if (!parseFunctionName(Callee->getName(), &FInfo) || !FInfo.isMangled() ||
587 std::string Name = Callee->getName();
665 if (!parseFunctionName(Callee->getName(), &FInfo))
1284 if (!AMDGPULibFunc::parse(CI->getCalledFunction()->getName(), fInfo))
1321 if (!UCallee || !UCallee->getName().equals(PairName))
1421 std::string(prefix) + UI->getName());
lib/Target/AMDGPU/AMDGPULowerKernelArguments.cpp 86 nullptr, F.getName() + ".kernarg.segment");
145 Arg.getName() + ".kernarg.offset.align.down");
150 Arg.getName() + ".kernarg.offset");
161 ArgPtr->getName() + ".cast");
209 Arg.getName() + ".load");
214 Arg.getName() + ".load");
217 Load->setName(Arg.getName() + ".load");
lib/Target/AMDGPU/AMDGPUOpenCLEnqueuedBlockLowering.cpp 117 LLVM_DEBUG(dbgs() << "found enqueued kernel: " << F.getName() << '\n');
118 auto RuntimeHandle = (F.getName() + ".runtime_handle").str();
148 LLVM_DEBUG(dbgs() << "mark enqueue_kernel caller:" << F->getName() << '\n');
lib/Target/AMDGPU/AMDGPUPerfHintAnalysis.cpp 209 LLVM_DEBUG(dbgs() << "[AMDGPUPerfHint] process " << F.getName() << '\n');
270 LLVM_DEBUG(dbgs() << F.getName() << " MemInst: " << Info->MemInstCount
277 LLVM_DEBUG(dbgs() << F.getName() << " is memory bound\n");
283 LLVM_DEBUG(dbgs() << F.getName() << " needs limit wave\n");
lib/Target/AMDGPU/AMDGPUPromoteAlloca.cpp 706 LLVM_DEBUG(dbgs() << F.getName() << " uses " << CurrentLocalMemUsage
799 Twine(F->getName()) + Twine('.') + I.getName(),
799 Twine(F->getName()) + Twine('.') + I.getName(),
lib/Target/AMDGPU/AMDGPUPropagateAttributes.cpp 267 LLVM_DEBUG(dbgs() << "Cloning " << F.getName() << '\n');
276 std::string NewName = NewF->getName();
294 << " on " << F.getName() << '\n');
lib/Target/AMDGPU/AMDGPURewriteOutArguments.cpp 252 << " in function " << F.getName() << '\n');
355 StructType *NewRetTy = StructType::create(Ctx, ReturnTypes, F.getName());
364 F.getName() + ".body");
lib/Target/AMDGPU/R600OpenCLImageTypeLoweringPass.cpp 180 StringRef Name = F->getName();
213 StringRef Name = F->getName();
306 auto NewF = Function::Create(NewFT, F->getLinkage(), F->getName());
310 auto ArgName = Arg.getName();
350 M.getOrInsertFunction(NewF->getName(), NewF->getFunctionType(),
lib/Target/ARM/ARMCodeGenPrepare.cpp 1019 LLVM_DEBUG(dbgs() << "ARM CGP: Running on " << F.getName() << "\n");
lib/Target/ARM/ARMConstantPoolValue.cpp 217 O << CVal->getName();
lib/Target/ARM/ARMParallelDSP.cpp 293 LLVM_DEBUG(dbgs() << " - " << F.getName() << "\n\n");
lib/Target/ARM/ARMTargetMachine.cpp 291 F.getContext().emitError("Function '" + F.getName() + "' uses ARM "
lib/Target/ARM/ARMTargetTransformInfo.cpp 792 if (F->getName().startswith("llvm.arm"))
lib/Target/AVR/AVRISelLowering.cpp 922 return G->getGlobal()->getName();
lib/Target/BPF/BPFAbstractMemberAccess.cpp 239 if (GV->getName().startswith("llvm.preserve.array.access.index")) {
248 if (GV->getName().startswith("llvm.preserve.union.access.index")) {
257 if (GV->getName().startswith("llvm.preserve.struct.access.index")) {
266 if (GV->getName().startswith("llvm.bpf.preserve.field.info")) {
lib/Target/BPF/BTFDebug.cpp 998 generateFieldReloc(MI, ORSym, Ty, GVar->getName());
1106 std::make_unique<BTFKindVar>(Global.getName(), GVTypeId, GVarInfo);
1131 uint32_t Imm = PatchImms[GVar->getName().str()];
lib/Target/Hexagon/HexagonCommonGEP.cpp 244 OS << "BaseVal:" << GN.BaseVal->getName() << '(' << GN.BaseVal << ')';
252 OS << GN.Idx->getName();
296 OS << ' ' << R->getName();
677 dbgs() << ' ' << B->getName();
693 LLVM_DEBUG(dbgs() << "computed:" << Dom->getName() << '\n');
940 OS << B->getName() << '(' << B << ')';
1091 LLVM_DEBUG(dbgs() << "Fabricating GEP in " << LocB->getName()
lib/Target/Hexagon/HexagonConstExtenders.cpp 520 OS << "gad:" << ER.V.GV->getName();
738 assert(!V.GV->getName().empty() && !ER.V.GV->getName().empty());
738 assert(!V.GV->getName().empty() && !ER.V.GV->getName().empty());
739 return V.GV->getName() < ER.V.GV->getName();
739 return V.GV->getName() < ER.V.GV->getName();
1222 if (ER.V.GV->getName().empty())
lib/Target/Hexagon/HexagonGenExtract.cpp 216 NewIn = IRB.CreateShl(NewIn, SL, CSL->getName());
lib/Target/Hexagon/HexagonLoopIdiomRecognition.cpp 2172 StringRef HeaderName = Header->getName();
2219 BasicBlock *MemmoveB = BasicBlock::Create(Ctx, Header->getName()+".rtli",
2226 Preheader->setName(Preheader->getName()+".old");
2421 StringRef Name = L->getHeader()->getParent()->getName();
lib/Target/Hexagon/HexagonTargetObjectFile.cpp 129 TRACE("[SelectSectionForGlobal] GO(" << GO->getName() << ") ");
144 if (EmitLutInText && GO->getName().startswith("switch.table")) {
167 TRACE("[getExplicitSectionGlobal] GO(" << GO->getName() << ") from("
207 << SmallDataThreshold << ": \"" << GO->getName() << "\": ");
368 Name.append(GO->getName());
412 Name.append(GO->getName());
lib/Target/Hexagon/HexagonVectorLoopCarriedReuse.cpp 628 InstInPreheader->setName(Inst2Replace->getName() + ".hexagon.vlcr");
631 << LoopPH->getName() << "\n");
643 LLVM_DEBUG(dbgs() << "Adding " << *NewPhi << " to " << BB->getName()
lib/Target/Hexagon/RDFGraph.cpp 240 OS << T->getGlobal()->getName();
lib/Target/Mips/Mips16HardFloat.cpp 263 std::string Name = F.getName();
372 std::end(IntrinsicInline), F->getName());
451 std::string Name = F->getName();
lib/Target/Mips/Mips16ISelLowering.cpp 474 G->getGlobal()->getName().data() };
lib/Target/Mips/MipsCCState.cpp 76 llvm::StringRef Sym = G->getGlobal()->getName();
lib/Target/Mips/MipsFastISel.cpp 1582 Addr.getGlobalValue()->getName()), MipsII::MO_JALR);
lib/Target/Mips/MipsISelLowering.cpp 2952 StringRef Sym = G->getGlobal()->getName();
2996 Sym = G->getGlobal()->getName();
lib/Target/Mips/MipsOs16.cpp 125 LLVM_DEBUG(dbgs() << "Working on " << F.getName() << "\n");
132 LLVM_DEBUG(dbgs() << "mask forced mips32: " << F.getName() << "\n");
146 LLVM_DEBUG(dbgs() << "os16 forced mips32: " << F.getName() << "\n");
150 LLVM_DEBUG(dbgs() << "os16 forced mips16: " << F.getName() << "\n");
lib/Target/NVPTX/NVPTXAsmPrinter.cpp 621 return GV->getName() != "llvm.used";
634 if (othergv->getName() == "llvm.used")
985 msg.append(V->getName());
1005 if (GVar->getName().startswith("llvm.") ||
1006 GVar->getName().startswith("nvvm."))
1107 if (strncmp(GVar->getName().data(), "unrollpragma", 12) == 0)
1111 if (strncmp(GVar->getName().data(), "filename", 8) == 0)
1119 O << "// " << GVar->getName() << " has been demoted\n";
1170 report_fatal_error("initial value of '" + GVar->getName() +
1442 std::string sname = I->getName();
lib/Target/NVPTX/NVPTXAssignValidGlobalNames.cpp 60 GV.setName(cleanUpName(GV.getName()));
67 F.setName(cleanUpName(F.getName()));
lib/Target/NVPTX/NVPTXGenericToNVVM.cpp 82 !llvm::isSampler(*GV) && !GV->getName().startswith("llvm.")) {
147 std::string Name = GV->getName();
lib/Target/NVPTX/NVPTXLowerArgs.cpp 163 AllocaInst *AllocA = new AllocaInst(StructType, AS, Arg->getName(), FirstInst);
171 Arg, PointerType::get(StructType, ADDRESS_SPACE_PARAM), Arg->getName(),
174 new LoadInst(StructType, ArgInParam, Arg->getName(), FirstInst);
197 Ptr->getName(), &*InsertPt);
199 Ptr->getName(), &*InsertPt);
lib/Target/NVPTX/NVPTXReplaceImageHandles.cpp 173 Idx = MFI->getImageHandleSymbolIndex(GV->getName().data());
lib/Target/NVPTX/NVPTXUtilities.cpp 229 return val.getName();
234 return val.getName();
239 return val.getName();
lib/Target/NVPTX/NVVMReflect.cpp 79 if (F.getName() == NVVM_REFLECT_FUNCTION) {
119 if (!Callee || (Callee->getName() != NVVM_REFLECT_FUNCTION &&
lib/Target/PowerPC/PPCBoolRetToInt.cpp 103 PHINode::Create(IntTy, P->getNumIncomingValues(), P->getName(), P);
lib/Target/PowerPC/PPCISelDAGToDAG.cpp 550 LLVM_DEBUG(dbgs() << "Use branch hint for '" << FuncInfo->Fn->getName()
551 << "::" << BB->getName() << "'\n"
552 << " -> " << TBB->getName() << ": " << TProb << "\n"
553 << " -> " << FBB->getName() << ": " << FProb << "\n");
lib/Target/PowerPC/PPCISelLowering.cpp 5316 Twine(G->getGlobal()->getName()));
lib/Target/PowerPC/PPCLoopPreIncPrep.cpp 178 return (I->getName() + Suffix).str();
lib/Target/PowerPC/PPCTargetTransformInfo.cpp 354 LibInfo->getLibFunc(F->getName(), Func) &&
lib/Target/Sparc/LeonPasses.cpp 90 StringRef FuncName = MO.getGlobal()->getName();
lib/Target/WebAssembly/WebAssemblyAddMissingPrototypes.cpp 71 LLVM_DEBUG(dbgs() << "Found no-prototype function: " << F.getName()
80 F.getName());
86 F.getName());
93 LLVM_DEBUG(dbgs() << "prototype-less use: " << F.getName() << "\n");
105 << F.getName() << "\n";
116 F.getName() + "\n");
126 Function::Create(NewType, F.getLinkage(), F.getName() + ".fixed_sig");
135 std::string Name = OldF->getName();
lib/Target/WebAssembly/WebAssemblyExceptionInfo.cpp 162 OS << "." << BB->getName();
lib/Target/WebAssembly/WebAssemblyFixFunctionBitcasts.cpp 122 F->getName() + "_bitcast", M);
157 << F->getName() << "\n");
161 << F->getName() << "\n");
197 << F->getName() << "\n");
201 << F->getName() << "\n");
212 F->getName() + "_bitcast_invalid", M);
215 Wrapper->setName(F->getName() + "_bitcast_invalid");
217 LLVM_DEBUG(dbgs() << "createWrapper: no wrapper needed: " << F->getName()
222 LLVM_DEBUG(dbgs() << "createWrapper: " << F->getName() << "\n");
253 if (F.getName() == "main") {
lib/Target/WebAssembly/WebAssemblyISelDAGToDAG.cpp 146 GA->getGlobal()->getName(),
lib/Target/WebAssembly/WebAssemblyLateEHPrepare.cpp 263 if (CalleeOp.isGlobal() && CalleeOp.getGlobal()->getName() ==
lib/Target/WebAssembly/WebAssemblyLowerEmscriptenEHSjLj.cpp 302 StringRef Name = F->getName();
439 IRB.CreateLoad(IRB.getInt32Ty(), ThrewGV, ThrewGV->getName() + ".val");
487 StringRef CalleeName = Callee->getName();
501 if (Callee->getName().startswith("__cxa_find_matching_catch_"))
516 StringRef CalleeName = Callee->getName();
555 ThrewValueGV->getName() + ".val");
566 Threw->getName() + ".i32p");
568 ThrewInt->getName() + ".loaded");
606 SSA.Initialize(I.getType(), I.getName());
747 areAllExceptionsAllowed() || EHWhitelistSet.count(F.getName());
970 F.getName() +
977 if (Callee->getName().startswith("__invoke_")) {
lib/Target/WebAssembly/WebAssemblyLowerGlobalDtors.cpp 142 (!Associated->isNullValue() ? (Twine(".") + Associated->getName())
158 (!Associated->isNullValue() ? (Twine(".") + Associated->getName())
lib/Target/WebAssembly/WebAssemblyOptimizeReturned.cpp 75 << F.getName() << '\n');
lib/Target/WebAssembly/WebAssemblyUtilities.cpp 74 if (F->getName() == CxaBeginCatchFn || F->getName() == PersonalityWrapperFn ||
74 if (F->getName() == CxaBeginCatchFn || F->getName() == PersonalityWrapperFn ||
75 F->getName() == ClangCallTerminateFn || F->getName() == StdTerminateFn)
75 F->getName() == ClangCallTerminateFn || F->getName() == StdTerminateFn)
lib/Target/X86/X86FrameLowering.cpp 2639 if (F->getName().find("erlang.") != StringRef::npos ||
2640 F->getName().find("bif_") != StringRef::npos ||
2641 F->getName().find_first_of("._") == StringRef::npos)
lib/Target/X86/X86ISelDAGToDAG.cpp 1331 if (F.hasExternalLinkage() && F.getName() == "main")
lib/Target/X86/X86ISelLowering.cpp 3183 F.getName() == "main")
22717 GlobalValue::dropLLVMManglingEscape(Fn->getName()));
23555 GlobalValue::dropLLVMManglingEscape(Fn->getName()));
lib/Target/X86/X86WinEHState.cpp 309 StringRef PersonalityName = PersonalityFn->getName();
404 ParentFunc->getName()),
694 LLVM_DEBUG(dbgs() << "X86WinEHState: " << BB->getName()
696 LLVM_DEBUG(dbgs() << "X86WinEHState: " << BB->getName()
742 LLVM_DEBUG(dbgs() << "X86WinEHState: " << BB->getName()
lib/Target/XCore/XCoreLowerThreadLocal.cpp 106 CE->getName()));
122 CE->getName()));
lib/Transforms/Coroutines/CoroFrame.cpp 110 LLVM_DEBUG(dbgs() << UseBB->getName() << " => " << DefBB->getName()
110 LLVM_DEBUG(dbgs() << UseBB->getName() << " => " << DefBB->getName()
163 dbgs() << " " << Mapping.indexToBlock(I)->getName();
170 dbgs() << B->getName() << ":\n";
264 LLVM_DEBUG(dbgs() << "\nblock " << I << " follower " << SI->getName()
400 SmallString<32> Name(F.getName());
645 G->setName(CurrentValue->getName() + Twine(".reload.addr"));
650 CurrentValue->getName() + Twine(".reload"));
717 CurrentValue->getName() + Twine(".spill.addr"));
905 IncomingBB->setName(BB.getName() + Twine(".from.") + Pred->getName());
905 IncomingBB->setName(BB.getName() + Twine(".from.") + Pred->getName());
911 V->getType(), 1, V->getName() + Twine(".") + BB.getName(),
911 V->getType(), 1, V->getName() + Twine(".") + BB.getName(),
973 CurrentMaterialization->setName(CurrentDef->getName());
lib/Transforms/Coroutines/CoroSplit.cpp 343 S->getNextNode(), ResumeBB->getName() + Twine(".landing"));
401 OrigF.getName() + Suffix);
833 F.getName() + Twine(".resumers"));
1564 LLVM_DEBUG(dbgs() << "CoroSplit: Processing coroutine '" << F->getName()
lib/Transforms/Hello/Hello.cpp 33 errs().write_escaped(F.getName()) << '\n';
51 errs().write_escaped(F.getName()) << '\n';
lib/Transforms/IPO/ArgumentPromotion.cpp 219 F->getName());
267 IRB.CreateGEP(STy, *AI, Idxs, (*AI)->getName() + "." + Twine(i));
270 Idx->getName() + ".val"));
300 V = IRB.CreateGEP(ArgIndex.first, V, Ops, V->getName() + ".idx");
306 IRB.CreateLoad(OrigLoad->getType(), V, V->getName() + ".val");
399 AgTy, TheAlloca, Idxs, TheAlloca->getName() + "." + Twine(i),
401 I2->setName(I->getName() + "." + Twine(i));
432 I2->setName(I->getName() + ".val");
435 LLVM_DEBUG(dbgs() << "*** Promoted load of argument '" << I->getName()
436 << "' in function '" << F->getName() << "'\n");
455 std::string NewName = I->getName();
462 LLVM_DEBUG(dbgs() << "*** Promoted agg argument '" << TheArg->getName()
463 << "' of function '" << NF->getName() << "'\n");
727 << Arg->getName()
960 << PtrArg->getName()
lib/Transforms/IPO/Attributor.cpp 4267 << "[Attributor] Function " << Fn.getName()
4276 << Fn.getName()
4305 << Fn.getName() << "\n");
4890 return OS << "{" << Pos.getPositionKind() << ":" << AV.getName() << " ["
4891 << Pos.getAnchorValue().getName() << "@" << Pos.getArgNo() << "]}";
lib/Transforms/IPO/BlockExtractor.cpp 184 return BB.getName().equals(BBInfo);
201 << BB->getParent()->getName() << ":" << BB->getName()
201 << BB->getParent()->getName() << ":" << BB->getName()
212 LLVM_DEBUG(dbgs() << "Extracted group '" << (*BBs.begin())->getName()
213 << "' in: " << F->getName() << '\n');
216 << (*BBs.begin())->getName() << "'\n");
222 LLVM_DEBUG(dbgs() << "BlockExtractor: Trying to delete " << F->getName()
lib/Transforms/IPO/CalledValuePropagation.cpp 65 return LHS->getName() < RHS->getName();
65 return LHS->getName() < RHS->getName();
211 OS << Key.getPointer()->getName();
lib/Transforms/IPO/ConstantMerge.cpp 118 LLVM_DEBUG(dbgs() << "Replacing global: @" << Old->getName() << " -> @"
119 << New->getName() << "\n");
192 LLVM_DEBUG(dbgs() << "Cmap[" << *Init << "] = " << GV->getName()
227 LLVM_DEBUG(dbgs() << "Will replace: @" << GV->getName() << " -> @"
228 << Slot->getName() << "\n");
lib/Transforms/IPO/DeadArgumentElimination.cpp 535 LLVM_DEBUG(dbgs() << "DeadArgumentEliminationPass - " << F.getName()
546 << F.getName() << "\n");
613 LLVM_DEBUG(dbgs() << "DeadArgumentEliminationPass - " << F.getName()
622 << F.getName() << "\n");
682 << F.getName() << "\n");
763 << i << " (" << I->getName() << ") from "
764 << F->getName() << "\n");
809 << i << " from " << F->getName() << "\n");
lib/Transforms/IPO/ExtractGV.cpp 90 if (I->getName() == "llvm.global_ctors")
138 CurI->getName(), &M);
143 nullptr, CurI->getName());
lib/Transforms/IPO/ForceFunctionAttrs.cpp 74 if (KV.first != F.getName())
lib/Transforms/IPO/FunctionAttrs.cpp 1066 LLVM_DEBUG(dbgs() << "Eagerly marking " << F->getName()
1086 LLVM_DEBUG(dbgs() << "SCC marking " << F->getName() << " as nonnull\n");
1291 LLVM_DEBUG(dbgs() << "Removing convergent attr from fn " << F.getName()
1313 << "Adding nounwind attr to fn " << F.getName() << "\n");
1336 << "Adding nofree attr to fn " << F.getName() << "\n");
lib/Transforms/IPO/FunctionImport.cpp 911 LLVM_DEBUG(dbgs() << "Converting to a declaration: `" << GV.getName()
986 LLVM_DEBUG(dbgs() << "ODR fixing up linkage for `" << GV.getName()
1023 ModuleSummaryIndex::getOriginalNameBeforePromote(GV.getName());
1113 << GUID << " " << F.getName() << " from "
1135 << GUID << " " << GV.getName() << " from "
1149 << GUID << " " << GA.getName() << " from "
1160 << " " << Base->getName() << " from "
1184 dbgs() << DestModule.getSourceFileName() << ": Import " << GV->getName()
lib/Transforms/IPO/GlobalDCE.cpp 133 LLVM_DEBUG(dbgs() << "Ignoring dep " << GVU->getName() << " -> "
134 << GV.getName() << "\n");
196 LLVM_DEBUG(dbgs() << GV.getName() << " is safe for VFE\n");
225 LLVM_DEBUG(dbgs() << "vfunc dep " << Caller->getName() << " -> "
226 << Callee->getName() << "\n");
274 dbgs() << " " << VTable->getName() << "\n";
lib/Transforms/IPO/GlobalOpt.cpp 488 In, GV->getName()+"."+Twine(i),
524 In, GV->getName()+"."+Twine(i),
583 NewTy, NewPtr, Idxs, GEPI->getName() + "." + Twine(Val), GEPI);
854 UndefValue::get(GlobalType), GV->getName() + ".body", nullptr,
887 GV->getName()+".init", GV->getThreadLocalMode());
912 InitBool->getName() + ".val", false, None,
1048 new LoadInst(GV->getValueType(), GV, GV->getName() + ".val", InsertPt);
1174 LI->getName() + ".f" + Twine(FieldNo), LI);
1187 PN->getName()+".f"+Twine(FieldNo), PN);
1210 SCI->getName());
1232 GEPI->getName(), GEPI);
1305 Constant::getNullValue(PFieldTy), GV->getName() + ".f" + Twine(FieldNo),
1317 CI->getName() + ".f" + Twine(FieldNo));
1547 OpBundles, nullptr, CI->getName());
1632 GV->getName()+".b",
1719 LI->getName() + ".b", false, None,
1736 LI->getName() + ".b", false, None,
1952 GV->getName(), &FirstI);
2068 if (GV.getName().startswith("llvm."))
2583 << F->getName() << "' to "
2596 return AStripped->getName().compare(BStripped->getName());
2596 return AStripped->getName().compare(BStripped->getName());
lib/Transforms/IPO/GlobalSplit.cpp 81 Init->getOperand(I), GV.getName() + "." + utostr(I));
lib/Transforms/IPO/HotColdSplitting.cpp 657 LLVM_DEBUG(llvm::dbgs() << "Skipping " << F.getName() << "\n");
661 LLVM_DEBUG(llvm::dbgs() << "Outlining in " << F.getName() << "\n");
lib/Transforms/IPO/IPO.cpp 123 return AllButMain && GV.getName() == "main";
lib/Transforms/IPO/Inliner.cpp 542 LLVM_DEBUG(dbgs() << " " << (F ? F->getName() : "INDIRECTNODE"));
727 << Callee->getName() << "\n");
986 LLVM_DEBUG(dbgs() << "Inlining calls in: " << F.getName() << "\n");
1046 << F.getName() << " -> " << Callee.getName() << "\n");
1046 << F.getName() << " -> " << Callee.getName() << "\n");
1216 FAM.clear(*DeadF, DeadF->getName());
lib/Transforms/IPO/Internalize.cpp 66 return ExternalNames.count(GV.getName());
106 if (AlwaysPreserved.count(GV.getName()))
177 AlwaysPreserved.insert(V->getName());
191 LLVM_DEBUG(dbgs() << "Internalizing func " << I.getName() << "\n");
220 LLVM_DEBUG(dbgs() << "Internalized gvar " << GV.getName() << "\n");
230 LLVM_DEBUG(dbgs() << "Internalized alias " << GA.getName() << "\n");
lib/Transforms/IPO/LowerTypeTests.cpp 1050 std::string Name = F->getName();
1518 ExportSummary->cfiFunctionDefs().insert(F->getName());
1522 F->getName() + ".cfi_jt", CombinedGlobalElemPtr, &M);
1524 ExportSummary->cfiFunctionDecls().insert(F->getName());
1542 F->setName(FAlias->getName() + ".cfi");
1789 if (ImportSummary->cfiFunctionDefs().count(F.getName()))
1791 else if (ImportSummary->cfiFunctionDecls().count(F.getName()))
1897 F->setName(F->getName() + ".1");
1953 if (ExportedFunctions.count(F->getName())) {
1955 ExportedFunctions[F->getName()].Linkage == CFL_Definition;
lib/Transforms/IPO/MergeFunctions.cpp 663 LLVM_DEBUG(dbgs() << "canCreateThunkFor: " << F->getName()
687 << G->getName() << "()\n");
692 << G->getName() << "() {\n");
734 << G->getName() << "()\n");
740 << G->getName() << "()\n");
749 LLVM_DEBUG(dbgs() << "writeThunk: " << H->getName() << '\n');
781 LLVM_DEBUG(dbgs() << "writeAlias: " << GA->getName() << '\n');
897 return F->getName() <= G->getName();
897 return F->getName() <= G->getName();
909 LLVM_DEBUG(dbgs() << "Inserting as unique: " << NewFunction->getName()
924 LLVM_DEBUG(dbgs() << " " << OldF.getFunc()->getName()
925 << " == " << NewFunction->getName() << '\n');
937 LLVM_DEBUG(dbgs() << "Deferred " << F->getName() << ".\n");
lib/Transforms/IPO/PartialInlining.cpp 430 << ore::NV("Block", BlockList.front()->getName())
495 dbgs() << "Found cold edge: " << thisBB->getName() << "->"
496 << (*SI)->getName() << "\nBranch Probability = " << SuccProb
542 << DominateVector.front()->getName() << "\n";
lib/Transforms/IPO/SampleProfile.cpp 212 StringRef OrigName = F.getName();
621 OS << "weight[" << E.first->getName() << "->" << E.second->getName()
621 OS << "weight[" << E.first->getName() << "->" << E.second->getName()
632 OS << "equivalence[" << BB->getName()
633 << "]: " << ((Equiv) ? EquivalenceClass[BB]->getName() : "NONE") << "\n";
644 OS << "weight[" << BB->getName() << "]: " << W << "\n";
778 CalleeName = Callee->getName();
956 if (CalleeFunctionName == F.getName())
1242 LLVM_DEBUG(dbgs() << "All edge weights for " << BB->getName()
1537 "No debug information found in function " + F.getName() +
1609 << F.getName() << ": " << getFunctionLoc(F) << "\n");
1795 if (PSL->contains(F.getName()))
lib/Transforms/IPO/StripSymbols.cpp 166 if (!PreserveDbgInfo || !V->getName().startswith("llvm.dbg"))
213 if (!PreserveDbgInfo || !I->getName().startswith("llvm.dbg"))
219 if (!PreserveDbgInfo || !I.getName().startswith("llvm.dbg"))
lib/Transforms/IPO/ThinLTOBitcodeWriter.cpp 43 auto Name = ExportGV.getName();
153 F.getName().startswith("llvm."))
325 Elts.push_back(MDString::get(Ctx, F.getName()));
354 MDString::get(Ctx, A.getName()),
355 MDString::get(Ctx, F->getName()),
lib/Transforms/IPO/WholeProgramDevirt.cpp 830 if (Fn->getName() == "__cxa_pure_virtual")
874 TheFn->stripPointerCasts()->getName(), OREGetter);
942 std::string NewName = (TheFn->getName() + "$merged").str();
948 if (C->getName() == TheFn->getName()) {
967 Res->SingleImplName = TheFn->getName();
1104 JT->stripPointerCasts()->getName(), OREGetter);
1215 applyUniformRetValOpt(CSInfo, TargetsForSlot[0].Fn->getName(), TheRetVal);
1347 applyUniqueRetValOpt(CSInfo, TargetsForSlot[0].Fn->getName(), IsOne,
1485 TargetsForSlot[0].Fn->getName(), ByteConst, BitConst);
1883 DevirtTargets[T.Fn->getName()] = T.Fn;
lib/Transforms/InstCombine/InstCombineAddSub.cpp 1075 return BinaryOperator::CreateNot(NotMask, I.getName());
1192 Extract->getName() + ".sext");
1341 Value *NewAdd = Builder.CreateAdd(X, CRHS, LHS->getName());
1881 Y, Builder.CreateNot(Op1, Op1->getName() + ".not"));
1891 Builder.CreateSub(Z, Y, Op1->getName()));
1896 Builder.CreateNot(Y, Y->getName() + ".not"));
lib/Transforms/InstCombine/InstCombineAndOrXor.cpp 183 Builder.CreateSub(V, ConstantInt::get(Ty, Lo), V->getName() + ".off");
1019 CxtI.getName() + ".simplified");
1472 Value *AndOr = Builder.CreateBinOp(Opcode, A, B, I.getName() + ".demorgan");
1570 I.getName());
1795 Value *NewRHS = Builder.CreateAnd(Y, Op1, Y->getName() + ".masked");
1801 Value *NewLHS = Builder.CreateAnd(X, Op1, X->getName() + ".masked");
2614 Value *Not = Builder.CreateNot(B, B->getName() + ".not");
2618 Value *Not = Builder.CreateNot(A, A->getName() + ".not");
2632 Value *Not = Builder.CreateNot(NotOp, NotOp->getName() + ".not");
2879 Value *NotY = Builder.CreateNot(Y, Y->getName() + ".not");
2959 Value *NotX = Builder.CreateNot(X, X->getName() + ".not");
2960 return BinaryOperator::CreateXor(NotX, Y, I.getName() + ".demorgan");
3011 Value *NotY = Builder.CreateNot(Y, Y->getName() + ".not");
3017 Value *NotY = Builder.CreateNot(Y, Y->getName() + ".not");
lib/Transforms/InstCombine/InstCombineCalls.cpp 1727 II->getArgOperand(1), II->getName());
1732 II->getName());
1743 II->getArgOperand(0), II->getName());
3937 Builder.CreateCall(AssumeIntrinsicTy, AssumeIntrinsic, A, II->getName());
3938 Builder.CreateCall(AssumeIntrinsicTy, AssumeIntrinsic, B, II->getName());
3944 Builder.CreateNot(A), II->getName());
3946 Builder.CreateNot(B), II->getName());
lib/Transforms/InstCombine/InstCombineCasts.cpp 831 Value *NewTrunc = Builder.CreateTrunc(A, DestTy, A->getName() + ".tr");
863 In = Builder.CreateLShr(In, Sh, In->getName() + ".lobit");
869 In = Builder.CreateXor(In, One, In->getName() + ".not");
907 In->getName() + ".lobit");
1157 Value *And = Builder.CreateAnd(A, AndConst, CSrc->getName() + ".mask");
1189 Value *LCast = Builder.CreateZExt(LHS, CI.getType(), LHS->getName());
1190 Value *RCast = Builder.CreateZExt(RHS, CI.getType(), RHS->getName());
1238 Value *In = Builder.CreateAShr(Op0, Sh, Op0->getName() + ".lobit");
1243 In = Builder.CreateNot(In, In->getName() + ".not");
1439 A = Builder.CreateShl(A, ShAmtV, CI.getName());
1666 CallInst::Create(Overload, {InnerTrunc}, OpBundles, II->getName());
lib/Transforms/InstCombine/InstCombineCompares.cpp 667 PHI->getName() + ".idx", PHI);
694 GEP->getOperand(0)->getName() + ".sext");
702 Op, Index, GEP->getOperand(0)->getName() + ".add");
742 Start->getName() + "to.ptr");
746 makeArrayRef(NewInsts[Val]), Val->getName() + ".ptr");
750 Val->getName() + ".conv");
1324 Value *TruncA = Builder.CreateTrunc(A, NewType, A->getName() + ".trunc");
1325 Value *TruncB = Builder.CreateTrunc(B, NewType, B->getName() + ".trunc");
1775 Value *NewAnd = Builder.CreateAnd(W, ZextC2, And->getName());
1809 NewOr = Builder.CreateOr(Builder.CreateShl(One, B, LShr->getName(),
1811 One, Or->getName());
1814 Value *NewAnd = Builder.CreateAnd(A, NewOr, And->getName());
2104 Value *And = Builder.CreateAnd(X, Mask, Shl->getName() + ".mask");
2116 Value *And = Builder.CreateAnd(X, Mask, Shl->getName() + ".mask");
2249 Value *And = Builder.CreateAnd(X, Mask, Shr->getName() + ".mask");
2923 Value *NewRem = Builder.CreateURem(BOp0, BOp1, BO->getName());
3232 I.getName());
3235 I.getName());
4218 Value *Xor = Builder.CreateXor(A, B, I.getName() + ".unshifted");
4230 Value *Xor = Builder.CreateXor(A, B, I.getName() + ".unshifted");
4233 I.getName() + ".mask");
5352 Value *NewX = Builder.CreateLShr(X, Y, X->getName() + ".highbits");
lib/Transforms/InstCombine/InstCombineLoadStoreAlloca.cpp 199 AllocaInst *New = IC.Builder.CreateAlloca(NewTy, nullptr, AI.getName());
216 NewTy, New, Idx, New->getName() + ".sub");
466 NewTy, NewPtr, LI.getAlignment(), LI.isVolatile(), LI.getName() + Suffix);
644 StringRef Name = LI.getName();
989 LI.getName() + ".cast"));
1030 SI->getOperand(1)->getName() + ".val");
1033 SI->getOperand(2)->getName() + ".val");
1201 SmallString<16> EltName = V->getName();
1204 SmallString<16> AddrName = Addr->getName();
1249 SmallString<16> EltName = V->getName();
1252 SmallString<16> AddrName = Addr->getName();
lib/Transforms/InstCombine/InstCombineMulDivRem.cpp 188 BinaryOperator *BO = BinaryOperator::CreateNeg(Op0, I.getName());
1077 return BinaryOperator::CreateExactAShr(Op0, ShAmt, I.getName());
1113 Builder.CreateSDiv(X, Y, I.getName(), I.isExact()));
1121 auto *BO = BinaryOperator::CreateUDiv(Op0, Op1, I.getName());
1131 auto *BO = BinaryOperator::CreateUDiv(Op0, Op1, I.getName());
1428 return BinaryOperator::CreateURem(Op0, Op1, I.getName());
lib/Transforms/InstCombine/InstCombinePHI.cpp 230 IntToPtr->getType(), PN.getNumIncomingValues(), PN.getName() + ".ptr");
261 IncomingVal->getName() + ".ptr");
327 FirstInst->getOperand(0)->getName() + ".pn");
335 FirstInst->getOperand(1)->getName() + ".pn");
454 FirstOp->getName()+".pn");
594 PN.getName()+".in");
713 Phi.getName() + ".shrunk");
781 PN.getName()+".in");
1051 PN->getName()+".off"+Twine(Offset), PN);
lib/Transforms/InstCombine/InstCombineSelect.cpp 331 SI.getName() + ".v", &SI);
340 Value *NewSel = Builder.CreateSelect(Cond, X, Y, SI.getName() + ".v", &SI);
395 SI.getName() + ".v", &SI);
568 return Builder.CreateAShr(X, Y, IC->getName(), IsExact);
1374 Cmp.getName() + ".inv");
1609 SI->getTrueValue(), SI->getName(), SI);
1718 SI.getName() + ".p", &SI);
2247 Value *NotCond = Builder.CreateNot(CondVal, "not." + CondVal->getName());
2256 Value *NotCond = Builder.CreateNot(CondVal, "not." + CondVal->getName());
2293 Value *NotCond = Builder.CreateNot(CondVal, "not." + CondVal->getName());
2299 Value *NotCond = Builder.CreateNot(CondVal, "not." + CondVal->getName());
2317 FCI->getName() + ".inv");
2320 SI.getName() + ".p");
2335 FCI->getName() + ".inv");
2338 SI.getName() + ".p");
2460 Value *NewSI = Builder.CreateSelect(Cmp, LHS, RHS, SI.getName(), &SI);
lib/Transforms/InstCombine/InstCombineShifts.cpp 293 Value *NewExt = Builder.CreateZExt(Y, I.getType(), Op1->getName());
333 Op1->getName());
647 Value *NSh = Builder.CreateBinOp(I.getOpcode(), TrOp, ShAmt, I.getName());
671 TI->getName());
695 Builder.CreateShl(Op0BO->getOperand(0), Op1, Op0BO->getName());
698 Op0BO->getOperand(1)->getName());
715 Builder.CreateShl(Op0BO->getOperand(0), Op1, Op0BO->getName());
718 V1->getName()+".mask");
730 Builder.CreateShl(Op0BO->getOperand(1), Op1, Op0BO->getName());
733 Op0BO->getOperand(0)->getName());
749 Builder.CreateShl(Op0BO->getOperand(1), Op1, Op0BO->getName());
752 V1->getName()+".mask");
lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp 265 I->getName());
415 CastInst *NewCast = new ZExtInst(I->getOperand(0), VTy, I->getName());
527 I->getOperand(0), I->getOperand(1), I->getName());
1335 Shuffle->getName());
lib/Transforms/InstCombine/InstCombineVectorOps.cpp 132 B0->getOperand(opId)->getName() + ".Elt"),
2034 SVI.getName() + ".extract");
2044 : Builder.CreateBitCast(V, CastSrcTy, SVI.getName() + ".bc");
2048 NewBC, ConstantInt::get(Int32Ty, BegIdx), SVI.getName() + ".extract");
lib/Transforms/InstCombine/InstructionCombining.cpp 567 V = Builder.CreateBinOp(TopLevelOpcode, B, D, RHS->getName());
587 V = Builder.CreateBinOp(TopLevelOpcode, A, C, LHS->getName());
850 SO->getName() + ".op");
1840 Builder.CreateGEP(GEPEltType, SO0, GO1, Src->getName()));
1907 GEP.getName())
1910 GEP.getName());
1985 StrippedPtrEltTy, StrippedPtr, Idx, GEP.getName());
2024 Idx, GEP.getName())
2026 GEP.getName());
2043 GEP.getName())
2045 GEP.getName());
2079 NewIdx, GEP.getName())
2081 GEP.getName());
2123 Off, GEP.getName())
2125 GEP.getName());
2249 GEP.getName());
3536 << F.getName() << "\n");
lib/Transforms/Instrumentation/AddressSanitizer.cpp 1268 if (G->getName().startswith("llvm."))
1272 if (G->getName().startswith(kAsanGenPrefix) ||
1273 G->getName().startswith(kSanCovGenPrefix) ||
1274 G->getName().startswith(kODRGenPrefix))
1278 if (G->getName() == "__llvm_gcov_ctr")
1383 if (F && (F->getName().startswith("llvm.masked.load.") ||
1384 F->getName().startswith("llvm.masked.store."))) {
1386 if (F->getName().startswith("llvm.masked.store.")) {
1792 if (F->getName() == kAsanModuleCtorName) continue;
1993 std::string Name = G->getName();
1997 C = M.getOrInsertComdat(G->getName());
2049 CreateMetadataGlobal(M, Initializer, G->getName());
2073 CreateMetadataGlobal(M, MetadataInitializers[i], G->getName());
2137 CreateMetadataGlobal(M, Initializer, G->getName());
2146 Twine("__asan_binder_") + G->getName());
2261 StringRef NameForGlobal = G->getName();
2388 if (G->getName().empty()) continue;
2546 if (F.getName().find(" load]") != std::string::npos) {
2614 if (!ClDebugFunc.empty() && ClDebugFunc == F.getName()) return false;
2615 if (F.getName().startswith("__asan_")) return false;
2907 (Arg.hasName() ? Arg.getName() : "Arg" + Twine(Arg.getArgNo())) +
3013 ASanStackVariableDescription D = {AI->getName().data(),
lib/Transforms/Instrumentation/CFGMST.h 99 LLVM_DEBUG(dbgs() << "Build Edge on " << F.getName() << "\n");
109 LLVM_DEBUG(dbgs() << " Edge: from fake node to " << Entry->getName()
140 LLVM_DEBUG(dbgs() << " Edge: from " << BB->getName() << " to "
141 << TargetBB->getName() << " w=" << Weight << "\n");
166 LLVM_DEBUG(dbgs() << " Edge: from " << BB->getName() << " to fake exit"
240 OS << " BB: " << (BB == nullptr ? "FakeNode" : BB->getName()) << " "
lib/Transforms/Instrumentation/ControlHeightReduction.cpp 448 return CHRFunctions.count(F.getName());
457 StringRef FuncName = F.getName();
754 CHR_DEBUG(dbgs() << "Entry " << Entry->getName() << "\n");
758 CHR_DEBUG(dbgs() << "Exit " << Exit->getName() << "\n");
783 CHR_DEBUG(dbgs() << "S0 " << S0->getName() << "\n");
784 CHR_DEBUG(dbgs() << "S1 " << S1->getName() << "\n");
1587 dbgs() << "BlockInScope " << BB->getName() << "\n";
1722 CHR_DEBUG(dbgs() << "Splitting entry block " << EntryBlock->getName()
1908 CHR_DEBUG(dbgs() << "IfThen " << IfThen->getName()
1909 << " IfElse " << IfElse->getName() << "\n");
lib/Transforms/Instrumentation/DataFlowSanitizer.cpp 188 SCL->inSection("dataflow", "fun", F.getName(), Category);
200 return SCL->inSection("dataflow", "fun", GA.getName(), Category);
202 return SCL->inSection("dataflow", "global", GA.getName(), Category) ||
627 std::string GVName = GV->getName(), Prefix = "dfs$";
662 IRBuilder<>(BB).CreateGlobalStringPtr(F->getName()), "",
889 &F, std::string("dfsw$") + std::string(F.getName()),
1557 IRB.CreateGlobalStringPtr(F->getName()));
1576 CustomFName += F->getName();
1601 TName += F->getName();
lib/Transforms/Instrumentation/HWAddressSanitizer.cpp 1059 AI->hasName() ? AI->getName().str() : "alloca." + itostr(N);
1110 LLVM_DEBUG(dbgs() << "Function: " << F.getName() << "\n");
1154 F.getPersonalityFn()->getName() == kHwasanPersonalityThunkName) {
1263 GV->getName() + ".hwasan");
1292 nullptr, GV->getName() + ".hwasan.descriptor");
1404 if (GV.isDeclarationForLinker() || GV.getName().startswith("llvm.") ||
1466 ThunkName += ("." + P.first->getName()).str();
lib/Transforms/Instrumentation/InstrOrderFile.cpp 110 stream << std::hex << MD5Hash(F.getName());
112 std::string(F.getName()) + '\n';
154 updateB.CreateStore(ConstantInt::get(Type::getInt64Ty(Ctx), MD5Hash(F.getName())),
lib/Transforms/Instrumentation/InstrProfiling.cpp 676 StringRef Name = Inc->getName()->getName().substr(NamePrefix.size());
773 GV->setComdat(M->getOrInsertComdat(GV->getName()));
1005 User->setComdat(M->getOrInsertComdat(User->getName()));
lib/Transforms/Instrumentation/Instrumentation.cpp 81 std::string Name = F.getName();
lib/Transforms/Instrumentation/MemorySanitizer.cpp 1060 CheckReturnValue = SanitizeFunction && (F.getName() == "main");
1070 << F.getName() << "'\n");
3442 StackDescription << "----" << I.getName() << "@" << F.getName();
3442 StackDescription << "----" << I.getName() << "@" << F.getName();
3605 errs() << "ZZZ call " << CI->getCalledFunction()->getName() << "\n";
4593 if (!CompileKernel && F.getName() == kMsanModuleCtorName)
lib/Transforms/Instrumentation/PGOInstrumentation.cpp 638 LLVM_DEBUG(dbgs() << "Function Hash Computation for " << F.getName() << ":\n"
676 std::string OrigName = F.getName().str();
678 Twine(F.getName() + "." + Twine(FunctionHash)).str();
706 std::string OrigGAName = GA->getName().str();
707 GA->setName(Twine(GA->getName() + "." + Twine(FunctionHash)));
1169 std::string Msg = IPE.message() + std::string(" ") + F.getName().str() +
1200 Twine("Inconsistent number of counts in ") + F.getName().str()
1290 LLVM_DEBUG(dbgs() << "\nSetting branch weights for func " << F.getName()
1425 Twine(" profiling in \"") + F.getName().str() +
1593 F.getName().equals(ViewBlockFreqFuncName))) {
1602 dbgs() << "pgo-view-counts: " << Func.getFunc().getName() << "\n";
1608 F.getName().equals(ViewBlockFreqFuncName))) {
1611 WriteGraph(&Func, Twine("PGORawCounts_") + Func.getFunc().getName());
1613 ViewGraph(&Func, Twine("PGORawCounts_") + Func.getFunc().getName());
1615 dbgs() << "pgo-view-raw-counts: " << Func.getFunc().getName() << "\n";
1627 LLVM_DEBUG(dbgs() << "Set inline attribute to function: " << F->getName()
1632 LLVM_DEBUG(dbgs() << "Set cold attribute to function: " << F->getName()
1687 if (!Node->getName().empty())
1688 return Node->getName();
1779 return G->getFunc().getName();
lib/Transforms/Instrumentation/PGOMemOPSizeOpt.cpp 157 << MI->getCalledFunction()->getName()
lib/Transforms/Instrumentation/SanitizerCoverage.cpp 335 assert(CtorFunc->getName() == CtorName);
571 if (F.getName().find(".module_ctor") != std::string::npos)
573 if (F.getName().startswith("__sanitizer_"))
580 if (F.getName() == "__local_stdio_printf_options" ||
581 F.getName() == "__local_stdio_scanf_options")
lib/Transforms/Instrumentation/ThreadSanitizer.cpp 322 if (GV->getName().startswith("__llvm_gcov") ||
323 GV->getName().startswith("__llvm_gcda"))
441 if (F.getName() == kTsanModuleCtorName)
lib/Transforms/ObjCARC/ObjCARCExpand.cpp 93 LLVM_DEBUG(dbgs() << "ObjCARCExpand: Visiting Function: " << F.getName()
lib/Transforms/ObjCARC/ObjCARCOpts.cpp 2261 LLVM_DEBUG(dbgs() << "<<< ObjCARCOpt: Visiting Function: " << F.getName()
lib/Transforms/ObjCARC/ProvenanceAnalysisEvaluator.cpp 41 StringRef Name = V->getName();
lib/Transforms/Scalar/ADCE.cpp 302 LLVM_DEBUG(dbgs() << "post-dom root child is a return: " << BB->getName()
347 if (Callee->getName().equals(getInstrProfValueProfFuncName()))
406 LLVM_DEBUG(dbgs() << "mark block live: " << BBInfo.BB->getName() << '\n');
470 dbgs() << "\t" << BB->getName() << '\n';
473 dbgs() << "\t" << BB->getName() << '\n';
495 LLVM_DEBUG(dbgs() << "live control in: " << BB->getName() << '\n');
566 dbgs() << '\t' << BB->getName()
616 << BB->getName() << " -> " << Succ->getName()
616 << BB->getName() << " -> " << Succ->getName()
661 LLVM_DEBUG(dbgs() << "making unconditional " << BB->getName() << '\n');
lib/Transforms/Scalar/CallSiteSplitting.cpp 226 Copy->setName(I->getName());
350 LLVM_DEBUG(dbgs() << " " << *NewCI << " in " << SplitBlock->getName()
lib/Transforms/Scalar/ConstantHoisting.cpp 147 LLVM_DEBUG(dbgs() << "********** Function: " << Fn.getName() << '\n');
160 << Fn.getName() << '\n');
756 << Mat->getParent()->getName() << '\n'
880 << ") to BB " << IP->getParent()->getName() << '\n'
lib/Transforms/Scalar/CorrelatedValuePropagation.cpp 501 B.CreateBinOp(Opcode, WO->getLHS(), WO->getRHS(), WO->getName());
523 Opcode, SI->getLHS(), SI->getRHS(), SI->getName(), SI);
645 Instr->getName() + ".lhs.trunc");
647 Instr->getName() + ".rhs.trunc");
648 auto *BO = B.CreateBinOp(Instr->getOpcode(), LHS, RHS, Instr->getName());
649 auto *Zext = B.CreateZExt(BO, Instr->getType(), Instr->getName() + ".zext");
665 SDI->getName(), SDI);
687 SDI->getName(), SDI);
710 SDI->getName(), SDI);
732 CastInst::CreateZExtOrBitCast(Base, SDI->getType(), SDI->getName(), SDI);
lib/Transforms/Scalar/DeadStoreElimination.cpp 172 StringRef FnName = F->getName();
lib/Transforms/Scalar/DivRemPairs.cpp 209 RealRem->setName(RemInst->getName() + ".recomposed");
305 Sub->setName(RemInst->getName() + ".decomposed");
lib/Transforms/Scalar/EarlyCSE.cpp 840 << Curr->getName() << "' as " << *TorF << " in "
841 << BB->getName() << "\n");
lib/Transforms/Scalar/Float2Int.cpp 477 NewV = IRB.CreateICmp(P, NewOperands[0], NewOperands[1], I->getName());
490 NewV = IRB.CreateNeg(NewOperands[0], I->getName());
498 I->getName());
517 LLVM_DEBUG(dbgs() << "F2I: Looking at function " << F.getName() << "\n");
lib/Transforms/Scalar/GVN.cpp 746 SSAUpdate.Initialize(LI->getType(), LI->getName());
1099 << Pred->getName() << "': " << *LI << '\n');
1111 << Pred->getName() << "': " << *LI << '\n');
1119 << Pred->getName() << "': " << *LI << '\n');
1126 << Pred->getName() << "': " << *LI << '\n');
1154 LLVM_DEBUG(dbgs() << "Split critical edge " << OrigPred->getName() << "->"
1155 << LoadBB->getName() << '\n');
1245 LI->getType(), LoadPtr, LI->getName() + ".pre", LI->isVolatile(),
1493 << IntrinsicI->getParent()->getName() << "\n");
2232 Instr->setName(Instr->getName() + ".pre");
2384 CurInst->getName() + ".pre-phi", &CurrentBlock->front());
lib/Transforms/Scalar/GVNHoist.cpp 638 LLVM_DEBUG(dbgs() << "\nLooking at CHIs in: " << Pred->getName(););
654 << "\nCHI Inserted in BB: " << C.Dest->getName() << *C.I
799 LLVM_DEBUG(dbgs() << "\nInsertion a CHI for BB: " << IDFB->getName()
lib/Transforms/Scalar/GVNSink.cpp 564 LLVM_DEBUG(dbgs() << "GVNSink: running on function @" << F.getName()
853 Op->getName() + ".sink", &BBEnd->front());
lib/Transforms/Scalar/IndVarSimplify.cpp 458 PHINode *NewPHI = PHINode::Create(Int32Ty, 2, PN->getName()+".int", PN);
464 Incr->getName()+".int", Incr);
469 Compare->getName());
1132 NarrowBO->getName());
1223 NarrowBO->getName());
1505 NarrowBO->getName());
1563 PHINode::Create(DU.WideDef->getType(), 1, UsePhi->getName() + ".wide",
2884 return A->getName() < B->getName();
2884 return A->getName() < B->getName();
lib/Transforms/Scalar/InductiveRangeCheckElimination.cpp 1269 return IsSignedPredicate ? B.CreateSExt(V, RangeTy, "wide." + V->getName())
1270 : B.CreateZExt(V, RangeTy, "wide." + V->getName());
1312 PHINode *NewPHI = PHINode::Create(PN.getType(), 2, PN.getName() + ".copy",
1443 << " at block " << InsertPt->getParent()->getName()
1470 << " at block " << InsertPt->getParent()->getName()
1871 dbgs() << L->getHeader()->getParent()->getName() << ": ";
lib/Transforms/Scalar/JumpThreading.cpp 318 dbgs() << "LVI for function '" << F.getName() << "':\n";
359 LLVM_DEBUG(dbgs() << "Jump threading on function '" << F.getName() << "'\n");
408 LLVM_DEBUG(dbgs() << " JT: Deleting dead block '" << BB.getName()
1107 LLVM_DEBUG(dbgs() << " In block '" << BB->getName()
1119 LLVM_DEBUG(dbgs() << " In block '" << BB->getName()
1474 LoadI->getName() + ".pr", false, MaybeAlign(LoadI->getAlignment()),
1609 dbgs() << " BB '" << BB->getName()
1611 << " for pred '" << PredValue.second->getName() << "'.\n";
1931 LLVM_DEBUG(dbgs() << " Not threading across BB '" << BB->getName()
1943 << (BBIsHeader ? "loop header BB '" : "block BB '") << BB->getName()
1945 << SuccBB->getName() << "' - it might create an irreducible loop!\n";
1953 LLVM_DEBUG(dbgs() << " Not threading BB '" << BB->getName()
1969 LLVM_DEBUG(dbgs() << " Threading edge from '" << PredBB->getName()
1970 << "' to '" << SuccBB->getName()
1986 BB->getName()+".thread",
2002 PHINode *NewPN = PHINode::Create(PN->getType(), 1, PN->getName(), NewBB);
2011 New->setName(BI->getName());
2078 SSAUpdate.Initialize(I.getType(), I.getName());
2270 LLVM_DEBUG(dbgs() << " Not duplicating loop header '" << BB->getName()
2271 << "' into predecessor block '" << PredBBs[0]->getName()
2279 LLVM_DEBUG(dbgs() << " Not duplicating BB '" << BB->getName()
2298 LLVM_DEBUG(dbgs() << " Duplicating block '" << BB->getName()
2299 << "' into end of '" << PredBB->getName()
2352 New->setName(BI->getName());
2398 SSAUpdate.Initialize(I.getType(), I.getName());
2733 << GuardedBlock->getName() << "\n");
lib/Transforms/Scalar/LICM.cpp 703 LLVM_DEBUG(dbgs() << "LICM using " << InitialPreheader->getName()
704 << " as hoist destination for " << BB->getName()
725 BasicBlock::Create(C, Orig->getName() + ".licm", Orig->getParent());
731 LLVM_DEBUG(dbgs() << "LICM created " << New->getName()
732 << " as hoist destination for " << Orig->getName()
953 << HoistPoint->getParent()->getName()
1393 if (!I.getName().empty())
1394 New->setName(I.getName() + ".le");
1424 OInst->getName() + ".lcssa", &ExitBlock.front());
1666 LLVM_DEBUG(dbgs() << "LICM hoisting to " << Dest->getName() << ": " << I
1756 I->getName() + ".lcssa", &BB->front());
2119 SomePtr->getName() + ".promoted", Preheader->getTerminator());
lib/Transforms/Scalar/LoopAccessAnalysisPrinter.cpp 20 OS << "Loop access info in function '" << F.getName() << "':\n";
21 OS.indent(2) << L.getHeader()->getName() << ":\n";
lib/Transforms/Scalar/LoopDataPrefetch.cpp 248 << L->getHeader()->getParent()->getName() << ": " << *L);
lib/Transforms/Scalar/LoopDistribute.cpp 244 dbgs() << " " << I->getParent()->getName() << ":" << *I << "\n";
669 << L->getHeader()->getParent()->getName()
lib/Transforms/Scalar/LoopFuse.cpp 269 << (GuardBranch ? GuardBranch->getName() : "nullptr") << "\n"
270 << "\tPreheader: " << (Preheader ? Preheader->getName() : "nullptr")
272 << "\tHeader: " << (Header ? Header->getName() : "nullptr") << "\n"
274 << (ExitingBlock ? ExitingBlock->getName() : "nullptr") << "\n"
275 << "\tExitBB: " << (ExitBlock ? ExitBlock->getName() : "nullptr")
277 << "\tLatch: " << (Latch ? Latch->getName() : "nullptr") << "\n"
279 << (getEntryBlock() ? getEntryBlock()->getName() : "nullptr")
341 << "[" << Preheader->getParent()->getName() << "]: "
404 OS << FC.Preheader->getName();
530 LLVM_DEBUG(dbgs() << "Performing Loop Fusion on function " << F.getName()
1237 LCV->getType(), 2, LCPHI->getName() + ".afterFC0", L1HeaderIP);
1328 << "[" << FC0.Preheader->getParent()->getName()
1329 << "]: " << NV("Cand1", StringRef(FC0.Preheader->getName()))
1330 << " and " << NV("Cand2", StringRef(FC1.Preheader->getName()))
1479 LCV->getType(), 2, LCPHI->getName() + ".afterFC0", L1HeaderIP);
lib/Transforms/Scalar/LoopIdiomRecognize.cpp 360 StringRef Name = L->getHeader()->getParent()->getName();
398 << CurLoop->getHeader()->getParent()->getName()
399 << "] Countable Loop %" << CurLoop->getHeader()->getName()
1198 LLVM_DEBUG(dbgs() << " " << CurLoop->getHeader()->getParent()->getName()
1210 << CurLoop->getHeader()->getParent()->getName()
1212 << CurLoop->getHeader()->getName() << "\n");
2008 << ExitBB->getName() << " in phi node " << PHI << "\n");
2292 BasicBlock::Create(Context, ComparedEqual->getName() + ".unequalbb", Func,
2295 BasicBlock::Create(Context, ComparedEqual->getName() + ".equalbb", Func,
2635 Len->setName(Len->getName() + ".bytecount");
2658 PtrA->getName() + ".vs." + PtrB->getName() + ".eqcmp"));
2658 PtrA->getName() + ".vs." + PtrB->getName() + ".eqcmp"));
lib/Transforms/Scalar/LoopInterchange.cpp 275 << L.getHeader()->getParent()->getName() << " Loop: %"
276 << L.getHeader()->getName() << '\n');
lib/Transforms/Scalar/LoopLoadElimination.cpp 452 LLVM_DEBUG(dbgs() << "\nIn \"" << L->getHeader()->getParent()->getName()
lib/Transforms/Scalar/LoopRerollPass.cpp 1653 LLVM_DEBUG(dbgs() << "LRR: F[" << Header->getParent()->getName() << "] Loop %"
1654 << Header->getName() << " (" << L->getNumBlocks()
lib/Transforms/Scalar/LoopSimplifyCFG.cpp 167 dbgs() << "\t" << BB->getName() << "\n";
173 dbgs() << "\t" << BB->getName() << "\n";
459 LLVM_DEBUG(dbgs() << "Deleting dead loop block " << BB->getName()
481 LLVM_DEBUG(dbgs() << "Replacing terminator of " << BB->getName()
483 << TheOnlySucc->getName() << "\n");
538 LLVM_DEBUG(dbgs() << "In function " << Header->getParent()->getName()
550 << Header->getName() << "\n");
558 << "Give up constant terminator folding in loop " << Header->getName()
569 << Header->getName() << ": we don't currently"
580 << " terminators in loop " << Header->getName() << "\n");
588 << " dead blocks in loop " << Header->getName() << "\n");
lib/Transforms/Scalar/LoopSink.cpp 230 IC->setName(I.getName());
238 LLVM_DEBUG(dbgs() << "Sinking a clone of " << I << " To: " << N->getName()
242 LLVM_DEBUG(dbgs() << "Sinking " << I << " To: " << MoveBB->getName() << '\n');
lib/Transforms/Scalar/LoopStrengthReduce.cpp 2482 Cond->setName(L->getHeader()->getName() + ".termcond");
lib/Transforms/Scalar/LoopUnrollAndJamPass.cpp 308 << L->getHeader()->getParent()->getName() << "] Loop %"
309 << L->getHeader()->getName() << "\n");
lib/Transforms/Scalar/LoopUnrollPass.cpp 1023 << L->getHeader()->getParent()->getName() << "] Loop %"
1024 << L->getHeader()->getName() << "\n");
lib/Transforms/Scalar/LoopUnswitch.cpp 308 LLVM_DEBUG(dbgs() << "NOT unswitching loop %" << L->getHeader()->getName()
885 << currentLoop->getHeader()->getName()
894 << currentLoop->getHeader()->getName()
1003 << loopHeader->getName() << " [" << L->getBlocks().size()
1005 << L->getHeader()->getParent()->getName()
1237 << loopHeader->getName() << " [" << L->getBlocks().size()
1238 << " blocks] in Function " << F->getName() << " when '"
lib/Transforms/Scalar/MemCpyOptimizer.cpp 887 cpyDest->getName(), C);
893 CS.getArgument(i)->getType(), Dest->getName(), C));
lib/Transforms/Scalar/MergeICmps.cpp 395 LLVM_DEBUG(dbgs() << "Block '" << Comparison.BB->getName()
453 LLVM_DEBUG(dbgs() << "block '" << Comparison.BB->getName()
471 << "Split initial block '" << Comparison.BB->getName()
477 << "ignoring initial block '" << Comparison.BB->getName()
575 return Comparisons[0].BB->getName();
578 return i + Cmp.BB->getName().size();
591 append(Comparisons[0].BB->getName());
594 if (!BB->getName().empty()) {
596 append(BB->getName());
625 << BB->getName() << "\n");
693 << EntryBlock_->getName() << "\n");
707 LLVM_DEBUG(dbgs() << "Merging block " << Comparisons_[I].BB->getName()
708 << " into " << Comparisons_[I + 1].BB->getName()
726 LLVM_DEBUG(dbgs() << "Updating jump into old chain from " << Pred->getName()
739 << EntryBlock_->getName() << " to "
740 << NextCmpBlock->getName() << "\n");
749 LLVM_DEBUG(dbgs() << "Deleting merged block " << Cmp.BB->getName() << "\n");
865 LLVM_DEBUG(dbgs() << "MergeICmpsLegacyPass: " << F.getName() << "\n");
lib/Transforms/Scalar/MergedLoadStoreMotion.cpp 217 auto *NewPN = PHINode::Create(Opd1->getType(), 2, Opd2->getName() + ".sink",
lib/Transforms/Scalar/PlaceSafepoints.cpp 439 return F.getName().equals(GCSafepointPollName);
519 return a->getParent()->getName() < b->getParent()->getName();
519 return a->getParent()->getName() < b->getParent()->getName();
lib/Transforms/Scalar/Reassociate.cpp 172 LLVM_DEBUG(dbgs() << "Calculated Rank[" << Arg.getName() << "] = " << Rank
213 LLVM_DEBUG(dbgs() << "Calculated Rank[" << V->getName() << "] = " << Rank
846 I->setName(I->getName()+".neg");
916 BinaryOperator *NewNeg = CreateNeg(V, V->getName() + ".neg", BI, BI);
lib/Transforms/Scalar/RewriteStatepointsForGC.cpp 364 return V->hasName() ? (V->getName() + Suffix).str() : DefaultName.str();
380 dbgs() << " " << V->getName() << " " << *V << "\n";
383 dbgs() << "Safepoint For: " << Call->getCalledValue()->getName() << "\n";
615 LLVM_DEBUG(dbgs() << "fBDV-cached: " << I->getName() << " -> "
616 << Cached->getName() << "\n");
705 << (getBaseValue() ? getBaseValue()->getName() : "nullptr") << "): ";
1125 << " for: " << BDV->getName() << " from: "
1126 << (Cache.count(BDV) ? Cache[BDV]->getName().str() : "none")
1127 << " to: " << Base->getName() << "\n");
1569 StringRef Name = Call->hasName() ? Call->getName() : "";
2104 ClonedValue->setName(Instr->getName() + ".remat");
lib/Transforms/Scalar/SCCP.cpp 282 LLVM_DEBUG(dbgs() << "Marking Block Executable: " << BB->getName() << '\n');
461 << "Function '" << F->getName() << "'\n";
562 LLVM_DEBUG(dbgs() << "Marking Edge Executable: " << Source->getName()
563 << " -> " << Dest->getName() << '\n');
1804 LLVM_DEBUG(dbgs() << "SCCP on function '" << F.getName() << "'\n");
1929 LLVM_DEBUG(dbgs() << "Can't zap returns of the function : " << F.getName()
2221 LLVM_DEBUG(dbgs() << "Found that GV '" << GV->getName()
lib/Transforms/Scalar/SROA.cpp 1269 PN.getName() + ".sroa.speculated");
1304 (PN.getName() + ".sroa.speculate.load." + Pred->getName()));
1304 (PN.getName() + ".sroa.speculate.load." + Pred->getName()));
1367 LI->getName() + ".sroa.speculate.load.true");
1369 LI->getName() + ".sroa.speculate.load.false");
1384 LI->getName() + ".sroa.speculated");
2374 IRB.SetNamePrefix(Twine(NewAI.getName()) + "." + Twine(BeginOffset) + ".");
2399 StringRef OldName = OldPtr->getName();
2519 LI.isVolatile(), LI.getName());
2556 LI.isVolatile(), LI.getName());
2968 OtherPtr->getName() + ".");
3021 OtherPtr->getName() + ".");
3383 Splitter.emitSplitOps(LI.getType(), V, LI.getName() + ".fca");
3429 Splitter.emitSplitOps(V->getType(), V, V->getName() + ".fca");
3865 PartPtrTy, BasePtr->getName() + "."),
3867 LI->getName());
3923 PartPtrTy, StoreBasePtr->getName() + "."),
4007 LoadPartPtrTy, LoadBasePtr->getName() + "."),
4009 LI->getName());
4019 StorePartPtrTy, StoreBasePtr->getName() + "."),
4168 AI.getName() + ".sroa." + Twine(P.begin() - AS.begin()), &AI);
4559 LLVM_DEBUG(dbgs() << "SROA function: " << F.getName() << "\n");
lib/Transforms/Scalar/Scalarizer.cpp 265 CV[0] = Builder.CreateBitCast(V, NewPtrTy, V->getName() + ".i0");
269 V->getName() + ".i" + Twine(I));
294 V->getName() + ".i" + Twine(I));
453 Res[Elem] = Split(Builder, Op[Elem], I.getName() + ".i" + Twine(Elem));
476 I.getName() + ".i" + Twine(Elem));
545 CI.getName() + ".i" + Twine(Elem));
571 SI.getName() + ".i" + Twine(I));
576 SI.getName() + ".i" + Twine(I));
635 GEPI.getName() + ".i" + Twine(I));
657 CI.getName() + ".i" + Twine(I));
678 BCI.getName() + ".i" + Twine(I));
693 V = Builder.CreateBitCast(V, MidTy, V->getName() + ".cast");
707 BCI.getName() + ".i" + Twine(ResI)
710 BCI.getName() + ".i" + Twine(ResI));
754 PHI.getName() + ".i" + Twine(I));
786 LI.getName() + ".i" + Twine(I));
844 Op->getName() + ".upto" + Twine(I));
lib/Transforms/Scalar/SeparateConstOffsetFromGEP.cpp 675 BO->getName(), IP);
678 BO->getName(), IP);
1075 GEP->getName(), GEP);
1105 NewGEP = new BitCastInst(NewGEP, GEP->getType(), GEP->getName(), GEP);
lib/Transforms/Scalar/SimpleLoopUnswitch.cpp 229 PN.getName() + ".split", InsertPt);
1027 ExitBB->setName(Twine(MergeBB->getName()) + ".split");
2849 LLVM_DEBUG(dbgs() << "Unswitching loop in " << F.getName() << ": " << L
2928 LLVM_DEBUG(dbgs() << "Unswitching loop in " << F.getName() << ": " << *L
lib/Transforms/Scalar/SpeculateAroundPHIs.cpp 576 LLVM_DEBUG(dbgs() << " Split critical edge from: " << PredBB->getName()
659 NewI->setName(Twine(OrigI->getName()) + "." + Twine(PredIdx));
705 Twine(OrigI->getName()) + ".phi");
785 << PredBB->getName() << "\n");
lib/Transforms/Scalar/StructurizeCFG.cpp 428 Arg->getName() + ".inv",
521 << RN->getEntry()->getName() << " Loop Depth: "
958 LLVM_DEBUG(dbgs() << "BB: " << Br->getParent()->getName()
lib/Transforms/Scalar/TailRecursionElimination.cpp 597 I->getName() + ".tr", InsertPos);
lib/Transforms/Utils/BasicBlockUtils.cpp 213 LLVM_DEBUG(dbgs() << "Merging: " << BB->getName() << " into "
214 << PredBB->getName() << "\n");
410 SplitIt, Name.empty() ? Old->getName() + ".split" : Name);
576 PHINode::Create(PN->getType(), Preds.size(), PN->getName() + ".ph", BI);
616 BB->getContext(), BB->getName() + Suffix, BB->getParent(), BB);
675 OrigBB->getName() + Suffix1,
716 OrigBB->getName() + Suffix2,
lib/Transforms/Utils/BreakCriticalEdges.cpp 162 TIBB->getName() + "." + DestBB->getName() + "_crit_edge");
162 TIBB->getName() + "." + DestBB->getName() + "_crit_edge");
lib/Transforms/Utils/CloneFunction.cpp 47 NewBB->setName(BB->getName() + NameSuffix);
59 NewInst->setName(I.getName() + NameSuffix);
254 F->getName(), F->getParent());
260 DestI->setName(I.getName()); // Copy the name over...
312 if (BB->hasName()) NewBB->setName(BB->getName()+NameSuffix);
364 NewInst->setName(II->getName()+NameSuffix);
422 NewInst->setName(OldTI->getName()+NameSuffix);
849 NewBB->setName(PredBB->getName() + ".split");
864 New->setName(BI->getName());
lib/Transforms/Utils/CloneModule.cpp 66 (Constant*) nullptr, I->getName(),
78 I.getAddressSpace(), I.getName(), New.get());
95 I->getAddressSpace(), I->getName(), New.get());
99 nullptr, I->getName(), nullptr,
109 I->getLinkage(), I->getName(), New.get());
159 DestI->setName(J->getName());
lib/Transforms/Utils/CodeExtractor.cpp 212 LLVM_DEBUG(dbgs() << "Region front block: " << Result.front()->getName()
234 << "Problematic source BB: " << BB->getName() << "\n"
235 << "Problematic destination BB: " << PBB->getName()
677 PN->getName() + ".ce", &NewBB->front());
720 ExitBB->getName() + ".split",
734 PN.getName() + ".ce", NewBB->getFirstNonPHI());
748 Block->splitBasicBlock(RI->getIterator(), Block->getName() + ".ret");
820 ? (header->getName().empty() ? "extracted" : header->getName().str())
820 ? (header->getName().empty() ? "extracted" : header->getName().str())
825 oldFunction->getName() + "." + SuffixToUse, M);
938 StructTy, &*AI, Idx, "gep_" + inputs[i]->getName(), TI);
940 "loadgep_" + inputs[i]->getName(), TI);
955 AI->setName(inputs[i]->getName());
957 AI->setName(outputs[i]->getName()+".out");
1094 nullptr, output->getName() + ".loc",
1121 StructArgTy, Struct, Idx, "gep_" + StructValues[i]->getName());
1160 StructArgTy, Struct, Idx, "gep_reload_" + outputs[i]->getName());
1167 outputs[i]->getName() + ".reload");
1202 OldTarget->getName() + ".exitStub",
1263 StructArgTy, &*OAI, Idx, "gep_" + outputs[i]->getName(),
lib/Transforms/Utils/DemoteRegToStack.cpp 37 I.getName()+".reg2mem", AllocaPoint);
40 I.getName() + ".reg2mem", &F->getEntryBlock().front());
75 V = new LoadInst(I.getType(), Slot, I.getName() + ".reload",
84 Value *V = new LoadInst(I.getType(), Slot, I.getName() + ".reload",
122 P->getName()+".reg2mem", AllocaPoint);
126 P->getName() + ".reg2mem",
147 new LoadInst(P->getType(), Slot, P->getName() + ".reload", &*InsertPt);
lib/Transforms/Utils/Evaluator.cpp 474 AI->getName(), /*TLMode=*/GlobalValue::NotThreadLocal,
lib/Transforms/Utils/FunctionImportUtils.cpp 103 SGV->getName(),
105 return SGV->getName();
259 auto Name = GV.getName().str();
273 RenamedComdats.try_emplace(C, M.getOrInsertComdat(GV.getName()));
lib/Transforms/Utils/ImportedFunctionsInliningStatistics.cpp 26 auto &ValueLookup = NodesMap[F.getName()];
53 auto It = NodesMap.find(Caller.getName());
lib/Transforms/Utils/InlineFunction.cpp 171 OuterResumeDest->getName() + ".body");
182 OuterPHI->getName() + ".lpad-body",
727 CatchSwitch->getNumHandlers(), CatchSwitch->getName(),
950 MDB.createAnonymousAliasScopeDomain(CalledFunc->getName());
954 std::string Name = CalledFunc->getName();
957 Name += A->getName();
1305 Arg->getName(), &*Caller->begin()->begin());
2276 CalledFunc->getName() + ".exit");
2283 CalledFunc->getName() + ".exit");
2316 PHI = PHINode::Create(RTy, Returns.size(), TheCall->getName(),
lib/Transforms/Utils/IntegerDivision.cpp 218 SpecialCases->setName(Twine(SpecialCases->getName(), "_udiv-special-cases"));
lib/Transforms/Utils/LCSSA.cpp 135 SSAUpdate.Initialize(I->getType(), I->getName());
148 I->getName() + ".lcssa", &ExitBB->front());
lib/Transforms/Utils/LibCallsShrinkWrap.cpp 81 LLVM_DEBUG(dbgs() << "CDCE calls: " << CI->getCalledFunction()->getName()
lib/Transforms/Utils/Local.cpp 762 LLVM_DEBUG(dbgs() << "Looking to fold " << BB->getName() << " into "
763 << Succ->getName() << "\n");
787 << "Can't fold, phi node " << PN->getName() << " in "
788 << Succ->getName() << " is conflicting with "
789 << BBPN->getName() << " with regard to common predecessor "
790 << IBB->getName() << "\n");
803 LLVM_DEBUG(dbgs() << "Can't fold, phi node " << PN->getName()
804 << " in " << Succ->getName()
806 << "predecessor " << IBB->getName() << "\n");
1981 BB->splitBasicBlock(CI->getIterator(), CI->getName() + ".noexc");
1998 UnwindEdge, InvokeArgs, OpBundles, CI->getName(), BB);
2192 CatchSwitch->getName(), CatchSwitch);
2472 LLVM_DEBUG(dbgs() << "Replace dominated use of '" << From->getName()
2896 TLI->getLibFunc(F->getName(), Func) && TLI->hasOptimizedCodeGen(Func) &&
lib/Transforms/Utils/LoopRotationUtils.cpp 107 SSA.Initialize(OrigHeaderVal->getType(), OrigHeaderVal->getName());
371 C->setName(Inst->getName());
458 NewPH->setName(NewHeader->getName() + ".lr.ph");
615 LLVM_DEBUG(dbgs() << "Folding loop latch " << Latch->getName() << " into "
616 << LastExit->getName() << "\n");
lib/Transforms/Utils/LoopSimplify.cpp 152 << PreheaderBB->getName() << "\n");
378 Header->getName() + ".backedge", F);
383 << BEBlock->getName() << "\n");
394 PN->getName()+".be", BETerminator);
501 << P->getName() << "\n");
526 << ExitingBlock->getName() << "\n");
669 << ExitingBlock->getName() << "\n");
lib/Transforms/Utils/LoopUnroll.cpp 462 LLVM_DEBUG(dbgs() << "COMPLETELY UNROLLING loop %" << Header->getName()
472 LLVM_DEBUG(dbgs() << "PEELING loop %" << Header->getName()
489 LLVM_DEBUG(dbgs() << "UNROLLING loop %" << Header->getName() << " by "
lib/Transforms/Utils/LoopUnrollAndJam.cpp 219 << Header->getName() << " with trip count " << TripCount
233 LLVM_DEBUG(dbgs() << "UNROLL AND JAMMING loop %" << Header->getName()
lib/Transforms/Utils/LoopUnrollPeel.cpp 677 InsertTop->setName(Header->getName() + ".peel.begin");
678 InsertBot->setName(Header->getName() + ".peel.next");
679 NewPreHeader->setName(PreHeader->getName() + ".peel.newph");
723 InsertBot->setName(Header->getName() + ".peel.next");
lib/Transforms/Utils/LoopUnrollRuntime.cpp 101 PHINode *NewPN = PHINode::Create(PN.getType(), 2, PN.getName() + ".unr",
256 PHINode *NewPN = PHINode::Create(PN.getType(), 2, PN.getName() + ".unr",
362 NewIdx->getName() + ".sub");
364 Builder.CreateIsNotNull(IdxSub, NewIdx->getName() + ".cmp");
671 NewPreHeader->setName(PreHeader->getName() + ".new");
683 EpilogPreHeader->setName(Header->getName() + ".epil.preheader");
688 PrologPreHeader->setName(Header->getName() + ".prol.preheader");
691 PrologExit->setName(Header->getName() + ".prol.loopexit");
694 NewPreHeader->setName(PreHeader->getName() + ".new");
902 NewIdx->getName() + ".nsub");
905 IdxCmp = B2.CreateIsNotNull(IdxSub, NewIdx->getName() + ".ncmp");
907 IdxCmp = B2.CreateIsNull(IdxSub, NewIdx->getName() + ".ncmp");
lib/Transforms/Utils/LoopUtils.cpp 96 << NewExitBB->getName() << "\n");
lib/Transforms/Utils/LoopVersioning.cpp 89 RuntimeCheckBB->setName(VersionedLoop->getHeader()->getName() +
96 nullptr, VersionedLoop->getHeader()->getName() + ".ph");
140 PN = PHINode::Create(Inst->getType(), 2, Inst->getName() + ".lver",
lib/Transforms/Utils/LowerSwitch.cpp 365 Val->getName()+".off",
lib/Transforms/Utils/MetaRenamer.cpp 96 StringRef Name = AI->getName();
105 StringRef Name = GI->getName();
125 StringRef Name = F.getName();
lib/Transforms/Utils/MisExpect.cpp 103 << "Function: " << I->getFunction()->getName() << "\n");
lib/Transforms/Utils/ModuleUtils.cpp 256 if (GV.isDeclaration() || GV.getName().startswith("llvm.") ||
260 Md5.update(GV.getName());
lib/Transforms/Utils/NameAnonGlobals.cpp 43 auto Name = F.getName();
49 auto Name = GV.getName();
lib/Transforms/Utils/PredicateInfo.cpp 562 B.CreateCall(IF, Op, Op->getName() + "." + Twine(Counter++));
814 OS << "PredicateInfo for function: " << F.getName() << "\n";
lib/Transforms/Utils/PromoteMemoryToRegister.cpp 854 Allocas[AllocaNo]->getName() + "." + Twine(Version++),
lib/Transforms/Utils/SSAUpdater.cpp 348 BaseName = SomeVal->getName();
lib/Transforms/Utils/SSAUpdaterBulk.cpp 55 << BB->getName() << "\n");
64 << " in " << getUserBB(U)->getName() << "\n");
lib/Transforms/Utils/SimplifyCFG.cpp 1409 BB1V->getName() + "." + BB2V->getName(), BI));
1409 BB1V->getName() + "." + BB2V->getName(), BI));
1595 Op->getName() + ".sink", &BBEnd->front());
2223 BasicBlock::Create(BB->getContext(), RealDest->getName() + ".critedge",
2244 N->setName(BBI->getName() + ".c");
2406 << " T: " << IfTrue->getName()
2407 << " F: " << IfFalse->getName() << "\n");
2717 Builder.CreateNot(NewCond, PBI->getCondition()->getName() + ".not");
2748 BonusInst->setName(BonusInst->getName() + ".old");
2758 Cond->setName(CondInPred->getName() + ".old");
3247 BI->getCondition()->getName() + ".pr", &BB->front());
3370 PBICond = Builder.CreateNot(PBICond, PBICond->getName() + ".not");
3374 BICond = Builder.CreateNot(BICond, BICond->getName() + ".not");
3422 Builder.CreateSelect(PBICond, PBIV, BIV, PBIV->getName() + ".mux"));
4396 Sub = Builder.CreateAdd(Sub, Offset, Sub->getName() + ".off");
5484 StringRef FuncName = Fn->getName();
lib/Transforms/Utils/SimplifyIndVar.cpp 306 SDiv->getName() + ".udiv", SDiv);
323 Rem->getName() + ".urem", Rem);
488 SI->getBinaryOp(), SI->getLHS(), SI->getRHS(), SI->getName(), SI);
lib/Transforms/Utils/SimplifyLibCalls.cpp 1280 StringRef CalleeName = CalleeFn->getName();
1283 StringRef CallerName = CI->getFunction()->getName();
1457 TLI->getLibFunc(CalleeFn->getName(), LibFn) && TLI->has(LibFn)) {
1639 StringRef Name = Callee->getName();
1762 StringRef Name = Callee->getName();
1788 StringRef Name = Callee->getName();
1805 Intrinsic::ID IID = Callee->getName().startswith("fmin") ? Intrinsic::minnum
1814 StringRef LogNm = LogFn->getName();
1969 if (TLI->has(LibFunc_sqrtf) && (Callee->getName() == "sqrt" ||
2035 StringRef Name = Callee->getName();
2053 if (F && TLI->getLibFunc(F->getName(), Func) && TLI->has(Func) &&
2054 ((Func == LibFunc_atan && Callee->getName() == "tan") ||
2055 (Func == LibFunc_atanf && Callee->getName() == "tanf") ||
2056 (Func == LibFunc_atanl && Callee->getName() == "tanl")))
2322 return GV->getName() == "stderr";
2965 if (UnsafeFPShrink && hasFloatVersion(CI->getCalledFunction()->getName()))
2969 if (hasFloatVersion(CI->getCalledFunction()->getName()))
lib/Transforms/Utils/SplitModule.cpp 185 return a.second->getData()->getName() > b.second->getData()->getName();
185 return a.second->getData()->getName() > b.second->getData()->getName();
196 << I.first << ") ----> " << I.second->getData()->getName()
204 LLVM_DEBUG(dbgs() << "----> " << (*MI)->getName()
237 Name = GV->getName();
lib/Transforms/Utils/SymbolRewriter.cpp 182 std::string Name = Regex(Pattern).sub(Transform, C.getName(), &Error);
184 report_fatal_error("unable to transforn " + C.getName() + " in " +
187 if (C.getName() == Name)
191 rewriteComdat(M, GO, C.getName(), Name);
lib/Transforms/Vectorize/LoadStoreVectorizer.cpp 1211 UI->getName());
1232 Builder.CreateExtractElement(LI, Builder.getInt32(I), CV->getName());
lib/Transforms/Vectorize/LoopVectorizationLegality.cpp 673 TLI->isFunctionVectorizable(CI->getCalledFunction()->getName()))) {
680 TLI->getLibFunc(CI->getCalledFunction()->getName(), Func) &&
1107 LLVM_DEBUG(dbgs() << "LV: Found a loop: " << TheLoop->getHeader()->getName()
lib/Transforms/Vectorize/LoopVectorize.cpp 2496 Cloned->setName(Instr->getName() + ".cloned");
3224 StringRef FnName = CI->getCalledFunction()->getName();
4266 StringRef FnName = CI->getCalledFunction()->getName();
7119 auto *FirstVPBBForBB = new VPBasicBlock(BB->getName());
7183 VPBB->setName(BB->hasName() ? BB->getName() + "." + Twine(VPBBsForBB++)
7496 << L->getHeader()->getParent()->getName() << "\"\n");
7515 << L->getHeader()->getParent()->getName() << "\" from "
lib/Transforms/Vectorize/SLPVectorizer.cpp 3384 dbgs() << " " << X->getName();
3503 ViewGraph(this, "SLP" + F->getName(), false, Str);
4544 << BB->getName() << "\n");
4860 LLVM_DEBUG(dbgs() << "SLP: schedule block " << BS->BB->getName() << "\n");
5293 LLVM_DEBUG(dbgs() << "SLP: Analyzing blocks in " << F.getName() << ".\n");
5328 LLVM_DEBUG(dbgs() << "SLP: vectorized \"" << F.getName() << "\"\n");
lib/Transforms/Vectorize/VPlan.cpp 120 LLVM_DEBUG(dbgs() << "LV: created " << NewBB->getName() << '\n');
143 LLVM_DEBUG(dbgs() << "LV: draw edge from" << PredBB->getName() << '\n');
194 << " in BB:" << NewBB->getName() << '\n');
lib/Transforms/Vectorize/VPlanHCFGBuilder.cpp 116 LLVM_DEBUG(dbgs() << "Creating VPBasicBlock for " << BB->getName() << "\n");
117 VPBasicBlock *VPBB = new VPBasicBlock(BB->getName());
tools/bugpoint/BugDriver.cpp 245 outs() << " " << Funcs[i]->getName();
256 outs() << " " << GVs[i]->getName();
tools/bugpoint/CrashDebugger.cpp 250 assert(CMF->getName() == Funcs[i]->getName() && "wrong name");
250 assert(CMF->getName() == Funcs[i]->getName() && "wrong name");
457 outs() << " " << BBs[i]->getName();
492 BlockInfo.emplace_back(BB->getParent()->getName(), BB->getName());
492 BlockInfo.emplace_back(BB->getParent()->getName(), BB->getName());
577 outs() << " " << BBs[i]->getName();
599 BlockInfo.emplace_back(BB->getParent()->getName(), BB->getName());
599 BlockInfo.emplace_back(BB->getParent()->getName(), BB->getName());
680 outs() << " " << BBs[i]->getName();
689 BlockInfo.emplace_back(BB->getParent()->getName(), BB->getName());
689 BlockInfo.emplace_back(BB->getParent()->getName(), BB->getName());
1121 FunctionNames.push_back(F.getName());
tools/bugpoint/ExtractFunction.cpp 314 if (I->hasName() && I->getName()[0] == '\01')
315 I->setName(I->getName().substr(1));
348 << SafeFn->getName() << "' and from test function '"
349 << TestFn->getName() << "'.\n";
398 OS << BB->getParent()->getName() << " " << BB->getName() << "\n";
398 OS << BB->getParent()->getName() << " " << BB->getName() << "\n";
tools/bugpoint/Miscompilation.cpp 392 MisCompFunctions.emplace_back(F->getName(), F->getFunctionType());
418 MisCompFunctions.emplace_back(I->getName(), I->getFunctionType());
492 outs() << BBs[i]->getName() << " ";
589 MisCompFunctions.emplace_back(I->getName(), I->getFunctionType());
803 oldMain->getName(), Test.get());
810 I->setName(OI->getName()); // Copy argument names from oldMain
838 Function *TestFn = Test->getFunction(F->getName());
844 ConstantDataArray::getString(F->getContext(), F->getName());
847 GlobalValue::InternalLinkage, InitArray, F->getName() + "_name");
867 GlobalValue::InternalLinkage, NullPtr, F->getName() + ".fpcache");
873 F->getName() + "_wrapper", F->getParent());
tools/clang/lib/CodeGen/Address.h 62 return getPointer()->getName();
tools/clang/lib/CodeGen/BackendUtil.cpp 1605 if (GV->getName() != "llvm.embedded.module" &&
1606 GV->getName() != "llvm.cmdline")
tools/clang/lib/CodeGen/CGBlocks.cpp 785 *new CGBlockInfo(block, CGF.CurFn->getName());
909 CGBlockInfo blockInfo(blockExpr->getBlockDecl(), CurFn->getName());
2951 IdentifierInfo &II = CGM.getContext().Idents.get(C->getName());
tools/clang/lib/CodeGen/CGBuiltin.cpp 534 Builder.CreateBitCast(ArgValue, DestType, ArgValue->getName().data());
tools/clang/lib/CodeGen/CGCUDANV.cpp 235 CGF.CurFn->getName());
tools/clang/lib/CodeGen/CGCall.cpp 1815 ConstructDefaultFnAttrList(F.getName(), F.hasOptNone(),
4304 CGM.ConstructAttributeList(CalleePtr->getName(), CallInfo,
tools/clang/lib/CodeGen/CGDebugInfo.cpp 1925 return InitFn->getName();
3555 LinkageName = Fn->getName();
3579 Name = Fn->getName();
tools/clang/lib/CodeGen/CGDecl.cpp 256 GV->setComdat(TheModule.getOrInsertComdat(GV->getName()));
tools/clang/lib/CodeGen/CGException.cpp 267 if (GV->getName().startswith("OBJC_EHTYPE"))
278 if (GV->getName().startswith("OBJC_EHTYPE"))
tools/clang/lib/CodeGen/CGExpr.cpp 2758 StringRef FnName = CurFn->getName();
tools/clang/lib/CodeGen/CGExprConstant.cpp 1978 functionName = CGF->CurFn->getName();
tools/clang/lib/CodeGen/CGExprScalar.cpp 1067 llvm::Twine(Name) + "." + V->getName() +
tools/clang/lib/CodeGen/CGNonTrivialStruct.cpp 442 std::string FuncName = F->getName();
tools/clang/lib/CodeGen/CGObjCGNU.cpp 1248 assert(ClassSymbol->getName() == SymbolName);
1558 assert(InitVar->getName() == ".objc_ctor");
1942 EarlyInitList.emplace_back(SuperClass->getName(), std::move(v));
1970 assert(classStruct->getName() == SymbolForClass(className));
tools/clang/lib/CodeGen/CGOpenMPRuntime.cpp 4019 StringRef Name = Addr->getName();
9735 VarName = Addr->getName();
10362 Out << '_' << Fn->getName();
10767 StringRef MangledName = Fn->getName();
tools/clang/lib/CodeGen/CGOpenMPRuntimeNVPTX.cpp 1192 WST.WorkerFn->setName(Twine(OutlinedFn->getName(), "_worker"));
1873 setPropertyExecutionMode(CGM, OutlinedFn->getName(), Mode);
4563 Twine(OutlinedParallelFn->getName(), "_wrapper"), &CGM.getModule());
tools/clang/lib/CodeGen/CGVTT.cpp 99 VTT->setComdat(CGM.getModule().getOrInsertComdat(VTT->getName()));
tools/clang/lib/CodeGen/CGVTables.cpp 55 ThunkFn->setComdat(CGM.getModule().getOrInsertComdat(ThunkFn->getName()));
426 CGM.ConstructAttributeList(Callee.getCallee()->getName(), *CurFnInfo, GD,
tools/clang/lib/CodeGen/CodeGenAction.cpp 218 return !GV.hasName() || (GVS.count(GV.getName()) == 0);
550 if (const Decl *ND = Gen->GetDeclForMangledName(D.getFunction().getName())) {
588 if (const Decl *FD = Gen->GetDeclForMangledName(D.getFunction().getName()))
tools/clang/lib/CodeGen/CodeGenFunction.cpp 2092 Builder.CreateBitCast(V, CGM.Int8PtrTy, V->getName()),
tools/clang/lib/CodeGen/CodeGenModule.cpp 350 << GV->getName() << GA->getName() << IsIFunc;
350 << GV->getName() << GA->getName() << IsIFunc;
1221 ConstructAttributeList(F->getName(), Info, GD, PAL, CallingConv, false);
2236 if (SanitizerBL.isBlacklistedFunction(Kind, Fn->getName()))
2262 if (SanitizerBL.isBlacklistedGlobal(EnabledAsanMask, GV->getName(), Category))
2291 Attr = XRayFilter.shouldImbueFunction(Fn->getName());
2378 GV->setComdat(TheModule.getOrInsertComdat(GV->getName()));
2898 getModule().getOrInsertComdat(ResolverFunc->getName()));
2941 getModule().getOrInsertComdat(ResolverFunc->getName()));
2996 StringRef LHSName = (Options.end() - 2)->Function->getName();
2997 StringRef RHSName = (Options.end() - 1)->Function->getName();
3203 assert(F->getName() == MangledName && "name was uniqued!");
3650 GV->setComdat(TheModule.getOrInsertComdat(GV->getName()));
3853 GO.setComdat(TheModule.getOrInsertComdat(GO.getName()));
4674 IdentifierInfo &II = Context.Idents.get(GV->getName());
4900 GV->setComdat(M.getOrInsertComdat(GV->getName()));
5087 GV->setComdat(TheModule.getOrInsertComdat(GV->getName()));
tools/clang/lib/CodeGen/CodeGenPGO.cpp 45 setFuncName(Fn->getName(), Fn->getLinkage());
tools/clang/lib/CodeGen/ItaniumCXXABI.cpp 1655 VTable->setComdat(CGM.getModule().getOrInsertComdat(VTable->getName()));
2248 guard->setComdat(CGM.getModule().getOrInsertComdat(guard->getName()));
3513 GV->setComdat(M.getOrInsertComdat(GV->getName()));
4331 fn->setComdat(CGM.getModule().getOrInsertComdat(fn->getName()));
tools/clang/lib/CodeGen/MicrosoftCXXABI.cpp 1987 assert(ThunkFn->getName() == ThunkName && "name was uniqued!");
1993 ThunkFn->setComdat(CGM.getModule().getOrInsertComdat(ThunkFn->getName()));
2308 Twine(InitFunc->getName(), "$initializer$"));
2436 F->setComdat(CGM.getModule().getOrInsertComdat(F->getName()));
2504 CGM.getModule().getOrInsertComdat(GuardVar->getName()));
3599 CHD->setComdat(CGM.getModule().getOrInsertComdat(CHD->getName()));
3637 BCA->setComdat(CGM.getModule().getOrInsertComdat(BCA->getName()));
3679 BCD->setComdat(CGM.getModule().getOrInsertComdat(BCD->getName()));
3740 COL->setComdat(CGM.getModule().getOrInsertComdat(COL->getName()));
3842 Var->setComdat(CGM.getModule().getOrInsertComdat(Var->getName()));
3880 Fn->setComdat(CGM.getModule().getOrInsertComdat(Fn->getName()));
3907 ThunkFn->setComdat(CGM.getModule().getOrInsertComdat(ThunkFn->getName()));
4081 GV->setComdat(CGM.getModule().getOrInsertComdat(GV->getName()));
4199 CTA->setComdat(CGM.getModule().getOrInsertComdat(CTA->getName()));
4268 GV->setComdat(CGM.getModule().getOrInsertComdat(GV->getName()));
tools/clang/lib/CodeGen/TargetInfo.cpp 269 Ptr->getName() + ".aligned");
454 Src, DestTy, Src->hasName() ? Src->getName() + ".ascast" : "");
9896 std::string Name = Invoke->getName().str() + "_kernel";
9954 std::string Name = Invoke->getName().str() + "_kernel";
tools/clang/unittests/CodeGen/IncrementalProcessingTest.cpp 104 if (Func.hasName() && Func.getName().startswith("_GLOBAL__sub_I_"))
169 ASSERT_FALSE(GlobalInit1->getName() == GlobalInit2->getName());
169 ASSERT_FALSE(GlobalInit1->getName() == GlobalInit2->getName());
tools/lldb/source/Expression/IRExecutionUnit.cpp 347 function.getName().str().c_str());
351 function.getName().str().c_str(), external, (lldb::addr_t)fun_ptr));
367 m_execution_engine_up->getGlobalValueAddress(val.getName().str());
381 val.getName().str().c_str(), LLDB_INVALID_ADDRESS, remote_addr));
991 ConstString ctor_function_name_cs(ctor_function->getName().str());
tools/lldb/source/Expression/IRInterpreter.cpp 235 lldb_private::ConstString name(constant_func->getName());
tools/lldb/source/Plugins/ExpressionParser/Clang/ClangExpressionParser.cpp 1155 const StringRef &name = func.getName();
tools/lldb/source/Plugins/ExpressionParser/Clang/IRDynamicChecks.cpp 482 std::string name_str = called_function->getName().str();
tools/lldb/source/Plugins/ExpressionParser/Clang/IRForTarget.cpp 762 !global_variable->getName().startswith("OBJC_SELECTOR_REFERENCES_"));
923 !global_variable->getName().startswith("OBJC_CLASS_REFERENCES_"));
1108 alloc->getName().str());
1151 llvm::StringRef alloc_name = alloc->getName();
1215 global_variable->getName());
1283 lldb_private::ConstString name(symbol->getName().str().c_str());
1348 StringRef name(initializer->getName());
1400 if (func && func->getName() == "__cxa_atexit")
1405 if (val && val->getName() == "__cxa_atexit")
1437 llvm::StringRef global_name = global_var.getName();
1493 if (!GV || !GV->hasName() || !isGuardVariableSymbol(GV->getName()))
1685 if (argument->getName().equals("this")) {
1697 } else if (argument->getName().equals("self")) {
1708 if (!iter->getName().equals("_cmd")) {
1711 iter->getName());
1729 if (!argument->getName().equals("$__lldb_arg")) {
1732 argument->getName());
tools/lldb/source/Plugins/LanguageRuntime/RenderScript/RenderScriptRuntime/RenderScriptx86ABIFixups.cpp 32 const auto func_name = call_inst->getCalledFunction()->getName();
95 auto name = orig->getName();
tools/lli/lli.cpp 677 JITTargetAddress Entry = EE->getFunctionAddress(EntryFn->getName().str());
679 LLVM_DEBUG(dbgs() << "Executing '" << EntryFn->getName() << "' at 0x"
712 std::string Name(F.getName());
tools/llvm-diff/DiffConsumer.cpp 49 out << (isa<GlobalValue>(V) ? '@' : '%') << V->getName();
104 if (L->getName() != R->getName())
104 if (L->getName() != R->getName())
105 out << "in function " << L->getName()
106 << " / " << R->getName() << ":\n";
108 out << "in function " << L->getName() << ":\n";
112 if (L->hasName() && R->hasName() && L->getName() == R->getName())
112 if (L->hasName() && R->hasName() && L->getName() == R->getName())
113 out << " in block %" << L->getName() << ":\n";
tools/llvm-diff/DifferenceEngine.cpp 693 StringRef Name = LFn->getName();
701 if (Function *RFn = R->getFunction(LFn->getName()))
709 StringRef Name = RFn->getName();
735 return L->getName() == R->getName();
735 return L->getName() == R->getName();
tools/llvm-extract/llvm-extract.cpp 175 if (RegEx.match(GA->getName())) {
208 if (RegEx.match(GV.getName())) {
242 if (RegEx.match(F->getName())) {
274 return BB.getName().equals(BBName);
277 errs() << argv[0] << ": function " << F->getName()
tools/llvm-link/llvm-link.cpp 328 return !GV.hasName() || (GVS.count(GV.getName()) == 0);
tools/llvm-reduce/deltas/ReduceArguments.cpp 96 std::string FName = F->getName();
111 outs() << " " << F.getName() << "\n";
113 outs() << "\t" << ++ArgsCount << ": " << A.getName() << "\n";
tools/llvm-reduce/deltas/ReduceBasicBlocks.cpp 134 outs() << "\t" << ++BBCount << ": " << BB.getName() << "\n";
tools/llvm-reduce/deltas/ReduceFunctions.cpp 66 errs() << "\t" << ++FunctionCount << ": " << F.getName() << "\n";
tools/llvm-reduce/deltas/ReduceGlobalVars.cpp 65 outs() << "\t" << ++GVCount << ": " << GV.getName() << "\n";
tools/opt/AnalysisWrappers.cpp 51 errs() << "Function '" << I->getName() << "':\n";
tools/opt/Debugify.cpp 102 auto SP = DIB.createFunction(CU, F.getName(), F.getName(), File, NextLine,
102 auto SP = DIB.createFunction(CU, F.getName(), F.getName(), File, NextLine,
254 dbg() << F.getName() << " --";
tools/opt/PassPrinters.cpp 47 << "' for function '" << F.getName() << "':\n";
183 << R->getEntry()->getParent()->getName() << "':\n";
216 Out << "Printing Analysis info for BasicBlock '" << BB.getName()
tools/opt/PrintSCC.cpp 75 errs() << "SCCs for Function " << F.getName() << " in PostOrder:";
81 errs() << (*I)->getName() << ", ";
102 errs() << ((*I)->getFunction() ? (*I)->getFunction()->getName()
tools/polly/lib/Analysis/PolyhedralInfo.cpp 63 OS.indent(2) << L->getHeader()->getName() << ":\t";
81 LLVM_DEBUG(dbgs() << "Loop :\t" << L->getHeader()->getName() << ":\n");
tools/polly/lib/Analysis/ScopBuilder.cpp 1418 if (!(MallocFn && MallocFn->hasName() && MallocFn->getName() == "malloc"))
tools/polly/lib/Analysis/ScopDetection.cpp 339 !doesStringMatchAnyRegex(F.getName(), OnlyFunctions))
342 if (doesStringMatchAnyRegex(F.getName(), IgnoredFunctions))
688 << CalledFunction->getName() << '\n');
1655 if (!CurRegion.getEntry()->getName().count(OnlyRegion)) {
1910 OS << "Detected Scops in Function " << F.getName() << "\n";
tools/polly/lib/Analysis/ScopDetectionDiagnostic.cpp 207 return ("Invalid instruction terminates BB: " + BB->getName()).str();
228 std::string BBName = BB->getName();
286 return ("Condition based on 'undef' value in BB: " + BB->getName()).str();
301 return ("Condition in BB '" + BB->getName()).str() +
317 return ("undef operand in branch at BB: " + BB->getName()).str();
332 return ("Non affine branch in BB '" + BB->getName()).str() +
413 StringRef BaseName = BaseValue->getName();
440 StringRef BaseName = BaseValue->getName();
458 "' in loop: " + L->getHeader()->getName();
481 return "Loop " + L->getHeader()->getName() + " has no exit.";
506 return "Loop " + L->getHeader()->getName() + " has multiple exits.";
531 return "Not all latches of loop " + L->getHeader()->getName() +
626 if (V->getName().empty())
629 OS << "\"" << V->getName() << "\"";
tools/polly/lib/Analysis/ScopGraphPrinter.cpp 207 if (ViewFilter != "" && !F.getName().count(ViewFilter))
tools/polly/lib/Analysis/ScopInfo.cpp 963 OS << "[Fortran array descriptor: " << FAD->getName();
1477 std::string Name = Call->getCalledFunction()->getName();
1508 ParameterName = Val->getName();
1514 LI->getPointerOperand()->stripInBoundsOffsets()->getName();
1704 ID(getNextID((*R.getEntry()->getParent()).getName().str())) {
2215 OS.indent(4) << "Function: " << getFunction().getName() << "\n";
tools/polly/lib/CodeGen/BlockGenerators.cpp 252 NewInst->setName("p_" + Inst->getName());
320 NewPointer, Load->getAlignment(), Load->getName() + "_p_scalar_");
431 CopyBB->setName("polly.stmt." + BB->getName());
515 ScalarBase->getName() + NameExt);
578 Builder.CreateLoad(Address, Address->getName() + ".reload");
631 StringRef BlockName = HeadBlock->getName();
881 Builder.CreateLoad(ScalarAddr, EscapeInst->getName() + ".final_reload");
887 EscapeInst->getName() + ".merge");
959 std::string Name = PHI->getName();
1062 Builder.CreateLoad(VectorPtr, Load->getName() + "_p_vec_full");
1072 VecLoad, VecLoad, SV, Load->getName() + "_reverse");
1087 Load->getName() + "_p_vec_p");
1089 Builder.CreateLoad(VectorPtr, Load->getName() + "_p_splat_one");
1098 ScalarLoad, ScalarLoad, SplatVector, Load->getName() + "_p_splat");
1116 Builder.CreateLoad(NewPointer, Load->getName() + "_p_scalar_");
1118 Vector, ScalarLoad, Builder.getInt32(i), Load->getName() + "_p_vec_");
1129 Load->getName() + "_p");
1185 Inst->getName() + "p_vec");
1343 Address->getName() + "_p_vec_p");
1344 auto *Val = Builder.CreateLoad(VectorPtr, Address->getName() + ".reload");
1349 Val, Val, SplatVector, Address->getName() + "_p_splat");
1372 CopyBB->setName("polly.stmt." + BB->getName());
1478 EntryBBCopy->setName("polly.stmt." + EntryBB->getName() + ".entry");
1544 ExitBBCopy->setName("polly.stmt." + R->getExit()->getName() + ".exit");
1640 "polly." + OrigPHI->getName(),
1790 Builder.CreatePHI(PHI->getType(), NumIncoming, "polly." + PHI->getName());
tools/polly/lib/CodeGen/CodegenCleanup.cpp 120 dbgs() << F.getName()
125 LLVM_DEBUG(dbgs() << F.getName() << ": Running codegen cleanup...");
tools/polly/lib/CodeGen/IslAst.cpp 725 OS << ":: isl ast :: " << F.getName() << " :: " << S.getNameStr() << "\n";
tools/polly/lib/CodeGen/IslExprBuilder.cpp 271 StringRef BaseName = Base->getName();
345 return Builder.CreateLoad(Addr, Addr->getName() + ".load");
tools/polly/lib/CodeGen/IslNodeBuilder.cpp 1211 auto Name = Ptr->getName();
1302 AccInstTy, 2, "polly.preload." + AccInst->getName() + ".merge");
1399 AccInst->getName() + ".preload.s2a");
1601 "F: " + F->getName().str() + " R: " + S.getRegion().getNameStr() +
tools/polly/lib/CodeGen/LoopGenerators.cpp 207 std::string FunctionName = SubFn->getName();
237 Address->setName("polly.subfn.storeaddr." + Values[i]->getName());
249 NewValue->setName("polly.subfunc.arg." + OldValues[i]->getName());
tools/polly/lib/CodeGen/LoopGeneratorsGOMP.cpp 64 F->getName() + "_polly_subfn", M);
tools/polly/lib/CodeGen/LoopGeneratorsKMP.cpp 86 F->getName() + "_polly_subfn", M);
tools/polly/lib/CodeGen/PerfMonitor.cpp 89 Name << "__polly_perf_in_" << std::string(S.getFunction().getName())
190 Builder, S.getFunction().getName(), ", ", EntryName, ", ", ExitName, ", ",
tools/polly/lib/Exchange/JSONExporter.cpp 83 std::string FunctionName = S.getFunction().getName();
183 std::string FunctionName = S.getFunction().getName();
698 std::string FunctionName = S.getFunction().getName();
tools/polly/lib/Support/GICHelper.cpp 211 ValStr = std::string("_") + std::string(Val->getName());
tools/polly/lib/Support/ScopHelper.cpp 284 InstClone->setName(Name + Inst->getName());
325 LHS, RHS, Inst->getName() + Name, IP);
734 CF->getName()) != DebugFunctions.end();
tools/polly/lib/Support/VirtualInstruction.cpp 134 OS << '"' << Val->getName() << '"';
tools/polly/lib/Transform/RewriteByReferenceParameters.cpp 53 if (!F->hasName() || F->getName() != "_gfortran_transfer_integer_write")
66 std::string InstName = Alloca->getName();
tools/polly/lib/Transform/ScopInliner.cpp 62 LLVM_DEBUG(dbgs() << "Skipping " << F->getName()
79 LLVM_DEBUG(dbgs() << "Skipping " << F->getName()
92 LLVM_DEBUG(dbgs() << F->getName()
unittests/Analysis/CFGTest.cpp 51 if (I->getName() == "A")
53 else if (I->getName() == "B")
64 if (I->hasName() && I->getName().startswith("excluded"))
96 if (!F.hasName() || F.getName() != "test")
unittests/Analysis/CGSCCPassManagerTest.cpp 467 return F.getName() == "h2" ? PreservedAnalyses::none()
1169 assert(H3F.getName() == "h3" && "Wrong called function!");
1217 assert(H3F.getName() == "h3" && "Wrong called function!");
unittests/Analysis/DivergenceAnalysisTest.cpp 34 if (BB.getName() != BlockName)
unittests/Analysis/DomTreeUpdaterTest.cpp 183 EXPECT_EQ(F->begin()->getName(), NewEntry->getName());
183 EXPECT_EQ(F->begin()->getName(), NewEntry->getName());
558 EXPECT_EQ(F->begin()->getName(), NewEntry->getName());
558 EXPECT_EQ(F->begin()->getName(), NewEntry->getName());
unittests/Analysis/IVDescriptorsTest.cpp 79 assert(Header->getName() == "for.body");
83 assert(Inst_i->getName() == "i");
91 if ((&*BBI)->getName() == "inc")
95 assert(Inst_inc->getName() == "inc");
unittests/Analysis/LazyCallGraphTest.cpp 237 EXPECT_EQ("a1", A1.getFunction().getName());
239 EXPECT_EQ("a2", A2.getFunction().getName());
241 EXPECT_EQ("a3", A3.getFunction().getName());
243 EXPECT_EQ("b1", B1.getFunction().getName());
245 EXPECT_EQ("b2", B2.getFunction().getName());
247 EXPECT_EQ("b3", B3.getFunction().getName());
249 EXPECT_EQ("c1", C1.getFunction().getName());
251 EXPECT_EQ("c2", C2.getFunction().getName());
253 EXPECT_EQ("c3", C3.getFunction().getName());
255 EXPECT_EQ("d1", D1.getFunction().getName());
257 EXPECT_EQ("d2", D2.getFunction().getName());
259 EXPECT_EQ("d3", D3.getFunction().getName());
267 Nodes.push_back(E.getFunction().getName());
276 EXPECT_EQ("a3", A2->begin()->getFunction().getName());
279 EXPECT_EQ("a1", A3->begin()->getFunction().getName());
282 Nodes.push_back(E.getFunction().getName());
290 EXPECT_EQ("b3", B2->begin()->getFunction().getName());
293 EXPECT_EQ("b1", B3->begin()->getFunction().getName());
296 Nodes.push_back(E.getFunction().getName());
304 EXPECT_EQ("c3", C2->begin()->getFunction().getName());
307 EXPECT_EQ("c1", C3->begin()->getFunction().getName());
311 EXPECT_EQ("d2", D1->begin()->getFunction().getName());
314 EXPECT_EQ("d3", D2->begin()->getFunction().getName());
317 EXPECT_EQ("d1", D3->begin()->getFunction().getName());
326 Nodes.push_back(N.getFunction().getName());
342 Nodes.push_back(N.getFunction().getName());
358 Nodes.push_back(N.getFunction().getName());
376 Nodes.push_back(N.getFunction().getName());
397 if (F.getName() == Name)
480 Nodes.push_back(N.getFunction().getName());
490 Nodes.push_back(N.getFunction().getName());
500 Nodes.push_back(N.getFunction().getName());
510 Nodes.push_back(N.getFunction().getName());
unittests/Analysis/LoopInfoTest.cpp 83 assert(Header->getName() == "for.cond");
133 assert(Header->getName() == "for.cond");
191 ASSERT_EQ("entry", I->getName());
194 ASSERT_EQ("loop.0", L_0.getHeader()->getName());
196 ASSERT_EQ("loop.0.0", L_0_0.getHeader()->getName());
198 ASSERT_EQ("loop.0.1", L_0_1.getHeader()->getName());
200 ASSERT_EQ("loop.0.2", L_0_2.getHeader()->getName());
202 ASSERT_EQ("loop.1", L_1.getHeader()->getName());
204 ASSERT_EQ("loop.1.0", L_1_0.getHeader()->getName());
206 ASSERT_EQ("loop.1.1", L_1_1.getHeader()->getName());
208 ASSERT_EQ("loop.1.2", L_1_2.getHeader()->getName());
268 assert(Header->getName() == "for.body");
277 EXPECT_EQ(Bounds->getStepInst().getName(), "inc");
281 EXPECT_EQ(Bounds->getFinalIVValue().getName(), "ub");
285 EXPECT_EQ(L->getInductionVariable(SE)->getName(), "i");
326 assert(Header->getName() == "for.body");
335 EXPECT_EQ(Bounds->getStepInst().getName(), "inc");
339 EXPECT_EQ(Bounds->getFinalIVValue().getName(), "ub");
343 EXPECT_EQ(L->getInductionVariable(SE)->getName(), "i");
384 assert(Header->getName() == "for.body");
393 EXPECT_EQ(Bounds->getStepInst().getName(), "inc");
397 EXPECT_EQ(Bounds->getFinalIVValue().getName(), "ub");
401 EXPECT_EQ(L->getInductionVariable(SE)->getName(), "i");
442 assert(Header->getName() == "for.body");
451 EXPECT_EQ(Bounds->getStepInst().getName(), "inc");
455 EXPECT_EQ(Bounds->getFinalIVValue().getName(), "ub");
459 EXPECT_EQ(L->getInductionVariable(SE)->getName(), "i");
500 assert(Header->getName() == "for.body");
509 EXPECT_EQ(Bounds->getStepInst().getName(), "inc");
513 EXPECT_EQ(Bounds->getFinalIVValue().getName(), "ub");
517 EXPECT_EQ(L->getInductionVariable(SE)->getName(), "i");
559 assert(Header->getName() == "for.body");
568 EXPECT_EQ(Bounds->getStepInst().getName(), "inc");
572 EXPECT_EQ(Bounds->getFinalIVValue().getName(), "ubPlusOne");
576 EXPECT_EQ(L->getInductionVariable(SE)->getName(), "i");
617 assert(Header->getName() == "for.body");
626 EXPECT_EQ(Bounds->getStepInst().getName(), "inc");
627 EXPECT_EQ(Bounds->getStepValue()->getName(), "step");
628 EXPECT_EQ(Bounds->getFinalIVValue().getName(), "ub");
631 EXPECT_EQ(L->getInductionVariable(SE)->getName(), "i");
672 assert(Header->getName() == "for.body");
681 EXPECT_EQ(Bounds->getStepInst().getName(), "inc");
685 EXPECT_EQ(Bounds->getFinalIVValue().getName(), "ub");
689 EXPECT_EQ(L->getInductionVariable(SE)->getName(), "i");
730 assert(Header->getName() == "for.body");
736 EXPECT_EQ(Bounds->getInitialIVValue().getName(), "ub");
737 EXPECT_EQ(Bounds->getStepInst().getName(), "inc");
747 EXPECT_EQ(L->getInductionVariable(SE)->getName(), "i");
789 assert(Header->getName() == "for.body");
798 EXPECT_EQ(Bounds->getStepInst().getName(), "inc");
799 EXPECT_EQ(Bounds->getStepValue()->getName(), "step");
800 EXPECT_EQ(Bounds->getFinalIVValue().getName(), "ub");
804 EXPECT_EQ(L->getInductionVariable(SE)->getName(), "i");
848 assert(Header->getName() == "for.body");
857 EXPECT_EQ(Bounds->getStepInst().getName(), "indvars.iv.next");
861 EXPECT_EQ(Bounds->getFinalIVValue().getName(), "wide.trip.count");
865 EXPECT_EQ(L->getInductionVariable(SE)->getName(), "indvars.iv");
908 assert(Header->getName() == "for.body");
917 EXPECT_EQ(Bounds->getStepInst().getName(), "inc");
921 EXPECT_EQ(Bounds->getFinalIVValue().getName(), "ub");
925 EXPECT_EQ(L->getInductionVariable(SE)->getName(), "i");
968 assert(Header->getName() == "for.body");
977 EXPECT_EQ(Bounds->getStepInst().getName(), "inc");
981 EXPECT_EQ(Bounds->getFinalIVValue().getName(), "ub");
985 EXPECT_EQ(L->getInductionVariable(SE)->getName(), "i");
1020 assert(Header->getName() == "for.body");
1029 EXPECT_EQ(Bounds->getStepInst().getName(), "inc");
1033 EXPECT_EQ(Bounds->getFinalIVValue().getName(), "ub");
1037 EXPECT_EQ(L->getInductionVariable(SE)->getName(), "i");
1077 assert(Header->getName() == "for.body");
1086 EXPECT_EQ(Bounds->getStepInst().getName(), "inc");
1090 EXPECT_EQ(Bounds->getFinalIVValue().getName(), "ub");
1094 EXPECT_EQ(L->getInductionVariable(SE)->getName(), "i");
1146 assert(Header->getName() == "for.outer");
1156 EXPECT_EQ(Bounds->getStepInst().getName(), "inc.outer");
1160 EXPECT_EQ(Bounds->getFinalIVValue().getName(), "ub");
1164 EXPECT_EQ(L->getInductionVariable(SE)->getName(), "j");
1172 assert(Header->getName() == "for.inner");
1181 EXPECT_EQ(InnerBounds->getStepInst().getName(), "inc");
1184 EXPECT_EQ(InnerBounds->getFinalIVValue().getName(), "ub");
1188 EXPECT_EQ(L->getInductionVariable(SE)->getName(), "i");
1238 assert(Header->getName() == "for.body");
1247 EXPECT_EQ(Bounds->getStepInst().getName(), "inc");
1251 EXPECT_EQ(Bounds->getFinalIVValue().getName(), "ub");
1255 EXPECT_EQ(L->getInductionVariable(SE)->getName(), "i");
1392 assert(Header->getName() == "for.cond");
1435 assert(Header->getName() == "for.cond");
unittests/Analysis/ScalarEvolutionTest.cpp 212 if (I.getName() == Name)
473 if (I.getName() == Name)
unittests/Analysis/ValueTrackingTest.cpp 50 if (I->getName() == "A")
unittests/Analysis/VectorUtilsTest.cpp 48 if (I->getName() == "A")
258 EXPECT_EQ(getSplatValue(A)->getName(), "x");
unittests/ExecutionEngine/MCJIT/MCJITMultipleModuleTest.cpp 99 uint64_t ptr = TheJIT->getFunctionAddress(FA->getName().str());
102 ptr = TheJIT->getFunctionAddress(FB->getName().str());
119 uint64_t ptr = TheJIT->getFunctionAddress(FB->getName().str());
123 ptr = TheJIT->getFunctionAddress(FA->getName().str());
140 uint64_t ptr = TheJIT->getFunctionAddress(FB->getName().str());
144 ptr = TheJIT->getFunctionAddress(FA->getName().str());
161 uint64_t ptr = TheJIT->getFunctionAddress(FA->getName().str());
164 ptr = TheJIT->getFunctionAddress(FB->getName().str());
182 uint64_t ptr = TheJIT->getFunctionAddress(FB->getName().str());
186 ptr = TheJIT->getFunctionAddress(FA2->getName().str());
230 uint64_t FBPtr = TheJIT->getFunctionAddress(FB->getName().str());
237 uint64_t FAPtr = TheJIT->getFunctionAddress(FA->getName().str());
259 uint64_t ptr = TheJIT->getFunctionAddress(FC->getName().str());
262 ptr = TheJIT->getFunctionAddress(FB->getName().str());
265 ptr = TheJIT->getFunctionAddress(FA->getName().str());
284 uint64_t ptr = TheJIT->getFunctionAddress(FA->getName().str());
287 ptr = TheJIT->getFunctionAddress(FB->getName().str());
290 ptr = TheJIT->getFunctionAddress(FC->getName().str());
309 uint64_t ptr = TheJIT->getFunctionAddress(FC->getName().str());
312 ptr = TheJIT->getFunctionAddress(FB->getName().str());
315 ptr = TheJIT->getFunctionAddress(FA->getName().str());
334 uint64_t ptr = TheJIT->getFunctionAddress(FA->getName().str());
337 ptr = TheJIT->getFunctionAddress(FB->getName().str());
340 ptr = TheJIT->getFunctionAddress(FC->getName().str());
358 uint64_t ptr = TheJIT->getFunctionAddress(FA->getName().str());
361 ptr = TheJIT->getFunctionAddress(FB1->getName().str());
379 uint64_t ptr = TheJIT->getFunctionAddress(FB1->getName().str());
382 ptr = TheJIT->getFunctionAddress(FA->getName().str());
400 uint64_t ptr = TheJIT->getFunctionAddress(FB1->getName().str());
403 ptr = TheJIT->getFunctionAddress(FB2->getName().str());
421 EXPECT_EQ(FA, TheJIT->FindFunctionNamed(FA->getName().data()));
422 EXPECT_EQ(FB1, TheJIT->FindFunctionNamed(FB1->getName().data()));
unittests/ExecutionEngine/MCJIT/MCJITTest.cpp 65 uint64_t addPtr = TheJIT->getFunctionAddress(F->getName().str());
86 uint64_t ptr = TheJIT->getFunctionAddress(Main->getName().str());
108 uint64_t rgvPtr = TheJIT->getFunctionAddress(ReturnGlobal->getName().str());
185 uint64_t ptr = TheJIT->getFunctionAddress(Outer->getName().str());
unittests/ExecutionEngine/MCJIT/MCJITTestBase.h 122 Func->getName(), M);
unittests/FuzzMutate/OperationsTest.cpp 30 ROS << BB << " (" << BB->getName() << ")";
unittests/IR/CFGBuilder.cpp 38 LLVM_DEBUG(dbgs() << "Creating BB arc " << From->getName() << " -> "
39 << To->getName() << "\n";
59 LLVM_DEBUG(dbgs() << "Deleting BB arc " << From->getName() << " -> "
60 << To->getName() << "\n";
unittests/IR/DominatorTreeTest.cpp 269 EXPECT_EQ(F.begin()->getName(), NewEntry->getName());
269 EXPECT_EQ(F.begin()->getName(), NewEntry->getName());
unittests/IR/IRBuilderTest.cpp 353 EXPECT_EQ(LP->getName(), "LP");
unittests/IR/InstructionsTest.cpp 1111 << CBI.getIndirectDest(0)->getName() << "', but a argument of '"
1112 << ArgBA->getBasicBlock()->getName() << "'. These should always match:\n"
unittests/IR/ModuleTest.cpp 22 return L.getName() < R.getName();
22 return L.getName() < R.getName();
unittests/IR/PassBuilderCallbacksTest.cpp 273 return IR.getName();
282 return any_cast<const Function *>(WrappedIR)->getName().str();
unittests/IR/PassManagerTest.cpp 137 return F.getName() == Name ? PreservedAnalyses::none()
723 if (F.getName() == "g")
725 else if (F.getName() == "h")
unittests/IR/UseTest.cpp 44 ASSERT_EQ("x", X.getName());
47 return L.getUser()->getName() < R.getUser()->getName();
47 return L.getUser()->getName() < R.getUser()->getName();
52 EXPECT_EQ(vnbuf, U->getName());
57 return L.getUser()->getName() > R.getUser()->getName();
57 return L.getUser()->getName() > R.getUser()->getName();
62 EXPECT_EQ(vnbuf, U->getName());
89 ASSERT_EQ("x", X.getName());
92 return L.getUser()->getName() < R.getUser()->getName();
92 return L.getUser()->getName() < R.getUser()->getName();
97 EXPECT_EQ(vnbuf, U->getName());
105 EXPECT_EQ(vnbuf, U->getName());
unittests/Linker/LinkModulesTest.cpp 258 ASSERT_EQ("foo", F->getName());
unittests/Transforms/Scalar/LoopPassManagerTest.cpp 221 *result_listener << "has name '" << arg.getName().str() << "'";
222 return Name == arg.getName();
unittests/Transforms/Utils/CloningTest.cpp 424 assert(Header->getName() == "for.outer");
437 EXPECT_TRUE((*BI)->getName().startswith("for.outer"));
438 EXPECT_TRUE((*(++BI))->getName().startswith("for.inner.preheader"));
439 EXPECT_TRUE((*(++BI))->getName().startswith("for.inner"));
440 EXPECT_TRUE((*(++BI))->getName().startswith("for.inner.exit"));
441 EXPECT_TRUE((*(++BI))->getName().startswith("for.outer.latch"));
unittests/Transforms/Utils/CodeExtractorTest.cpp 27 if (BB.getName() == name)