Home
last modified time | relevance | path

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

12

/freebsd/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, cons
[all...]
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DGlobalMerge.cpp155 bool isConst, unsigned AddrSpace) const;
160 const BitVector &GlobalSet, Module &M, bool isConst,
252 Module &M, bool isConst, in doMerge() argument
267 return doMerge(Globals, AllGlobals, M, isConst, AddrSpace); in doMerge()
439 return doMerge(Globals, AllGlobals, M, isConst, AddrSpace); in doMerge()
462 Changed |= doMerge(Globals, UGS.Globals, M, isConst, AddrSpace); in doMerge()
470 bool isConst, unsigned AddrSpace) const { in doMerge() argument
548 M, MergedTy, isConst, MergedLinkage, MergedInit, MergedName, nullptr, in doMerge()
/freebsd/contrib/llvm-project/clang/lib/Analysis/
H A DExprMutationAnalyzer.cpp147 return FPT->isConst(); in AST_MATCHER()
346 const auto NonConstMethod = cxxMethodDecl(unless(isConst())); in findDirectMutation()
553 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()
H A DIssueHash.cpp65 if (TargetT->isConst()) in GetSignature()
/freebsd/contrib/llvm-project/clang/include/clang/Basic/
H A DBuiltins.h122 bool isConst(unsigned ID) const { in isConst() function
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/LiveDebugValues/
H A DInstrRefBasedImpl.h436 bool isConst() const { return ID.IsConst && !isUndef(); }
473 if (ID.isConst())
640 if (getDbgOpID(Idx).isConst() != Other.getDbgOpID(Idx).isConst())
H A DInstrRefBasedImpl.cpp382 if (ID.isConst()) { in loadVarInloc()
2846 if (FirstValOp.isConst() || OutValOp.isConst()) in pickVPHILoc()
/freebsd/contrib/llvm-project/clang/lib/AST/Interp/
H A DEvalEmitter.cpp174 (!CheckLoad(S, OpPC, Ptr, AK_Read) || !Ptr.isConst())) in emitRet()
H A DPointer.h505 bool isConst() const { in isConst() function
H A DInterp.cpp405 if (!Ptr.isConst() || Ptr.isMutable()) in CheckConst()
/freebsd/contrib/llvm-project/llvm/lib/DebugInfo/CodeView/
H A DRecordName.cpp186 if (Ptr.isConst()) in visitKnownRecord()
H A DTypeDumpVisitor.cpp369 W->printNumber("IsConst", Ptr.isConst()); in visitKnownRecord()
H A DTypeRecordMapping.cpp398 if (Record.isConst()) in visitKnownRecord()
/freebsd/contrib/llvm-project/llvm/lib/Target/WebAssembly/MCTargetDesc/
H A DWebAssemblyMCTargetDesc.h287 inline bool isConst(unsigned Opc) { in isConst() function
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DODRHash.cpp695 AddBoolean(Method->isConst()); in AddFunctionDecl()
1047 Hash.AddBoolean(T->isConst()); in VisitFunctionType()
H A DASTStructuralEquivalence.cpp1504 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()
/freebsd/contrib/llvm-project/clang/lib/ExtractAPI/
H A DDeclarationFragments.cpp897 if (Method->isConst()) in getFragmentsForCXXMethod()
931 if (ConversionFunction->isConst()) in getFragmentsForConversionFunction()
960 if (Method->isConst()) in getFragmentsForOverloadedOperator()
/freebsd/contrib/llvm-project/clang/lib/ASTMatchers/Dynamic/
H A DRegistry.cpp417 REGISTER_MATCHER(isConst); in RegistryMaps()
/freebsd/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonBitSimplify.cpp2961 bool isConst(unsigned Reg) const;
3003 bool HexagonLoopRescheduling::isConst(unsigned Reg) const { in isConst() function in HexagonLoopRescheduling
3147 if (isConst(PR)) in processLoop()
/freebsd/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/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DCallEvent.cpp711 if (!D->isConst()) in getExtraInvalidatedValues()
/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DDeclCXX.h2119 bool isConst() const { return getType()->castAs<FunctionType>()->isConst(); } in isConst() function
/freebsd/contrib/llvm-project/clang/include/clang/ASTMatchers/
H A DASTMatchers.h6391 AST_MATCHER(CXXMethodDecl, isConst) { in AST_MATCHER() argument
6392 return Node.isConst(); in AST_MATCHER()
/freebsd/contrib/llvm-project/llvm/lib/Target/SPIRV/
H A DSPIRVBuiltins.cpp461 Register Reg = Register(0), bool isConst = true, bool hasLinkageTy = true) { in buildBuiltinVariableLoad() argument
473 SPIRV::StorageClass::Input, nullptr, /* isConst= */ isConst, in buildBuiltinVariableLoad()

12