Home
last modified time | relevance | path

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

12

/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/ADT/
H A Dilist_iterator.h23 template <class OptionsT, bool IsConst> struct IteratorTraits;
56 template <class OptionsT, bool IsReverse, bool IsConst>
58 friend ilist_iterator<OptionsT, IsReverse, !IsConst>;
59 friend ilist_iterator<OptionsT, !IsReverse, IsConst>;
60 friend ilist_iterator<OptionsT, !IsReverse, !IsConst>;
62 using Traits = ilist_detail::IteratorTraits<OptionsT, IsConst>;
92 std::enable_if_t<IsConst || !RHSIsConst, void *> = nullptr)
98 std::enable_if_t<IsConst || !RHSIsConst, ilist_iterator &>
113 const ilist_iterator<OptionsT, !IsReverse, IsConst> &RHS)
121 ilist_iterator<OptionsT, !IsReverse, IsConst> getReverse() const {
[all …]
H A DDenseMap.h55 bool IsConst = false>
1188 bool IsConst>
1196 typename std::conditional<IsConst, const Bucket, Bucket>::type;
1225 typename = std::enable_if_t<!IsConstSrc && IsConst>>
H A Dilist_node.h28 template <class OptionsT, bool IsReverse, bool IsConst> class ilist_iterator;
/netbsd-src/external/apache2/llvm/dist/clang/lib/AST/Interp/
H A DDescriptor.cpp56 static void ctorArrayDesc(Block *B, char *Ptr, bool IsConst, bool IsMutable, in ctorArrayDesc() argument
74 Desc->IsConst = IsConst || D->IsConst; in ctorArrayDesc()
77 Fn(B, ElemLoc, Desc->IsConst, Desc->IsMutable, IsActive, D->ElemDesc); in ctorArrayDesc()
117 static void ctorRecord(Block *B, char *Ptr, bool IsConst, bool IsMutable, in ctorRecord() argument
127 Desc->IsConst = IsConst || F->IsConst; in ctorRecord()
130 Fn(B, Ptr + SubOff, Desc->IsConst, Desc->IsMutable, Desc->IsActive, F); in ctorRecord()
188 Descriptor::Descriptor(const DeclTy &D, PrimType Type, bool IsConst, in Descriptor() argument
191 IsConst(IsConst), IsMutable(IsMutable), IsTemporary(IsTemporary), in Descriptor()
198 bool IsConst, bool IsTemporary, bool IsMutable) in Descriptor() argument
200 AllocSize(align(Size) + sizeof(InitMap *)), IsConst(IsConst), in Descriptor()
[all …]
H A DProgram.cpp166 const bool IsConst = Ty.isConstQualified(); in createGlobal() local
169 Desc = createDescriptor(D, *T, IsConst, IsTemporary); in createGlobal()
171 Desc = createDescriptor(D, Ty.getTypePtr(), IsConst, IsTemporary); in createGlobal()
274 const bool IsConst = FT.isConstQualified(); in getOrCreateRecord() local
278 Desc = createDescriptor(FD, *T, IsConst, /*isTemporary=*/false, in getOrCreateRecord()
281 Desc = createDescriptor(FD, FT.getTypePtr(), IsConst, in getOrCreateRecord()
297 bool IsConst, bool IsTemporary, in createDescriptor() argument
302 return allocateDescriptor(D, Record, IsConst, IsTemporary, IsMutable); in createDescriptor()
317 return allocateDescriptor(D, *T, NumElems, IsConst, IsTemporary, in createDescriptor()
323 createDescriptor(D, ElemTy.getTypePtr(), IsConst, IsTemporary); in createDescriptor()
[all …]
H A DDescriptor.h31 using BlockCtorFn = void (*)(Block *Storage, char *FieldPtr, bool IsConst,
74 const bool IsConst = false; member
88 Descriptor(const DeclTy &D, PrimType Type, bool IsConst, bool IsTemporary,
92 Descriptor(const DeclTy &D, PrimType Type, size_t NumElems, bool IsConst,
99 Descriptor(const DeclTy &D, Descriptor *Elem, unsigned NumElems, bool IsConst,
106 Descriptor(const DeclTy &D, Record *R, bool IsConst, bool IsTemporary,
169 unsigned IsConst : 1; member
H A DProgram.h102 bool IsConst = false,
105 return allocateDescriptor(D, Type, IsConst, IsTemporary, IsMutable);
110 bool IsConst = false, bool IsTemporary = false,
H A DPointer.h248 return Base == 0 ? getDeclDesc()->IsConst : getInlineDesc()->IsConst; in isConst()
H A DInterpBlock.h74 Desc->CtorFn(this, data(), Desc->IsConst, Desc->IsMutable, in invokeCtor()
H A DByteCodeExprGen.cpp425 bool IsConst, in allocateLocalPrimitive() argument
427 Descriptor *D = P.createDescriptor(Src, Ty, IsConst, Src.is<const Expr *>()); in allocateLocalPrimitive()
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/XRay/
H A DGraph.h127 template <bool IsConst, bool IsOut,
130 std::conditional_t<IsConst, const EdgeValueType, EdgeValueType>>
133 NeighborEdgeIteratorT<IsConst, IsOut>, BaseIt,
136 std::conditional_t<IsConst, const EdgeMapT, EdgeMapT>;
147 typename = std::enable_if<IsConstDest && !IsConst>>
158 NeighborEdgeIteratorT<IsConst, IsOut>, BaseIt, in NeighborEdgeIteratorT()
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/Analysis/
H A DRegionInfo.h573 template <bool IsConst>
576 std::conditional_t<IsConst, const BlockT, BlockT> *> {
578 df_iterator<std::conditional_t<IsConst, const BlockT, BlockT> *>;
581 using Self = block_iterator_wrapper<IsConst>;
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/Analysis/
H A DCFG.h622 template <bool IsConst> class ElementRefImpl {
627 std::conditional_t<IsConst, const CFGBlock *, CFGBlock *>;
630 std::conditional_t<IsConst, const CFGElement *, CFGElement *>;
672 template <bool IsReverse, bool IsConst> class ElementRefIterator {
678 std::conditional_t<IsConst, const CFGBlock *, CFGBlock *>;
681 IsConst,
688 using ElementRef = typename CFGBlock::ElementRefImpl<IsConst>;
/netbsd-src/external/apache2/llvm/dist/clang/lib/Sema/
H A DOpenCLBuiltins.td130 bit IsConst = 0;
147 let IsConst = _Ty.IsConst;
160 let IsConst = _Ty.IsConst;
168 let IsConst = 1;
184 let IsConst = _Ty.IsConst;
197 let IsConst = _Ty.IsConst;
273 bit IsConst = _Attributes[1];
H A DSemaExprCXX.cpp1135 [](CXXRecordDecl *Closure, bool &IsByCopy, bool &IsConst) { in adjustCVQualifiersForCXXThisWithinLambda() argument
1136 IsConst = false; in adjustCVQualifiersForCXXThisWithinLambda()
1143 IsConst = true; in adjustCVQualifiersForCXXThisWithinLambda()
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/Support/
H A DAMDGPUMetadata.h190 constexpr char IsConst[] = "IsConst"; variable
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/AST/
H A DMangle.h237 virtual void mangleCXXThrowInfo(QualType T, bool IsConst, bool IsVolatile,
/netbsd-src/external/apache2/llvm/dist/clang/lib/CodeGen/
H A DMicrosoftCXXABI.cpp3822 bool &IsConst, bool &IsVolatile, in decomposeTypeForEH() argument
3831 IsConst = false; in decomposeTypeForEH()
3836 IsConst = PointeeType.isConstQualified(); in decomposeTypeForEH()
3861 bool IsConst, IsVolatile, IsUnaligned; in getAddrOfCXXCatchHandlerType() local
3863 decomposeTypeForEH(getContext(), Type, IsConst, IsVolatile, IsUnaligned); in getAddrOfCXXCatchHandlerType()
3868 if (IsConst) in getAddrOfCXXCatchHandlerType()
4281 bool IsConst, IsVolatile, IsUnaligned; in getThrowInfo() local
4282 T = decomposeTypeForEH(getContext(), T, IsConst, IsVolatile, IsUnaligned); in getThrowInfo()
4298 getMangleContext().mangleCXXThrowInfo(T, IsConst, IsVolatile, IsUnaligned, in getThrowInfo()
4311 if (IsConst) in getThrowInfo()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Support/
H A DAMDGPUMetadata.cpp126 YIO.mapOptional(Kernel::Arg::Key::IsConst, MD.mIsConst, false); in mapping()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/Hexagon/
H A DHexagonBitSimplify.cpp2433 bool IsConst = true; in simplifyExtractLow() local
2438 IsConst = IsConst && (V.is(0) || V.is(1)); in simplifyExtractLow()
2440 if (IsConst) in simplifyExtractLow()
/netbsd-src/external/apache2/llvm/dist/clang/lib/AST/
H A DMicrosoftMangle.cpp158 void mangleCXXThrowInfo(QualType T, bool IsConst, bool IsVolatile,
3555 void MicrosoftMangleContextImpl::mangleCXXThrowInfo(QualType T, bool IsConst, in mangleCXXThrowInfo() argument
3563 if (IsConst) in mangleCXXThrowInfo()
H A DExprConstant.cpp14632 const ASTContext &Ctx, bool &IsConst) { in FastEvaluateAsRValue() argument
14638 IsConst = true; in FastEvaluateAsRValue()
14645 IsConst = false; in FastEvaluateAsRValue()
14654 IsConst = false; in FastEvaluateAsRValue()
14669 bool IsConst; in EvaluateAsRValue() local
14670 if (FastEvaluateAsRValue(E, Result, Ctx, IsConst)) in EvaluateAsRValue()
14671 return IsConst; in EvaluateAsRValue()
14997 bool IsConst; in EvaluateForOverflow() local
14999 if (!FastEvaluateAsRValue(this, EVResult, Ctx, IsConst)) { in EvaluateForOverflow()
/netbsd-src/external/apache2/llvm/dist/clang/docs/
H A DConstantInterpreter.rst196 * **IsConst**: flag indicating if the field is const-qualified.
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/AMDGPU/
H A DAMDGPURegisterBankInfo.cpp444 const bool IsConst = AS == AMDGPUAS::CONSTANT_ADDRESS || in isScalarLoadLegal() local
452 (IsConst || !MMO->isVolatile()) && in isScalarLoadLegal()
454 (IsConst || MMO->isInvariant() || memOpHasNoClobbered(MMO)) && in isScalarLoadLegal()
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/Basic/
H A DTokenKinds.def534 TYPE_TRAIT_1(__is_const, IsConst, KEYCXX)

12