reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

Declarations

include/llvm/IR/Value.h
  275   void setName(const Twine &Name);

References

examples/BrainF/BrainFDriver.cpp
   86     arg_0->setName("argc");
   88     arg_1->setName("argv");
examples/Fibonacci/fibonacci.cpp
   68   ArgX->setName("AnArg");            // Give it a nice symbolic name for fun.
examples/HowToUseJIT/HowToUseJIT.cpp
   90   ArgX->setName("AnArg");            // Give it a nice symbolic name for fun.
examples/HowToUseLLJIT/HowToUseLLJIT.cpp
   47   ArgX->setName("AnArg"); // Give it a nice symbolic name for fun.
examples/Kaleidoscope/BuildingAJIT/Chapter1/toy.cpp
 1047     Arg.setName(Args[Idx++]);
examples/Kaleidoscope/BuildingAJIT/Chapter2/toy.cpp
 1047     Arg.setName(Args[Idx++]);
examples/Kaleidoscope/BuildingAJIT/Chapter3/toy.cpp
 1046     Arg.setName(Args[Idx++]);
examples/Kaleidoscope/BuildingAJIT/Chapter4/toy.cpp
 1032     Arg.setName(Args[Idx++]);
 1105     F->setName(F->getName() + Suffix);
examples/Kaleidoscope/BuildingAJIT/Chapter5/toy.cpp
 1056     Arg.setName(Args[Idx++]);
 1129     F->setName(F->getName() + Suffix);
examples/Kaleidoscope/Chapter3/toy.cpp
  478     Arg.setName(Args[Idx++]);
examples/Kaleidoscope/Chapter4/toy.cpp
  506     Arg.setName(Args[Idx++]);
examples/Kaleidoscope/Chapter5/toy.cpp
  780     Arg.setName(Args[Idx++]);
examples/Kaleidoscope/Chapter6/toy.cpp
  892     Arg.setName(Args[Idx++]);
examples/Kaleidoscope/Chapter7/toy.cpp
 1052     Arg.setName(Args[Idx++]);
examples/Kaleidoscope/Chapter8/toy.cpp
 1051     Arg.setName(Args[Idx++]);
examples/Kaleidoscope/Chapter9/toy.cpp
 1218     Arg.setName(Args[Idx++]);
examples/ParallelJIT/ParallelJIT.cpp
   68   ArgX->setName("AnArg");            // Give it a nice symbolic name for fun.
   98   ArgX->setName("AnArg");            // Give it a nice symbolic name for fun.
include/llvm/IR/GlobalValue.h
   85     setName(Name);
include/llvm/IR/IRBuilder.h
   66     I->setName(Name);
include/llvm/IR/InstrTypes.h
  445     setName(NameStr);
  451     setName(NameStr);
include/llvm/IR/Instructions.h
 1721     setName(NameStr);
 1729     setName(NameStr);
 1821     setName(NameStr);
 1827     setName(NameStr);
 2558     setName(NameStr);
 2566     setName(NameStr);
lib/AsmParser/LLParser.cpp
 2996   Inst->setName(NameStr);
 5513     ArgIt->setName(ArgList[i].Name);
lib/Bitcode/Reader/BitcodeReader.cpp
 2022   V->setName(NameStr);
 2209       BB->setName(StringRef(ValueName.data(), ValueName.size()));
lib/CodeGen/IntrinsicLowering.cpp
   47   NewCI->setName(CI->getName());
  301     NotSrc->setName(Src->getName() + ".not");
lib/CodeGen/PreISelIntrinsicLowering.cpp
   86     NewCI->setName(CI->getName());
lib/ExecutionEngine/Orc/CompileOnDemandLayer.cpp
   44         F->setName(AliasName);
   50         G->setName(AliasName);
lib/ExecutionEngine/Orc/IndirectionUtils.cpp
  264       GV.setName("__orc_anon." + Twine(NextId++));
  266       GV.setName("__" + GV.getName().substr(1) + "." + Twine(NextId++));
  268       GV.setName("__orc_lcl." + GV.getName() + "." + Twine(NextId++));
lib/ExecutionEngine/Orc/OrcMCJITReplacement.h
  275         Ctor.Func->setName(NewCtorName);
  283         Dtor.Func->setName(NewDtorName);
lib/IR/AutoUpgrade.cpp
   33 static void rename(GlobalValue *GV) { GV->setName(GV->getName() + ".old"); }
 3643       CI->setName(Name + ".old");
 3644       NewCall->setName(Name);
 3718     CI->setName(Name + ".old");
 3719     NewCall->setName(Name);
 3913       NewCall->setName(CI->getName());
lib/IR/BasicBlock.cpp
   50   setName(Name);
lib/IR/Core.cpp
  826   unwrap(Val)->setName(StringRef(Name, NameLen));
  834   unwrap(Val)->setName(Name);
lib/IR/Function.cpp
   68   setName(Name);
  307     A.setName("");
  340       A.setName("");
  343       A.setName(Name);
lib/IR/Instructions.cpp
  234   setName(NameStr);
  409   setName(NameStr);
  419   setName(NameStr);
  746   setName(NameStr);
  817   setName(NameStr);
 1001   setName(NameStr);
 1012   setName(NameStr);
 1079   setName(NameStr);
 1235   setName(Name);
 1246   setName(Name);
 1325   setName(Name);
 1337   setName(Name);
 1603   setName(Name);
 1715   setName(Name);
 1730   setName(Name);
 1754   setName(Name);
 1769   setName(Name);
 1803   setName(Name);
 1821   setName(Name);
 2123   setName(Name);
 2147   setName(Name);
 2196   setName(Name);
 2205   setName(Name);
 2253   setName(Name);
 2266   setName(Name);
 3471   setName(Name);
 3485   setName(Name);
lib/IR/Value.cpp
  299       if (V->hasName()) V->setName("");
  318       V->setName("");
lib/LTO/LTO.cpp
  979       GV->setName(I.first);
lib/Linker/IRMover.cpp
  558     ConflictGV->setName(Name); // This will cause ConflictGV to get renamed
  561     GV->setName(Name); // Force the name back
lib/Target/AArch64/AArch64StackTagging.cpp
  457   Base->setName("basetag");
  627       TagPCall->setName(Info.AI->getName() + ".tag");
lib/Target/AMDGPU/AMDGPULowerKernelArguments.cpp
  217       Load->setName(Arg.getName() + ".load");
lib/Target/AMDGPU/AMDGPUOpenCLEnqueuedBlockLowering.cpp
  115         F.setName(Name);
lib/Target/AMDGPU/AMDGPUPropagateAttributes.cpp
  278     F.setName(NewName);
lib/Target/AMDGPU/R600OpenCLImageTypeLoweringPass.cpp
  311       NewFArgIt->setName(ArgName);
  314         (NewFArgIt++)->setName(Twine("__size_") + ArgName);
  315         (NewFArgIt++)->setName(Twine("__format_") + ArgName);
lib/Target/Hexagon/HexagonLoopIdiomRecognition.cpp
 2226     Preheader->setName(Preheader->getName()+".old");
lib/Target/Hexagon/HexagonVectorLoopCarriedReuse.cpp
  628     InstInPreheader->setName(Inst2Replace->getName() + ".hexagon.vlcr");
lib/Target/NVPTX/NVPTXAssignValidGlobalNames.cpp
   60       GV.setName(cleanUpName(GV.getName()));
   67       F.setName(cleanUpName(F.getName()));
lib/Target/NVPTX/NVPTXGenericToNVVM.cpp
  149     NewGV->setName(Name);
lib/Target/WebAssembly/WebAssemblyAddMissingPrototypes.cpp
  140     NewF->setName(Name);
lib/Target/WebAssembly/WebAssemblyFixFunctionBitcasts.cpp
  215     Wrapper->setName(F->getName() + "_bitcast_invalid");
  305     Main->setName("__original_main");
  316       MainWrapper->setName("main");
lib/Transforms/Coroutines/CoroFrame.cpp
  645     G->setName(CurrentValue->getName() + Twine(".reload.addr"));
  905     IncomingBB->setName(BB.getName() + Twine(".from.") + Pred->getName());
  973       CurrentMaterialization->setName(CurrentDef->getName());
  998       BB->setName(Name);
lib/Transforms/Coroutines/CoroSplit.cpp
  566   Entry->setName("entry" + Suffix);
lib/Transforms/IPO/ArgumentPromotion.cpp
  401         I2->setName(I->getName() + "." + Twine(i));
  432         I2->setName(I->getName() + ".val");
  460         TheArg->setName(NewName);
lib/Transforms/IPO/CrossDSOCFI.cpp
  119   CallSiteTypeId.setName("CallSiteTypeId");
  121   Addr.setName("Addr");
  123   CFICheckFailData.setName("CFICheckFailData");
lib/Transforms/IPO/LowerTypeTests.cpp
 1074     F->setName(Name + ".cfi");
 1542           F->setName(FAlias->getName() + ".cfi");
 1897           F->setName(F->getName() + ".1");
 2169           Alias->setName(AliasName);
lib/Transforms/IPO/StripSymbols.cpp
  168         V->setName("");
  214         I->setName("");     // Internal symbols can't participate in linkage
  220         I.setName(""); // Internal symbols can't participate in linkage
lib/Transforms/IPO/ThinLTOBitcodeWriter.cpp
   62     ExportGV.setName(NewName);
   67       ImportGV->setName(NewName);
lib/Transforms/IPO/WholeProgramDevirt.cpp
  959     TheFn->setName(NewName);
lib/Transforms/InstCombine/InstCombineCalls.cpp
 4617     Caller->setName("");   // Void type should not have a name.
lib/Transforms/InstCombine/InstCombineLoadStoreAlloca.cpp
  693     V->setName(Name);
  744     V->setName(Name);
lib/Transforms/Instrumentation/AddressSanitizer.cpp
 1989       G->setName(Twine(kAsanGenPrefix) + "_anon_global");
lib/Transforms/Instrumentation/DataFlowSanitizer.cpp
  628   GV->setName(Prefix + GVName);
lib/Transforms/Instrumentation/HWAddressSanitizer.cpp
 1060     Replacement->setName(Name + ".hwasan");
lib/Transforms/Instrumentation/MemorySanitizer.cpp
 2239     Si->setName("_msprop_icmp");
lib/Transforms/Instrumentation/PGOInstrumentation.cpp
  679   F.setName(Twine(NewFuncName));
  707       GA->setName(Twine(GA->getName() + "." + Twine(FunctionHash)));
lib/Transforms/Instrumentation/PGOMemOPSizeOpt.cpp
  347   MergeBB->setName("MemOP.Merge");
  349   DefaultBB->setName("MemOP.Default");
lib/Transforms/Scalar/CallSiteSplitting.cpp
  226   Copy->setName(I->getName());
lib/Transforms/Scalar/DivRemPairs.cpp
  209       RealRem->setName(RemInst->getName() + ".recomposed");
  305       Sub->setName(RemInst->getName() + ".decomposed");
lib/Transforms/Scalar/GVN.cpp
 2232   Instr->setName(Instr->getName() + ".pre");
lib/Transforms/Scalar/GuardWidening.cpp
  595         Result->setName("wide.chk");
lib/Transforms/Scalar/InductiveRangeCheckElimination.cpp
 1017   IndVarStartV->setName("indvar.start");
 1449     ExitPreLoopAt->setName("exit.preloop.at");
 1476     ExitMainLoopAt->setName("exit.mainloop.at");
lib/Transforms/Scalar/JumpThreading.cpp
 2011     New->setName(BI->getName());
 2352       New->setName(BI->getName());
lib/Transforms/Scalar/LICM.cpp
 1394     New->setName(I.getName() + ".le");
lib/Transforms/Scalar/LoopIdiomRecognize.cpp
 2454   DispatchBB->setName(LoopName + ".bcmpdispatchbb");
 2635     Len->setName(Len->getName() + ".bytecount");
lib/Transforms/Scalar/LoopSink.cpp
  230     IC->setName(I.getName());
lib/Transforms/Scalar/LoopStrengthReduce.cpp
 2482         Cond->setName(L->getHeader()->getName() + ".termcond");
lib/Transforms/Scalar/MakeGuardsExplicit.cpp
   74   NewCond->setName("exiplicit_guard_cond");
lib/Transforms/Scalar/Reassociate.cpp
  846     I->setName(I->getName()+".neg");
lib/Transforms/Scalar/RewriteStatepointsForGC.cpp
 1567     Token->setName("statepoint_token");
 2104         ClonedValue->setName(Instr->getName() + ".remat");
lib/Transforms/Scalar/SimpleLoopUnswitch.cpp
 1027     ExitBB->setName(Twine(MergeBB->getName()) + ".split");
 2400   GuardedBlock->setName("guarded");
 2401   CheckBI->getSuccessor(1)->setName("deopt");
lib/Transforms/Scalar/SpeculateAroundPHIs.cpp
  659       NewI->setName(Twine(OrigI->getName()) + "." + Twine(PredIdx));
lib/Transforms/Scalar/StructurizeCFG.cpp
  861     LoopStart->setName("entry.orig");
lib/Transforms/Scalar/TailRecursionElimination.cpp
  574     OldEntry->setName("tailrecurse");
lib/Transforms/Utils/BasicBlockUtils.cpp
  739   Clone1->setName(Twine("lpad") + Suffix1);
  744     Clone2->setName(Twine("lpad") + Suffix2);
lib/Transforms/Utils/CallPromotionUtils.cpp
  280   ThenBlock->setName("if.true.direct_targ");
  281   ElseBlock->setName("if.false.orig_indirect");
  282   MergeBlock->setName("if.end.icp");
lib/Transforms/Utils/CloneFunction.cpp
   47     NewBB->setName(BB->getName() + NameSuffix);
   59       NewInst->setName(I.getName() + NameSuffix);
  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
  159       DestI->setName(J->getName());
lib/Transforms/Utils/CodeExtractor.cpp
  955       AI->setName(inputs[i]->getName());
  957       AI->setName(outputs[i]->getName()+".out");
lib/Transforms/Utils/FunctionImportUtils.cpp
  264     GV.setName(getName(&GV, DoPromote));
lib/Transforms/Utils/GuardUtils.cpp
   41   CheckBI->getSuccessor(0)->setName("guarded");
   42   CheckBI->getSuccessor(1)->setName("deopt");
   57     DeoptCall->setName("deoptcall");
lib/Transforms/Utils/InstructionNamer.cpp
   36           Arg.setName("arg");
   40           BB.setName("bb");
   44             I.setName("tmp");
lib/Transforms/Utils/IntegerDivision.cpp
  218   SpecialCases->setName(Twine(SpecialCases->getName(), "_udiv-special-cases"));
lib/Transforms/Utils/LibCallsShrinkWrap.cpp
  492   CallBB->setName("cdce.call");
  495   SuccBB->setName("cdce.end");
lib/Transforms/Utils/LoopRotationUtils.cpp
  371       C->setName(Inst->getName());
  458     NewPH->setName(NewHeader->getName() + ".lr.ph");
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
  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");
lib/Transforms/Utils/LoopVersioning.cpp
   89   RuntimeCheckBB->setName(VersionedLoop->getHeader()->getName() +
lib/Transforms/Utils/LowerMemIntrinsics.cpp
  315   CopyBackwardsBB->setName("copy_backwards");
  317   CopyForwardBB->setName("copy_forward");
  319   ExitBB->setName("memmove_done");
lib/Transforms/Utils/MetaRenamer.cpp
  100         AI->setName("alias");
  109         GI->setName("global");
  137           F.setName(renamer.newName());
  147           AI->setName("arg");
  150         BB.setName("bb");
  154             I.setName("tmp");
lib/Transforms/Utils/NameAnonGlobals.cpp
   72     GV.setName(Twine("anon.") + ModuleHash.get() + "." + Twine(count++));
lib/Transforms/Utils/SimplifyCFG.cpp
 2244         N->setName(BBI->getName() + ".c");
 2748       BonusInst->setName(BonusInst->getName() + ".old");
 2758     Cond->setName(CondInPred->getName() + ".old");
 5438     MaskBB->setName("switch.hole_check");
lib/Transforms/Utils/SplitModule.cpp
  113       GV.setName("__llvmsplit_unnamed");
  224     GV->setName("__llvmsplit_unnamed");
lib/Transforms/Utils/SymbolRewriter.cpp
  142       S->setName(Target);
  196       C.setName(Name);
lib/Transforms/Vectorize/LoopVectorize.cpp
 1745   LastInduction->setName("vec.ind.next");
 1855       ScalarIV->setName("offset.idx");
 2496     Cloned->setName(Instr->getName() + ".cloned");
 2729   BB->setName("vector.scevcheck");
 2775   BB->setName("vector.memcheck");
 3023       EndValue->setName("ind.end");
 3147       CMO->setName("cast.cmo");
 3149       Escape->setName("ind.escape");
 3627   Phi->setName("scalar.recur");
 4035         SclrGep->setName("next.gep");
tools/bugpoint/ExtractFunction.cpp
  315       I->setName(I->getName().substr(1));
  397       BB->setName("tmpbb");
tools/bugpoint/Miscompilation.cpp
  295       I->setName("anon_global");
  298       I->setName("anon_fn");
  794       oldMain->setName("llvm_bugpoint_old_main");
  810         I->setName(OI->getName()); // Copy argument names from oldMain
tools/clang/lib/CodeGen/BackendUtil.cpp
 1649     GV->setName("llvm.embedded.module");
 1672       GV->setName("llvm.cmdline");
tools/clang/lib/CodeGen/CGCXX.cpp
  197     Alias->setName(MangledName);
tools/clang/lib/CodeGen/CGCall.cpp
 2267     AI->setName("agg.result");
 2482           AI->setName(Arg->getName() + ".coerce" + Twine(i));
 2495         AI->setName(Arg->getName() + ".coerce");
 2547         AI->setName(Arg->getName() + "." + Twine(i));
 4377     CI->setName("call");
tools/clang/lib/CodeGen/CGDecl.cpp
 2351   Arg.getAnyValue()->setName(D.getName());
tools/clang/lib/CodeGen/CGException.cpp
  663     DispatchBlock->setName("catch.dispatch");
  667     DispatchBlock->setName("ehcleanup");
  674     DispatchBlock->setName("terminate");
 1747   ChildVar->setName(ParentVar.getName());
tools/clang/lib/CodeGen/CGExprScalar.cpp
 4407     Src->setName("astype");
 4422     Src->setName("astype");
tools/clang/lib/CodeGen/CGObjCGNU.cpp
 1414       GV->setName(SymName);
 1962         classStruct->setName(SymbolForClass(className));
 2978     Class->setName(ClassSym);
tools/clang/lib/CodeGen/CGOpenMPRuntime.cpp
 1298       GA->setName(CGM.getMangledName(OldGD));
tools/clang/lib/CodeGen/CGOpenMPRuntimeNVPTX.cpp
 1192   WST.WorkerFn->setName(Twine(OutlinedFn->getName(), "_worker"));
tools/clang/lib/CodeGen/CGVTables.cpp
  527     OldThunkFn->setName(StringRef());
tools/clang/lib/CodeGen/CodeGenModule.cpp
 1068         Entry->setName(OtherName);
 3058     GIF->setName(ResolverName);
 3554               GV->setName(StringRef());
 3961     Entry->setName(StringRef());
 4497     GA->setName(MangledName);
 4570     GIF->setName(MangledName);
tools/clang/lib/CodeGen/ItaniumCXXABI.cpp
 3947     Alias->setName(MangledName);
tools/lldb/source/Plugins/LanguageRuntime/RenderScript/RenderScriptRuntime/RenderScriptx86ABIFixups.cpp
  189         ->setName("new_func_ptr_load_cast");
tools/llvm-reduce/deltas/ReduceArguments.cpp
   98     ClonedFunc->setName(FName);
tools/polly/lib/CodeGen/BlockGenerators.cpp
  252     NewInst->setName("p_" + Inst->getName());
  431   CopyBB->setName("polly.stmt." + BB->getName());
  642     CondInst->setName("polly." + Subject + ".cond");
  643   ThenBlock->setName(BlockName + "." + Subject + ".partial");
  644   TailBlock->setName(BlockName + ".cont");
 1372   CopyBB->setName("polly.stmt." + BB->getName());
 1478   EntryBBCopy->setName("polly.stmt." + EntryBB->getName() + ".entry");
 1544   ExitBBCopy->setName("polly.stmt." + R->getExit()->getName() + ".exit");
tools/polly/lib/CodeGen/IslNodeBuilder.cpp
  631   ParBB->setName("polly.parallel.for");
  791   CondBB->setName("polly.cond");
  793   MergeBB->setName("polly.merge");
 1277   CondBB->setName("polly.preload.cond");
 1280   MergeBB->setName("polly.preload.merge");
 1514   PreLoadBB->setName("polly.preload.begin");
tools/polly/lib/CodeGen/LoopGenerators.cpp
  126   ExitBB->setName("polly.loop_exit");
  137     LoopGuard->setName("polly.loop_guard");
  209   SubFn->setName(FunctionName);
  237     Address->setName("polly.subfn.storeaddr." + Values[i]->getName());
  249     NewValue->setName("polly.subfunc.arg." + OldValues[i]->getName());
tools/polly/lib/CodeGen/LoopGeneratorsGOMP.cpp
   66   SubFn->arg_begin()->setName("polly.par.userContext");
tools/polly/lib/CodeGen/LoopGeneratorsKMP.cpp
   89   AI->setName("polly.kmpc.global_tid");
   91   AI->setName("polly.kmpc.bound_tid");
   93   AI->setName("polly.kmpc.lb");
   95   AI->setName("polly.kmpc.ub");
   97   AI->setName("polly.kmpc.inc");
   99   AI->setName("polly.kmpc.shared");
tools/polly/lib/CodeGen/Utils.cpp
  101   SplitBlock->setName("polly.split_new_and_old");
  121   MergeBlock->setName("polly.merge_new_and_old");
tools/polly/lib/Support/ScopHelper.cpp
  284     InstClone->setName(Name + Inst->getName());
unittests/Analysis/SparsePropagation.cpp
  382   F->arg_begin()->setName("cond");
  422   F->arg_begin()->setName("cond");
  467   A->setName("a");
  468   B->setName("b");
unittests/IR/LegacyPassManagerTest.cpp
  582         int1_f->setName("f");