| /freebsd/contrib/llvm-project/llvm/include/llvm/XRay/ |
| H A D | Graph.h | 198 template <bool isConst, bool isOut> class InOutEdgeView { 200 using iterator = NeighborEdgeIteratorT<isConst, isOut>; 202 using GraphT = std::conditional_t<isConst, const Graph, Graph>; 204 std::conditional_t<isConst, const EdgeMapT, EdgeMapT>; 273 template <bool isConst> class VertexView { 276 std::conditional_t<isConst, ConstVertexIterator, VertexIterator>; 278 using GraphT = std::conditional_t<isConst, const Graph, Graph>; 310 template <bool isConst> class EdgeView { 313 std::conditional_t<isConst, ConstEdgeIterator, EdgeIterator>; 315 using GraphT = std::conditional_t<isConst, const Graph, Graph>;
|
| /freebsd/contrib/llvm-project/llvm/lib/CodeGen/ |
| H A D | GlobalMerge.cpp | 161 bool isConst, unsigned AddrSpace) const; 166 const BitVector &GlobalSet, Module &M, bool isConst, 263 Module &M, bool isConst, in doMerge() argument 275 if (!GlobalMergeGroupByUse || (Opt.MergeConstAggressive && isConst)) { in doMerge() 277 return doMerge(Globals, AllGlobals, M, isConst, AddrSpace); in doMerge() 438 return doMerge(Globals, AllGlobals, M, isConst, AddrSpace); in doMerge() 473 Changed |= doMerge(Globals, UGS.Globals, M, isConst, AddrSpace); in doMerge() 481 bool isConst, unsigned AddrSpace) const { in doMerge() argument 560 M, MergedTy, isConst, MergedLinkage, MergedInit, MergedName, nullptr, in doMerge()
|
| /freebsd/contrib/llvm-project/clang/lib/Analysis/FlowSensitive/ |
| H A D | SmartPointerAccessorCaching.cpp | 53 if (!MD->isConst() || MD->getNumParams() != 0) in pointerLikeReturnType() 78 if (!MD->isConst() || MD->getNumParams() != 0 || in findReturnType() 190 if (MD->getOverloadedOperator() == OO_Star && MD->isConst() && in getCanonicalSmartPointerLikeOperatorCallee()
|
| /freebsd/contrib/llvm-project/clang/lib/Analysis/ |
| H A D | ExprMutationAnalyzer.cpp | 203 return FPT->isConst(); in AST_MATCHER() 396 const auto NonConstMethod = cxxMethodDecl(unless(isConst())); in findDirectMutation() 604 anyOf(allOf(hasMethod(allOf(hasName("begin"), unless(isConst()))), in findRangeLoopMutation() 605 unless(hasMethod(allOf(hasName("begin"), isConst())))), in findRangeLoopMutation() 606 allOf(hasMethod(allOf(hasName("end"), unless(isConst()))), in findRangeLoopMutation() 607 unless(hasMethod(allOf(hasName("end"), isConst()))))); in findRangeLoopMutation()
|
| H A D | IssueHash.cpp | 61 if (TargetT->isConst()) in GetSignature()
|
| /freebsd/contrib/llvm-project/llvm/lib/CodeGen/LiveDebugValues/ |
| H A D | InstrRefBasedImpl.h | 437 bool isConst() const { return ID.IsConst && !isUndef(); } 474 if (ID.isConst()) 635 if (getDbgOpID(Idx).isConst() != Other.getDbgOpID(Idx).isConst())
|
| H A D | InstrRefBasedImpl.cpp | 381 if (ID.isConst()) { in loadVarInloc() 2876 if (FirstValOp.isConst() || OutValOp.isConst()) in pickVPHILoc()
|
| /freebsd/contrib/llvm-project/clang/lib/Analysis/FlowSensitive/Models/ |
| H A D | UncheckedOptionalAccessModel.cpp | 337 callee(cxxMethodDecl(parameterCountIs(0), isConst()))); in isZeroParamConstMemberCall() 342 callee(cxxMethodDecl(parameterCountIs(0), isConst()))); in isZeroParamConstMemberOperatorCall() 346 return cxxMemberCallExpr(callee(cxxMethodDecl(unless(isConst())))); in isNonConstMemberCall() 350 return cxxOperatorCallExpr(callee(cxxMethodDecl(unless(isConst())))); in isNonConstMemberOperatorCall()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
| H A D | AMDGPURegBankLegalizeRules.cpp | 636 Predicate isConst([](const MachineInstr &MI) -> bool { in RegBankLegalizeRules() local 663 auto isUL = !isAtomicMMO && isUniMMO && (isConst || !isVolatileMMO) && in RegBankLegalizeRules() 664 (isConst || isInvMMO || isNoClobberMMO); in RegBankLegalizeRules()
|
| /freebsd/contrib/llvm-project/clang/lib/AST/ByteCode/ |
| H A D | EvalEmitter.cpp | 212 if (!Ptr.isZero() && !Ptr.isConst() && Ptr.isBlockPointer() && in emitRet()
|
| H A D | Pointer.h | 574 bool isConst() const { in isConst() function
|
| H A D | Interp.cpp | 394 Ptr.isConst()) in CheckExtern() 570 if (!Ptr.isConst() || Ptr.isMutable()) in CheckConst()
|
| /freebsd/contrib/llvm-project/clang/include/clang/Basic/ |
| H A D | Builtins.h | 275 bool isConst(unsigned ID) const { in isConst() function
|
| /freebsd/contrib/llvm-project/clang/lib/Serialization/ |
| H A D | TemplateArgumentHasher.cpp | 304 Hash.AddInteger(T->isConst()); in VisitFunctionType()
|
| /freebsd/contrib/llvm-project/llvm/lib/DebugInfo/CodeView/ |
| H A D | RecordName.cpp | 186 if (Ptr.isConst()) in visitKnownRecord()
|
| H A D | TypeDumpVisitor.cpp | 369 W->printNumber("IsConst", Ptr.isConst()); in visitKnownRecord()
|
| H A D | TypeRecordMapping.cpp | 398 if (Record.isConst()) in visitKnownRecord()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/WebAssembly/MCTargetDesc/ |
| H A D | WebAssemblyMCTargetDesc.h | 286 inline bool isConst(unsigned Opc) { in isConst() function
|
| /freebsd/contrib/llvm-project/clang/lib/ExtractAPI/ |
| H A D | DeclarationFragments.cpp | 916 if (Method->isConst()) in getFragmentsForCXXMethod() 950 if (ConversionFunction->isConst()) in getFragmentsForConversionFunction() 979 if (Method->isConst()) in getFragmentsForOverloadedOperator()
|
| /freebsd/contrib/llvm-project/clang/lib/AST/ |
| H A D | ODRHash.cpp | 715 AddBoolean(Method->isConst()); in AddFunctionDecl() 1075 Hash.AddBoolean(T->isConst()); in VisitFunctionType()
|
| H A D | ODRDiagsEmitter.cpp | 1133 const bool FirstConst = FirstMethod->isConst(); in diagnoseMismatch() 1134 const bool SecondConst = SecondMethod->isConst(); in diagnoseMismatch()
|
| /freebsd/contrib/llvm-project/clang/lib/ASTMatchers/Dynamic/ |
| H A D | Registry.cpp | 420 REGISTER_MATCHER(isConst); in RegistryMaps()
|
| /freebsd/contrib/llvm-project/clang/lib/CIR/Lowering/DirectToLLVM/ |
| H A D | LowerToLLVM.cpp | 1234 const bool isConst = false; in setupRegionInitializedLLVMGlobalOp() local 1248 op, llvmType, isConst, linkage, symbol, nullptr, alignment, addrSpace, in setupRegionInitializedLLVMGlobalOp() 1288 const bool isConst = false; in matchAndRewrite() local 1329 op, llvmType, isConst, linkage, symbol, init.value_or(mlir::Attribute()), in matchAndRewrite()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/Hexagon/ |
| H A D | HexagonBitSimplify.cpp | 2930 bool isConst(unsigned Reg) const; 2972 bool HexagonLoopRescheduling::isConst(unsigned Reg) const { in isConst() function in HexagonLoopRescheduling 3116 if (isConst(PR)) in processLoop()
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/DebugInfo/CodeView/ |
| H A D | TypeRecord.h | 326 bool isConst() const { return !!(Attrs & uint32_t(PointerOptions::Const)); } in isConst() function
|