Home
last modified time | relevance | path

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

1234567

/freebsd/contrib/llvm-project/clang/lib/ASTMatchers/
H A DGtestMatchers.cpp36 return cxxMethodDecl(hasName("Compare"), in getComparisonDecl()
38 hasName("::testing::internal::EqHelper"))))); in getComparisonDecl()
40 return functionDecl(hasName("::testing::internal::CmpHelperNE")); in getComparisonDecl()
42 return functionDecl(hasName("::testing::internal::CmpHelperGE")); in getComparisonDecl()
44 return functionDecl(hasName("::testing::internal::CmpHelperGT")); in getComparisonDecl()
46 return functionDecl(hasName("::testing::internal::CmpHelperLE")); in getComparisonDecl()
48 return functionDecl(hasName("::testing::internal::CmpHelperLT")); in getComparisonDecl()
131 0, expr(hasType(classTemplateSpecializationDecl(hasName( in gtestThatInternal()
134 callExpr(callee(functionDecl(hasName( in gtestThatInternal()
155 callee(functionDecl(hasName(getSpecSetterName(Macro)))), in gtestCallInternal()
[all …]
/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.cpp326 if (!hasName()) in getName()
337 if (!NeedNewName && !hasName()) in setNameImpl()
341 if (NewName.isTriviallyEmpty() && !hasName()) in setNameImpl()
376 if (hasName()) { in setNameImpl()
400 if (hasName()) { in takeName()
405 if (V->hasName()) V->setName(""); in takeName()
418 if (!V->hasName()) return; in takeName()
H A DDiagnosticPrinter.cpp101 if (V.hasName()) in operator <<()
/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.cpp128 if (!GV.hasName()) in findPartitions()
213 if (!GV->hasName()) in externalize()
/freebsd/contrib/llvm-project/llvm/tools/llvm-diff/lib/
H A DDiffConsumer.cpp28 if (!Arg.hasName()) in ComputeNumbering()
33 if (!Func.hasName()) in ComputeNumbering()
39 if (!BB.hasName() && !BB.getType()->isVoidTy()) in ComputeNumbering()
49 if (V->hasName()) { in printValue()
113 if (L->hasName() && R->hasName() && L->getName() == R->getName()) in header()
/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()
/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/
H A DSmartPointerAccessorCaching.cpp19 using ast_matchers::hasName;
168 hasName(MethodName), in isSmartPointerLikeValueMethodCall()
176 hasName(MethodName), ofClass(smartPointerClassWithGetLike(MethodName))))); in isSmartPointerLikeGetMethodCall()
/freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/JITLink/
H A DJITLink.cpp129 << (Sym.hasName() ? *Sym.getName() : "<anonymous symbol>"); in operator <<()
140 if (TargetSym.hasName()) in printEdge()
297 if (LHS->hasName()) { in dump()
298 if (!RHS->hasName()) in dump()
354 if (E.getTarget().hasName()) in dump()
427 if (E.getTarget().hasName()) in makeTargetOutOfRangeError()
442 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 DELF_ppc64.cpp109 if (LLVM_UNLIKELY(Sym->hasName() && *Sym->getName() == ELFTOCSymbolName)) { in createELFGOTHeader()
116 if (Sym->hasName() && *Sym->getName() == ELFTOCSymbolName) { in createELFGOTHeader()
422 if (LLVM_UNLIKELY(Sym->hasName() && in defineTOCBase()
433 if (Sym->hasName() && *Sym->getName() == ELFTOCSymbolName) { in defineTOCBase()
H A DEHFrameSupport.cpp60 !Sym->hasName(), Sym->getName()) < in operator ()()
62 !CurSym->hasName(), CurSym->getName()))) in operator ()()
525 if (EdgeI->second.Target->hasName()) in getOrCreateEncodedPointerEdge()
591 if (TargetSym->hasName()) in getOrCreateEncodedPointerEdge()
H A DCompactUnwindSupport.cpp73 << (E.getTarget().hasName() ? *E.getTarget().getName() in splitCompactUnwindBlocks()
/freebsd/contrib/llvm-project/clang/lib/Analysis/FlowSensitive/Models/
H A DUncheckedOptionalAccessModel.cpp286 return callExpr(callee(functionDecl(hasName("std::swap"))), in isStdSwapCall()
293 return callExpr(callee(functionDecl(hasName("std::forward"))), in isStdForwardCall()
303 callee(cxxMethodDecl(hasName("empty"))), in isValueOrStringEmptyCall()
306 callee(cxxMethodDecl(hasName("value_or"), in isValueOrStringEmptyCall()
317 callee(cxxMethodDecl(hasName("value_or"), in isValueOrNotEqX()
897 return isOptionalMemberCallWithNameMatcher(hasName("value"), in valueCall()
976 isOptionalMemberCallWithNameMatcher(hasName("operator bool")), in buildTransferMatchSwitch()
982 isOptionalMemberCallWithNameMatcher(hasName("isNull")), in buildTransferMatchSwitch()
987 isOptionalMemberCallWithNameMatcher(hasName("emplace")), in buildTransferMatchSwitch()
998 isOptionalMemberCallWithNameMatcher(hasName("reset")), in buildTransferMatchSwitch()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/Orc/
H A DIRPartitionLayer.cpp36 assert(A.hasName() && "Anonymous alias?"); in extractSubModule()
37 assert(Aliasee->hasName() && "Anonymous aliasee"); in extractSubModule()
269 assert(GV->hasName() && "All GVs to extract should be named by now"); in emitPartition()
H A DMangling.cpp40 if (!G->hasName() || G->isDeclaration() || G->hasLocalLinkage() || in add()
H A DLinkGraphLayer.cpp53 assert(Sym->hasName() && "Anonymous non-local symbol?"); in getInterface()
/freebsd/contrib/llvm-project/llvm/lib/Target/NVPTX/
H A DNVPTXUtilities.cpp290 assert(V.hasName() && "Found texture variable with no name"); in getTextureName()
295 assert(V.hasName() && "Found surface variable with no name"); in getSurfaceName()
300 assert(V.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/llvm/lib/Analysis/
H A DDomTreeUpdater.cpp115 if (BB->hasName()) in dump()

1234567