Home
last modified time | relevance | path

Searched refs:hasName (Results 1 – 25 of 137) sorted by relevance

123456

/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DSymbolTableListTraitsImpl.h54 if (I->hasName()) in setSymTabObject()
61 if (I->hasName()) in setSymTabObject()
73 if (V->hasName()) in addNodeToList()
82 if (V->hasName()) in removeNodeFromList()
107 bool HasName = V.hasName(); in transferNodesFromList()
H A DMangler.cpp133 if (!GV->hasName()) { in getNameWithPrefix()
223 bool NeedQuotes = GV->hasName() && !canBeUnquotedInDirective(GV->getName()); in emitLinkerFlagsForGlobalCOFF()
262 bool NeedQuotes = GV->hasName() && !canBeUnquotedInDirective(GV->getName()); in emitLinkerFlagsForGlobalCOFF()
286 bool NeedQuotes = GV->hasName() && !canBeUnquotedInDirective(GV->getName()); in emitLinkerFlagsForUsedCOFF()
H A DValue.cpp313 if (!hasName()) in getName()
324 if (!NeedNewName && !hasName()) in setNameImpl()
328 if (NewName.isTriviallyEmpty() && !hasName()) in setNameImpl()
363 if (hasName()) { in setNameImpl()
387 if (hasName()) { in takeName()
392 if (V->hasName()) V->setName(""); in takeName()
405 if (!V->hasName()) return; in takeName()
/freebsd/contrib/llvm-project/llvm/tools/llvm-diff/lib/
H A DDiffConsumer.cpp26 if (!Arg.hasName()) in ComputeNumbering()
31 if (!Func.hasName()) in ComputeNumbering()
37 if (!BB.hasName() && !BB.getType()->isVoidTy()) in ComputeNumbering()
47 if (V->hasName()) { in printValue()
111 if (L->hasName() && R->hasName() && L->getName() == R->getName()) in header()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DInstructionNamer.cpp26 if (!Arg.hasName()) in nameInstructions()
31 if (!BB.hasName()) in nameInstructions()
35 if (!I.hasName() && !I.getType()->isVoidTy()) in nameInstructions()
H A DNameAnonGlobals.cpp40 if (F.isDeclaration() || F.hasLocalLinkage() || !F.hasName()) in get()
46 if (GV.isDeclaration() || GV.hasLocalLinkage() || !GV.hasName()) in get()
69 if (GV.hasName()) in nameUnamedGlobals()
H A DSplitModule.cpp129 if (!GV.hasName()) in findPartitions()
230 if (!GV->hasName()) in externalize()
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DNumberObjectConversionChecker.cpp201 hasDeclaration(anyOf(typedefDecl(hasName("CFNumberRef")), in checkASTCodeBody()
202 typedefDecl(hasName("CFBooleanRef"))))))))) in checkASTCodeBody()
212 cxxRecordDecl(hasName("OSBoolean")), in checkASTCodeBody()
213 cxxRecordDecl(hasName("OSNumber")) in checkASTCodeBody()
224 objcInterfaceDecl(hasName("NSNumber"))))))))))) in checkASTCodeBody()
242 typedefType(hasDeclaration(typedefDecl(hasName("BOOL"))))))) in checkASTCodeBody()
H A DOSObjectCStyleCast.cpp86 auto DynamicCastM = callExpr(callee(functionDecl(hasName("safeMetaCast")))); in checkASTCodeBody()
95 callee(functionDecl(hasName("allocClassWithName"))), in checkASTCodeBody()
H A DPointerIterationChecker.cpp69 recordDecl(hasName("std::unordered_set") in matchUnorderedIterWithPointers()
/freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/JITLink/
H A DJITLink.cpp128 << (Sym.hasName() ? Sym.getName() : "<anonymous symbol>"); in operator <<()
139 if (TargetSym.hasName()) in printEdge()
267 if (LHS->hasName()) { in dump()
268 if (!RHS->hasName()) in dump()
317 if (E.getTarget().hasName()) in dump()
388 if (E.getTarget().hasName()) { in makeTargetOutOfRangeError()
399 if (&Sym->getBlock() == &B && Sym->hasName() && Sym->getOffset() == 0 && in makeTargetOutOfRangeError()
H A DPerGraphGOTAndPLTStubsBuilder.h71 assert(Target.hasName() && "GOT edge cannot point to anonymous target"); in getGOTEntry()
93 assert(Target.hasName() && in getPLTStub()
H A DEHFrameSupport.cpp61 !Sym->hasName(), Sym->getName()) < in operator ()()
63 !CurSym->hasName(), CurSym->getName()))) in operator ()()
529 if (EdgeI->second.Target->hasName()) in getOrCreateEncodedPointerEdge()
595 if (TargetSym->hasName()) in getOrCreateEncodedPointerEdge()
/freebsd/contrib/llvm-project/llvm/include/llvm/ExecutionEngine/JITLink/
H A DTableManager.h33 assert(Target.hasName() && "Edge cannot point to anonymous target"); in getEntryForTarget()
62 assert(Target.hasName() && "Edge cannot point to anonymous target"); in registerPreExistingEntry()
/freebsd/contrib/llvm-project/clang/lib/Analysis/FlowSensitive/Models/
H A DUncheckedOptionalAccessModel.cpp253 return callExpr(callee(functionDecl(hasName("std::swap"))), in isStdSwapCall()
260 return callExpr(callee(functionDecl(hasName("std::forward"))), in isStdForwardCall()
270 callee(cxxMethodDecl(hasName("empty"))), in isValueOrStringEmptyCall()
273 callee(cxxMethodDecl(hasName("value_or"), in isValueOrStringEmptyCall()
284 callee(cxxMethodDecl(hasName("value_or"), in isValueOrNotEqX()
705 return isOptionalMemberCallWithNameMatcher(hasName("value"), in valueCall()
784 isOptionalMemberCallWithNameMatcher(hasName("operator bool")), in buildTransferMatchSwitch()
789 isOptionalMemberCallWithNameMatcher(hasName("emplace")), in buildTransferMatchSwitch()
800 isOptionalMemberCallWithNameMatcher(hasName("reset")), in buildTransferMatchSwitch()
812 isOptionalMemberCallWithNameMatcher(hasName("swap")), in buildTransferMatchSwitch()
/freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DGenericDomTreeUpdaterImpl.h194 if (!From->hasName()) in dump()
203 if (!To->hasName()) in dump()
237 if (BB->hasName()) in dump()
/freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/Orc/
H A DCompileOnDemandLayer.cpp40 assert(A.hasName() && "Anonymous alias?"); in extractSubModule()
41 assert(Aliasee->hasName() && "Anonymous aliasee"); in extractSubModule()
346 assert(GV->hasName() && "All GVs to extract should be named by now"); in emitPartition()
H A DObjectLinkingLayer.cpp101 assert(Sym->hasName() && "Anonymous non-local symbol?"); in scanLinkGraph()
241 if (Sym->hasName() && Sym->getScope() != Scope::Local) { in notifyResolved()
254 if (Sym->hasName() && Sym->getScope() != Scope::Local) { in notifyResolved()
468 if (Sym->hasName() && Sym->getLinkage() == Linkage::Weak && in claimOrExternalizeWeakAndCommonSymbols()
506 if (Sym->hasName() && MR->getSymbols().count(ES.intern(Sym->getName()))) in markResponsibilitySymbolsLive()
525 assert(Sym->hasName() && in registerDependencies()
H A DMangling.cpp41 if (!G->hasName() || G->isDeclaration() || G->hasLocalLinkage() || in add()
/freebsd/contrib/llvm-project/llvm/lib/Target/NVPTX/
H A DNVPTXUtilities.cpp264 assert(val.hasName() && "Found texture variable with no name"); in getTextureName()
269 assert(val.hasName() && "Found surface variable with no name"); in getSurfaceName()
274 assert(val.hasName() && "Found sampler variable with no name"); in getSamplerName()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/ObjCARC/
H A DProvenanceAnalysisEvaluator.cpp28 if (!V->hasName()) in insertIfNamed()
/freebsd/contrib/llvm-project/clang/lib/Analysis/
H A DExprMutationAnalyzer.cpp553 anyOf(allOf(hasMethod(allOf(hasName("begin"), unless(isConst()))), in findRangeLoopMutation()
554 unless(hasMethod(allOf(hasName("begin"), isConst())))), in findRangeLoopMutation()
555 allOf(hasMethod(allOf(hasName("end"), unless(isConst()))), in findRangeLoopMutation()
556 unless(hasMethod(allOf(hasName("end"), isConst()))))); in findRangeLoopMutation()
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUOpenCLEnqueuedBlockLowering.cpp85 if (!F.hasName()) { in runOnModule()
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DDomTreeUpdater.cpp112 if (BB->hasName()) in dump()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/
H A DInstrumentation.cpp75 assert(F.hasName()); in getOrCreateFunctionComdat()

123456