Home
last modified time | relevance | path

Searched refs:isConst (Results 1 – 25 of 40) sorted by relevance

12

/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/XRay/
H A DGraph.h198 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-14.2/contrib/llvm-project/llvm/lib/CodeGen/
H A DGlobalMerge.cpp148 bool isConst, unsigned AddrSpace) const;
153 const BitVector &GlobalSet, Module &M, bool isConst,
232 Module &M, bool isConst, in doMerge() argument
247 return doMerge(Globals, AllGlobals, M, isConst, AddrSpace); in doMerge()
420 return doMerge(Globals, AllGlobals, M, isConst, AddrSpace); in doMerge()
443 Changed |= doMerge(Globals, UGS.Globals, M, isConst, AddrSpace); in doMerge()
451 bool isConst, unsigned AddrSpace) const { in doMerge() argument
529 M, MergedTy, isConst, MergedLinkage, MergedInit, MergedName, nullptr, in doMerge()
/freebsd-14.2/contrib/llvm-project/clang/lib/Analysis/
H A DExprMutationAnalyzer.cpp147 return FPT->isConst(); in AST_MATCHER()
334 const auto NonConstMethod = cxxMethodDecl(unless(isConst())); in findDirectMutation()
539 anyOf(allOf(hasMethod(allOf(hasName("begin"), unless(isConst()))), in findRangeLoopMutation()
540 unless(hasMethod(allOf(hasName("begin"), isConst())))), in findRangeLoopMutation()
541 allOf(hasMethod(allOf(hasName("end"), unless(isConst()))), in findRangeLoopMutation()
542 unless(hasMethod(allOf(hasName("end"), isConst()))))); in findRangeLoopMutation()
H A DIssueHash.cpp65 if (TargetT->isConst()) in GetSignature()
/freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/LiveDebugValues/
H A DInstrRefBasedImpl.h398 bool isConst() const { return ID.IsConst && !isUndef(); }
435 if (ID.isConst())
602 if (getDbgOpID(Idx).isConst() != Other.getDbgOpID(Idx).isConst())
H A DInstrRefBasedImpl.cpp371 if (ID.isConst()) { in loadVarInloc()
2812 if (FirstValOp.isConst() || OutValOp.isConst()) in pickVPHILoc()
/freebsd-14.2/contrib/llvm-project/clang/include/clang/Basic/
H A DBuiltins.h122 bool isConst(unsigned ID) const { in isConst() function
/freebsd-14.2/contrib/llvm-project/clang/lib/Tooling/DumpTool/
H A DASTSrcLocProcessor.cpp147 return cxxMethodDecl(isPublic(), parameterCountIs(0), isConst(), in CaptureMethods()
/freebsd-14.2/contrib/llvm-project/clang/lib/AST/Interp/
H A DPointer.h330 bool isConst() const { in isConst() function
H A DInterp.cpp317 if (!Ptr.isConst()) in CheckConst()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/WebAssembly/MCTargetDesc/
H A DWebAssemblyMCTargetDesc.h284 inline bool isConst(unsigned Opc) { in isConst() function
/freebsd-14.2/contrib/llvm-project/llvm/lib/DebugInfo/CodeView/
H A DRecordName.cpp186 if (Ptr.isConst()) in visitKnownRecord()
H A DTypeDumpVisitor.cpp368 W->printNumber("IsConst", Ptr.isConst()); in visitKnownRecord()
H A DTypeRecordMapping.cpp398 if (Record.isConst()) in visitKnownRecord()
/freebsd-14.2/contrib/llvm-project/clang/lib/ExtractAPI/
H A DDeclarationFragments.cpp856 if (Method->isConst()) in getFragmentsForCXXMethod()
890 if (ConversionFunction->isConst()) in getFragmentsForConversionFunction()
919 if (Method->isConst()) in getFragmentsForOverloadedOperator()
/freebsd-14.2/contrib/llvm-project/clang/lib/AST/
H A DODRHash.cpp688 AddBoolean(Method->isConst()); in AddFunctionDecl()
1030 Hash.AddBoolean(T->isConst()); in VisitFunctionType()
H A DASTStructuralEquivalence.cpp1470 Method1->isConst() == Method2->isConst() && in IsStructurallyEquivalent()
H A DODRDiagsEmitter.cpp1135 const bool FirstConst = FirstMethod->isConst(); in diagnoseMismatch()
1136 const bool SecondConst = SecondMethod->isConst(); in diagnoseMismatch()
H A DDeclPrinter.cpp805 if (FT->isConst()) in VisitFunctionDecl()
/freebsd-14.2/contrib/llvm-project/clang/lib/ASTMatchers/Dynamic/
H A DRegistry.cpp417 REGISTER_MATCHER(isConst); in RegistryMaps()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonBitSimplify.cpp2960 bool isConst(unsigned Reg) const;
3002 bool HexagonLoopRescheduling::isConst(unsigned Reg) const { in isConst() function in HexagonLoopRescheduling
3146 if (isConst(PR)) in processLoop()
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/DebugInfo/CodeView/
H A DTypeRecord.h326 bool isConst() const { return !!(Attrs & uint32_t(PointerOptions::Const)); } in isConst() function
/freebsd-14.2/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DCallEvent.cpp711 if (!D->isConst()) in getExtraInvalidatedValues()
/freebsd-14.2/contrib/llvm-project/clang/include/clang/AST/
H A DDeclCXX.h2105 bool isConst() const { return getType()->castAs<FunctionType>()->isConst(); } in isConst() function
/freebsd-14.2/contrib/llvm-project/clang/include/clang/ASTMatchers/
H A DASTMatchers.h6367 AST_MATCHER(CXXMethodDecl, isConst) { in AST_MATCHER() argument
6368 return Node.isConst(); in AST_MATCHER()

12