Home
last modified time | relevance | path

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

12345

/netbsd-src/external/apache2/llvm/dist/clang/lib/ASTMatchers/
H A DGtestMatchers.cpp27 return cxxMethodDecl(hasName("Compare"), in getComparisonDecl()
29 hasName("::testing::internal::EqHelper"))))); in getComparisonDecl()
31 return functionDecl(hasName("::testing::internal::CmpHelperNE")); in getComparisonDecl()
33 return functionDecl(hasName("::testing::internal::CmpHelperGE")); in getComparisonDecl()
35 return functionDecl(hasName("::testing::internal::CmpHelperGT")); in getComparisonDecl()
37 return functionDecl(hasName("::testing::internal::CmpHelperLE")); in getComparisonDecl()
39 return functionDecl(hasName("::testing::internal::CmpHelperLT")); in getComparisonDecl()
/netbsd-src/external/apache2/llvm/dist/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.cpp125 if (!GV->hasName()) { in getNameWithPrefix()
216 bool NeedQuotes = GV->hasName() && !canBeUnquotedInDirective(GV->getName()); in emitLinkerFlagsForGlobalCOFF()
248 bool NeedQuotes = GV->hasName() && !canBeUnquotedInDirective(GV->getName()); in emitLinkerFlagsForUsedCOFF()
H A DValue.cpp303 if (!hasName()) in getName()
314 if (NewName.isTriviallyEmpty() && !hasName()) in setNameImpl()
358 if (hasName()) { in setNameImpl()
380 if (hasName()) { in takeName()
385 if (V->hasName()) V->setName(""); in takeName()
398 if (!V->hasName()) return; in takeName()
/netbsd-src/external/apache2/llvm/dist/llvm/tools/llvm-diff/
H A DDiffConsumer.cpp26 if (!AI->hasName()) in ComputeNumbering()
31 if (!FI->hasName()) in ComputeNumbering()
37 if (!BI->hasName() && !BI->getType()->isVoidTy()) in ComputeNumbering()
48 if (V->hasName()) { in printValue()
112 if (L->hasName() && R->hasName() && L->getName() == R->getName()) in header()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Utils/
H A DInstructionNamer.cpp29 if (!Arg.hasName()) in nameInstructions()
34 if (!BB.hasName()) in nameInstructions()
38 if (!I.hasName() && !I.getType()->isVoidTy()) in nameInstructions()
H A DNameAnonGlobals.cpp41 if (F.isDeclaration() || F.hasLocalLinkage() || !F.hasName()) in get()
47 if (GV.isDeclaration() || GV.hasLocalLinkage() || !GV.hasName()) in get()
70 if (GV.hasName()) in nameUnamedGlobals()
H A DSplitModule.cpp111 if (!GV.hasName()) in findPartitions()
222 if (!GV->hasName()) in externalize()
H A DCloneFunction.cpp49 if (BB->hasName()) in CloneBasicBlock()
61 if (I.hasName()) in CloneBasicBlock()
358 if (BB->hasName()) in CloneBlock()
410 if (II->hasName()) in CloneBlock()
468 if (OldTI->hasName()) in CloneBlock()
/netbsd-src/external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Checkers/
H A DNumberObjectConversionChecker.cpp203 typedefDecl(hasName("CFNumberRef")), in checkASTCodeBody()
204 typedefDecl(hasName("CFBooleanRef"))))))) in checkASTCodeBody()
214 cxxRecordDecl(hasName("OSBoolean")), in checkASTCodeBody()
215 cxxRecordDecl(hasName("OSNumber")) in checkASTCodeBody()
226 objcInterfaceDecl(hasName("NSNumber"))))))))))) in checkASTCodeBody()
244 typedefDecl(hasName("BOOL"))))).bind("objc_bool_type"); in checkASTCodeBody()
H A DOSObjectCStyleCast.cpp86 auto DynamicCastM = callExpr(callee(functionDecl(hasName("safeMetaCast")))); in checkASTCodeBody()
95 callee(functionDecl(hasName("allocClassWithName"))), in checkASTCodeBody()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/ExecutionEngine/JITLink/
H A DJITLink.cpp111 << (Sym.hasName() ? Sym.getName() : "<anonymous symbol>"); in operator <<()
122 if (TargetSym.hasName()) in printEdge()
246 if (LHS->hasName()) { in dump()
247 if (!RHS->hasName()) in dump()
294 if (E.getTarget().hasName()) in dump()
366 if (E.getTarget().hasName()) in makeTargetOutOfRangeError()
374 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()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Analysis/
H A DDomTreeUpdater.cpp470 if (!From->hasName()) in dump()
479 if (!To->hasName()) in dump()
513 if (BB->hasName()) in dump()
525 if (BB->hasName()) in dump()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/NVPTX/
H A DNVPTXUtilities.cpp228 assert(val.hasName() && "Found texture variable with no name"); in getTextureName()
233 assert(val.hasName() && "Found surface variable with no name"); in getSurfaceName()
238 assert(val.hasName() && "Found sampler variable with no name"); in getSamplerName()
/netbsd-src/external/apache2/llvm/dist/clang/docs/
H A DLibASTMatchers.rst33 insert a `hasName <LibASTMatchersReference.html#hasName0Anchor>`_ matcher: the
34 call ``recordDecl(hasName("Foo"))`` returns a matcher that matches classes or
39 "``Bar``": ``recordDecl(hasName("Foo"), isDerivedFrom("Bar"))``.
81 are bindable; for example, ``recordDecl(hasName("MyClass")).bind("id")`` will
/netbsd-src/external/apache2/llvm/dist/llvm/tools/llvm-jitlink/
H A Dllvm-jitlink-elf.cpp43 if (!TargetSym.hasName()) in getELFGOTTarget()
142 if (Sym->hasName()) { in registerELFGraphInfo()
H A Dllvm-jitlink-macho.cpp45 if (!TargetSym.hasName()) in getMachOGOTTarget()
137 } else if (Sym->hasName()) { in registerMachOGraphInfo()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/ExecutionEngine/Orc/
H A DObjectLinkingLayer.cpp56 assert(Sym->hasName() && "Anonymous non-local symbol?"); in scanLinkGraph()
211 if (Sym->hasName() && Sym->getScope() != Scope::Local) { in notifyResolved()
230 if (Sym->hasName()) { in notifyResolved()
348 if (Sym->hasName() && Sym->getLinkage() == Linkage::Weak) { in claimOrExternalizeWeakAndCommonSymbols()
380 if (Sym->hasName() && MR->getSymbols().count(ES.intern(Sym->getName()))) in markResponsibilitySymbolsLive()
395 assert(Sym->hasName() && in computeNamedSymbolDependencies()
H A DCompileOnDemandLayer.cpp40 assert(A.hasName() && "Anonymous alias?"); in extractSubModule()
41 assert(Aliasee->hasName() && "Anonymous aliasee"); in extractSubModule()
343 assert(GV->hasName() && "All GVs to extract should be named by now"); in emitPartition()
/netbsd-src/external/apache2/llvm/dist/llvm/examples/OrcV2Examples/LLJITWithObjectLinkingLayerPlugin/
H A DLLJITWithObjectLinkingLayerPlugin.cpp139 if (Sym->hasName()) in printGraph()
168 if (TargetSym.hasName()) in printGraph()
/netbsd-src/external/apache2/llvm/dist/clang/lib/Analysis/
H A DExprMutationAnalyzer.cpp469 anyOf(allOf(hasMethod(allOf(hasName("begin"), unless(isConst()))), in findRangeLoopMutation()
470 unless(hasMethod(allOf(hasName("begin"), isConst())))), in findRangeLoopMutation()
471 allOf(hasMethod(allOf(hasName("end"), unless(isConst()))), in findRangeLoopMutation()
472 unless(hasMethod(allOf(hasName("end"), isConst()))))); in findRangeLoopMutation()
/netbsd-src/external/apache2/llvm/dist/clang/lib/Tooling/DumpTool/
H A DASTSrcLocProcessor.cpp160 cxxRecordDecl(hasName("clang::Expr")).bind("exprBase"))), in CaptureMethods()
162 isDerivedFrom(cxxRecordDecl(hasName("clang::TypeLoc")) in CaptureMethods()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/LTO/
H A DLTOCodeGenerator.cpp409 if (!GV.hasName()) in applyScopeRestrictions()
433 GV.hasName()) in applyScopeRestrictions()
465 if (!GV.hasLocalLinkage() || !GV.hasName()) in restoreLinkageForExternals()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/ObjCARC/
H A DProvenanceAnalysisEvaluator.cpp50 if (!V->hasName()) in insertIfNamed()

12345