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

References

include/llvm/Analysis/LoopInfo.h
  829       if (Header->hasName())
include/llvm/Analysis/TargetTransformInfoImpl.h
  180     if (F->hasLocalLinkage() || !F->hasName())
include/llvm/IR/ModuleSummaryIndex.h
 1201     assert(GV.hasName() && "Can't get GlobalValueSummary for GV with no name");
lib/Analysis/AliasSetTracker.cpp
  688         if (I->hasName())
lib/Analysis/ConstantFolding.cpp
 1483   if (!F->hasName())
 2473   if (!F->hasName())
lib/Analysis/DomTreeUpdater.cpp
  470             if (!From->hasName())
  479             if (!To->hasName())
  513     if (BB->hasName())
  525     if (BB->hasName())
lib/Analysis/Lint.cpp
  218   Assert(F.hasName() || F.hasLocalLinkage(),
lib/Analysis/MemorySSA.cpp
 2212     if (BB->hasName())
lib/Analysis/ModuleSummaryAnalysis.cpp
  249   assert(F.hasName());
  342         assert(CalledFunction->hasName());
lib/AsmParser/LLParser.cpp
 2835     if (!A.hasName())
 5583   if (!Fn.hasName()) FunctionNumber = NumberedVals.size()-1;
lib/Bitcode/Reader/BitcodeReader.cpp
 5200     assert(VSTOffset == 0 || !F->hasName());
lib/Bitcode/Writer/BitcodeWriter.cpp
 3837     if (!F.hasName())
 3860     if (!Aliasee->hasName())
lib/Bitcode/Writer/ValueEnumerator.cpp
  482     if (V->hasName())
  493       if(U->hasName())
lib/CodeGen/AsmPrinter/AsmPrinter.cpp
 2956       if (BB->hasName()) {
lib/CodeGen/MIRParser/MIParser.cpp
 2965     if (BB.hasName())
lib/CodeGen/MIRPrinter.cpp
  394           Alloca->hasName() ? Alloca->getName() : "<unnamed alloca>";
  610     if (BB->hasName()) {
lib/CodeGen/MachineBasicBlock.cpp
  306     if (BB->hasName()) {
lib/CodeGen/MachineOperand.cpp
  441   if (BB.hasName()) {
  475   if (V.hasName()) {
  517       if (Alloca->hasName())
lib/CodeGen/SafeStack.cpp
  675     if (AI->hasName() && isa<Instruction>(NewAI))
lib/CodeGen/SelectionDAG/FastISel.cpp
 1621     if (F && !F->hasLocalLinkage() && F->hasName() &&
lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
 7560         F->hasName() && LibInfo->getLibFunc(*F, Func) &&
lib/ExecutionEngine/ExecutionEngine.cpp
  192   assert(GV->hasName() && "Global must have name.");
 1200             GV.hasAppendingLinkage() || !GV.hasName())
lib/ExecutionEngine/Orc/CompileOnDemandLayer.cpp
   36       assert(A.hasName() && "Anonymous alias?");
   37       assert(Aliasee->hasName() && "Anonymous aliasee");
lib/ExecutionEngine/Orc/ExecutionUtils.cpp
   99     assert(CtorDtor.Func && CtorDtor.Func->hasName() &&
lib/ExecutionEngine/Orc/IndirectionUtils.cpp
  263     if (!GV.hasName())
lib/ExecutionEngine/Orc/Layer.cpp
   35       if (G.hasName() && !G.isDeclaration() && !G.hasLocalLinkage() &&
lib/IR/AsmWriter.cpp
  934     if (!Var.hasName())
  943     if (!A.hasName())
  948     if (!I.hasName())
  959     if (!F.hasName())
  988     if (!AI->hasName())
  995     if (!BB.hasName())
  999       if (!I.getType()->isVoidTy() && !I.hasName())
 1165   assert(!V->hasName() && "Doesn't need a slot!");
 1181   assert(!V->getType()->isVoidTy() && !V->hasName() && "Doesn't need a slot!");
 2229   if (V->hasName()) {
 3555   if (Arg->hasName()) {
 3568   if (BB->hasName()) {              // Print out the label if it exists...
 3665   if (I.hasName()) {
 4337   if (V.hasName() || isa<GlobalValue>(V) ||
lib/IR/AutoUpgrade.cpp
  838   if (!(GV->hasName() && (GV->getName() == "llvm.global_ctors" ||
lib/IR/Function.cpp
  337     if (A.hasName())
lib/IR/Mangler.cpp
  122   if (!GV->hasName()) {
lib/IR/SymbolTableListTraitsImpl.h
   49       if (I->hasName())
   56       if (I->hasName())
   67   if (V->hasName())
   76   if (V->hasName())
   96       bool HasName = V.hasName();
lib/IR/Value.cpp
  218   if (!hasName())
  229   if (NewName.isTriviallyEmpty() && !hasName())
  272   if (hasName()) {
  294   if (hasName()) {
  299       if (V->hasName()) V->setName("");
  312   if (!V->hasName()) return;
lib/IR/ValueSymbolTable.cpp
   73   assert(V->hasName() && "Can't insert nameless Value into symbol table");
lib/IR/Verifier.cpp
  637   if (GV.hasName() && (GV.getName() == "llvm.global_ctors" ||
  663   if (GV.hasName() && (GV.getName() == "llvm.used" ||
  681           Assert(V->hasName(), "members of llvm.used must be named", V);
 4072   Assert(!I.getType()->isVoidTy() || !I.hasName(),
lib/LTO/LTOCodeGenerator.cpp
  425     if (!GV.hasName())
  449           GV.hasName())
  483     if (!GV.hasLocalLinkage() || !GV.hasName())
lib/Linker/IRMover.cpp
  455     if (!SrcGV->hasName() || SrcGV->hasLocalLinkage())
lib/Linker/LinkModules.cpp
   84     if (!SrcGV->hasName() || GlobalValue::isLocalLinkage(SrcGV->getLinkage()))
lib/Object/RecordStreamer.cpp
  144     if (!GV.hasName())
lib/ProfileData/InstrProf.cpp
  340     if (!F.hasName())
lib/Target/AArch64/AArch64StackTagging.cpp
  626     if (Info.AI->hasName())
lib/Target/AMDGPU/AMDGPUHSAMetadataStreamer.cpp
  317   else if (Arg.hasName())
  734   else if (Arg.hasName())
lib/Target/AMDGPU/AMDGPULibCalls.cpp
  584   assert(Callee->hasName() && "Invalid read_pipe/write_pipe function");
lib/Target/AMDGPU/AMDGPUOpenCLEnqueuedBlockLowering.cpp
  111       if (!F.hasName()) {
lib/Target/AMDGPU/AMDGPUPropagateAttributes.cpp
  275   if (F.hasName()) {
lib/Target/Hexagon/HexagonCommonGEP.cpp
  251     else if (GN.Idx->hasName())
  295         if (R->hasName())
lib/Target/NVPTX/NVPTXAsmPrinter.cpp
  984       if (V->hasName())
lib/Target/NVPTX/NVPTXReplaceImageHandles.cpp
  171     assert(GV->hasName() && "Global sampler must be named!");
lib/Target/NVPTX/NVPTXUtilities.cpp
  228   assert(val.hasName() && "Found texture variable with no name");
  233   assert(val.hasName() && "Found surface variable with no name");
  238   assert(val.hasName() && "Found sampler variable with no name");
lib/Target/PowerPC/PPCLoopPreIncPrep.cpp
  177   if (I->hasName())
lib/Target/PowerPC/PPCTargetTransformInfo.cpp
  353         if (!F->hasLocalLinkage() && F->hasName() && LibInfo &&
lib/Target/WebAssembly/WebAssemblyExceptionInfo.cpp
  161       if (BB->hasName())
lib/Transforms/IPO/FunctionImport.cpp
 1108       if (!F.hasName())
 1130       if (!GV.hasName())
 1144       if (!GA.hasName())
lib/Transforms/IPO/GlobalOpt.cpp
 2272     if (!F->hasName() && !F->isDeclaration() && !F->hasLocalLinkage())
 2361     if (!GV->hasName() && !GV->isDeclaration() && !GV->hasLocalLinkage())
 2765     if (!J->hasName() && !J->isDeclaration() && !J->hasLocalLinkage())
lib/Transforms/IPO/LowerTypeTests.cpp
 1541         if (FAlias->hasName())
lib/Transforms/Instrumentation/AddressSanitizer.cpp
 1985     if (!G->hasName()) {
 2907           (Arg.hasName() ? Arg.getName() : "Arg" + Twine(Arg.getArgNo())) +
lib/Transforms/Instrumentation/HWAddressSanitizer.cpp
 1059         AI->hasName() ? AI->getName().str() : "alloca." + itostr(N);
lib/Transforms/Instrumentation/Instrumentation.cpp
   79   assert(F.hasName());
lib/Transforms/ObjCARC/ProvenanceAnalysisEvaluator.cpp
   48   if (!V->hasName())
lib/Transforms/Scalar/RewriteStatepointsForGC.cpp
  364   return V->hasName() ? (V->getName() + Suffix).str() : DefaultName.str();
 1569       StringRef Name = Call->hasName() ? Call->getName() : "";
lib/Transforms/Utils/BasicBlockUtils.cpp
  297   if (!PredBB->hasName())
  328   if (I.hasName() && !V->hasName())
  328   if (I.hasName() && !V->hasName())
lib/Transforms/Utils/CloneFunction.cpp
   46   if (BB->hasName())
   58     if (I.hasName())
  312   if (BB->hasName()) NewBB->setName(BB->getName()+NameSuffix);
  363     if (II->hasName())
  421     if (OldTI->hasName())
lib/Transforms/Utils/FunctionImportUtils.cpp
  206   if (GV.hasName()) {
lib/Transforms/Utils/InlineFunction.cpp
  955     if (A->hasName()) {
lib/Transforms/Utils/InstructionNamer.cpp
   35         if (!Arg.hasName())
   39         if (!BB.hasName())
   43           if (!I.hasName() && !I.getType()->isVoidTy())
lib/Transforms/Utils/Local.cpp
 1058   if (!Succ->hasName()) Succ->takeName(BB);
 2895   if (F && !F->hasLocalLinkage() && F->hasName() &&
lib/Transforms/Utils/NameAnonGlobals.cpp
   41       if (F.isDeclaration() || F.hasLocalLinkage() || !F.hasName())
   47       if (GV.isDeclaration() || GV.hasLocalLinkage() || !GV.hasName())
   70     if (GV.hasName())
lib/Transforms/Utils/SimplifyCFG.cpp
 2243       if (BBI->hasName())
lib/Transforms/Utils/SplitModule.cpp
  112     if (!GV.hasName())
  223   if (!GV->hasName())
lib/Transforms/Vectorize/LoopVectorize.cpp
 7183         VPBB->setName(BB->hasName() ? BB->getName() + "." + Twine(VPBBsForBB++)
tools/bugpoint/ExtractFunction.cpp
  314     if (I->hasName() && I->getName()[0] == '\01')
  396     if (!BB->hasName())
tools/bugpoint/Miscompilation.cpp
  294     if (!I->hasName())
  297     if (!I->hasName())
tools/clang/lib/CodeGen/CodeGenAction.cpp
  218                   return !GV.hasName() || (GVS.count(GV.getName()) == 0);
tools/clang/lib/CodeGen/TargetInfo.cpp
  454       Src, DestTy, Src->hasName() ? Src->getName() + ".ascast" : "");
tools/clang/unittests/CodeGen/IncrementalProcessingTest.cpp
  104     if (Func.hasName() && Func.getName().startswith("_GLOBAL__sub_I_"))
tools/lldb/source/Plugins/ExpressionParser/Clang/IRForTarget.cpp
  761   return !(!global_variable || !global_variable->hasName() ||
  922   return !(!global_variable || !global_variable->hasName() ||
 1345   if (!initializer->hasName())
 1493   if (!GV || !GV->hasName() || !isGuardVariableSymbol(GV->getName()))
tools/lli/lli.cpp
  711         if (F.hasName()) {
tools/llvm-diff/DiffConsumer.cpp
   26     if (!AI->hasName())
   31     if (!FI->hasName())
   37       if (!BI->hasName() && !BI->getType()->isVoidTy())
   48   if (V->hasName()) {
  112       if (L->hasName() && R->hasName() && L->getName() == R->getName())
  112       if (L->hasName() && R->hasName() && L->getName() == R->getName())
tools/llvm-link/llvm-link.cpp
  328               return !GV.hasName() || (GVS.count(GV.getName()) == 0);
tools/llvm-reduce/deltas/ReduceBasicBlocks.cpp
  133       if (BB.hasName())
tools/polly/lib/Analysis/ScopBuilder.cpp
 1418   if (!(MallocFn && MallocFn->hasName() && MallocFn->getName() == "malloc"))
tools/polly/lib/Analysis/ScopInfo.cpp
 1507       if (Val->hasName())
 1511         if (LoadOrigin->hasName()) {
tools/polly/lib/Support/GICHelper.cpp
  210   if (UseInstructionNames && Val->hasName())
tools/polly/lib/Transform/RewriteByReferenceParameters.cpp
   53     if (!F->hasName() || F->getName() != "_gfortran_transfer_integer_write")
unittests/Analysis/CFGTest.cpp
   50       if (I->hasName()) {
   64       if (I->hasName() && I->getName().startswith("excluded"))
   96         if (!F.hasName() || F.getName() != "test")
unittests/Analysis/ValueTrackingTest.cpp
   49       if (I->hasName()) {
unittests/Analysis/VectorUtilsTest.cpp
   47       if (I->hasName()) {