Home
last modified time | relevance | path

Searched refs:IsConst (Results 1 – 21 of 21) sorted by relevance

/freebsd-12.1/contrib/llvm/include/llvm/ADT/
H A Dilist_iterator.h24 template <class OptionsT, bool IsConst> struct IteratorTraits;
57 template <class OptionsT, bool IsReverse, bool IsConst>
59 friend ilist_iterator<OptionsT, IsReverse, !IsConst>;
60 friend ilist_iterator<OptionsT, !IsReverse, IsConst>;
61 friend ilist_iterator<OptionsT, !IsReverse, !IsConst>;
63 using Traits = ilist_detail::IteratorTraits<OptionsT, IsConst>;
115 const ilist_iterator<OptionsT, !IsReverse, IsConst> &RHS)
126 return ilist_iterator<OptionsT, !IsReverse, IsConst>();
186 template <class OptionsT, bool IsConst>
188 using iterator = ilist_iterator<OptionsT, false, IsConst>;
[all …]
H A DDenseMap.h81 bool IsConst = false>
1176 bool IsConst>
1186 typename std::conditional<IsConst, const Bucket, Bucket>::type;
1215 typename = typename std::enable_if<!IsConstSrc && IsConst>::type>
H A Dilist_node.h29 template <class OptionsT, bool IsReverse, bool IsConst> class ilist_iterator;
/freebsd-12.1/contrib/llvm/include/llvm/XRay/
H A DGraph.h128 template <bool IsConst, bool IsOut,
130 typename T = typename std::conditional<IsConst, const EdgeValueType,
134 NeighborEdgeIteratorT<IsConst, IsOut>, BaseIt,
137 typename std::conditional<IsConst, const EdgeMapT, EdgeMapT>::type;
148 typename = typename std::enable_if<IsConstDest && !IsConst>::type>
159 NeighborEdgeIteratorT<IsConst, IsOut>, BaseIt, in NeighborEdgeIteratorT()
/freebsd-12.1/contrib/llvm/include/llvm/Analysis/
H A DRegionInfo.h575 template <bool IsConst>
578 typename std::conditional<IsConst, const BlockT, BlockT>::type *> {
581 typename std::conditional<IsConst, const BlockT, BlockT>::type *>;
584 using Self = block_iterator_wrapper<IsConst>;
/freebsd-12.1/contrib/llvm/include/llvm/Support/
H A DAMDGPUMetadata.h175 constexpr char IsConst[] = "IsConst"; variable
/freebsd-12.1/contrib/llvm/tools/clang/include/clang/AST/
H A DMangle.h213 virtual void mangleCXXThrowInfo(QualType T, bool IsConst, bool IsVolatile,
/freebsd-12.1/contrib/llvm/tools/lldb/include/lldb/Symbol/
H A DCompilerType.h92 bool IsConst() const;
H A DTypeSystem.h419 virtual bool IsConst(lldb::opaque_compiler_type_t type) = 0;
H A DClangASTContext.h560 bool IsConst(lldb::opaque_compiler_type_t type) override;
/freebsd-12.1/contrib/llvm/tools/lldb/source/Symbol/
H A DCompilerType.cpp103 bool CompilerType::IsConst() const { in IsConst() function in CompilerType
105 return m_type_system->IsConst(m_type); in IsConst()
H A DClangASTContext.cpp3066 bool ClangASTContext::IsConst(lldb::opaque_compiler_type_t type) { in IsConst() function in ClangASTContext
/freebsd-12.1/contrib/llvm/tools/clang/lib/CodeGen/
H A DMicrosoftCXXABI.cpp3711 bool &IsConst, bool &IsVolatile, in decomposeTypeForEH() argument
3720 IsConst = false; in decomposeTypeForEH()
3725 IsConst = PointeeType.isConstQualified(); in decomposeTypeForEH()
3750 bool IsConst, IsVolatile, IsUnaligned; in getAddrOfCXXCatchHandlerType() local
3752 decomposeTypeForEH(getContext(), Type, IsConst, IsVolatile, IsUnaligned); in getAddrOfCXXCatchHandlerType()
3757 if (IsConst) in getAddrOfCXXCatchHandlerType()
4178 bool IsConst, IsVolatile, IsUnaligned; in getThrowInfo() local
4179 T = decomposeTypeForEH(getContext(), T, IsConst, IsVolatile, IsUnaligned); in getThrowInfo()
4195 getMangleContext().mangleCXXThrowInfo(T, IsConst, IsVolatile, IsUnaligned, in getThrowInfo()
4208 if (IsConst) in getThrowInfo()
H A DCGBuiltin.cpp3973 bool IsConst = E->getArg(i)->isIntegerConstantExpr(Result,getContext()); in EmitBuiltinExpr() local
3974 assert(IsConst && "Constant arg isn't actually constant?"); in EmitBuiltinExpr()
3975 (void)IsConst; in EmitBuiltinExpr()
6242 bool IsConst = E->getArg(i)->isIntegerConstantExpr(Result, getContext()); in EmitARMBuiltinExpr() local
6243 assert(IsConst && "Constant arg isn't actually constant?"); (void)IsConst; in EmitARMBuiltinExpr()
7089 bool IsConst = E->getArg(i)->isIntegerConstantExpr(Result, getContext()); in EmitAArch64BuiltinExpr() local
7090 assert(IsConst && "Constant arg isn't actually constant?"); in EmitAArch64BuiltinExpr()
7091 (void)IsConst; in EmitAArch64BuiltinExpr()
9684 bool IsConst = E->getArg(i)->isIntegerConstantExpr(Result, getContext()); in EmitX86BuiltinExpr() local
9685 assert(IsConst && "Constant arg isn't actually constant?"); (void)IsConst; in EmitX86BuiltinExpr()
/freebsd-12.1/contrib/llvm/lib/Support/
H A DAMDGPUMetadata.cpp121 YIO.mapOptional(Kernel::Arg::Key::IsConst, MD.mIsConst, false); in mapping()
/freebsd-12.1/contrib/llvm/lib/Target/Hexagon/
H A DHexagonBitSimplify.cpp2426 bool IsConst = true; in simplifyExtractLow() local
2431 IsConst = IsConst && (V.is(0) || V.is(1)); in simplifyExtractLow()
2433 if (IsConst) in simplifyExtractLow()
/freebsd-12.1/contrib/llvm/tools/clang/lib/AST/
H A DMicrosoftMangle.cpp155 void mangleCXXThrowInfo(QualType T, bool IsConst, bool IsVolatile,
3118 void MicrosoftMangleContextImpl::mangleCXXThrowInfo(QualType T, bool IsConst, in mangleCXXThrowInfo() argument
3126 if (IsConst) in mangleCXXThrowInfo()
H A DExprConstant.cpp10873 const ASTContext &Ctx, bool &IsConst) { in FastEvaluateAsRValue() argument
10879 IsConst = true; in FastEvaluateAsRValue()
10886 IsConst = false; in FastEvaluateAsRValue()
10895 IsConst = false; in FastEvaluateAsRValue()
10909 bool IsConst; in EvaluateAsRValue() local
10910 if (FastEvaluateAsRValue(E, Result, Ctx, IsConst)) in EvaluateAsRValue()
10911 return IsConst; in EvaluateAsRValue()
11077 bool IsConst; in EvaluateForOverflow() local
11079 if (!FastEvaluateAsRValue(this, EVResult, Ctx, IsConst)) { in EvaluateForOverflow()
/freebsd-12.1/contrib/llvm/tools/clang/include/clang/Basic/
H A DTokenKinds.def501 TYPE_TRAIT_1(__is_const, IsConst, KEYCXX)
/freebsd-12.1/contrib/llvm/tools/clang/lib/Sema/
H A DSemaExprCXX.cpp1027 [](CXXRecordDecl *Closure, bool &IsByCopy, bool &IsConst) { in adjustCVQualifiersForCXXThisWithinLambda() argument
1028 IsConst = false; in adjustCVQualifiersForCXXThisWithinLambda()
1035 IsConst = true; in adjustCVQualifiersForCXXThisWithinLambda()
/freebsd-12.1/contrib/llvm/lib/Target/PowerPC/
H A DPPCISelLowering.cpp7925 bool IsConst = true; in LowerBUILD_VECTOR() local
7929 IsConst = false; in LowerBUILD_VECTOR()
7934 if (IsConst) { in LowerBUILD_VECTOR()