Home
last modified time | relevance | path

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

12

/freebsd-13.1/contrib/llvm-project/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>;
98 std::enable_if_t<IsConst || !RHSIsConst, ilist_iterator &>
113 const ilist_iterator<OptionsT, !IsReverse, IsConst> &RHS)
124 return ilist_iterator<OptionsT, !IsReverse, IsConst>();
184 template <class OptionsT, bool IsConst>
186 using iterator = ilist_iterator<OptionsT, false, IsConst>;
[all …]
H A Dilist_node.h28 template <class OptionsT, bool IsReverse, bool IsConst> class ilist_iterator;
H A DDenseMap.h55 bool IsConst = false>
1191 bool IsConst>
1199 typename std::conditional<IsConst, const Bucket, Bucket>::type;
1228 typename = std::enable_if_t<!IsConstSrc && IsConst>>
/freebsd-13.1/contrib/llvm-project/clang/lib/AST/Interp/
H A DDescriptor.cpp74 Desc->IsConst = IsConst || D->IsConst; in ctorArrayDesc()
127 Desc->IsConst = IsConst || F->IsConst; 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()
210 AllocSize(alignof(void *)), IsConst(true), IsMutable(false), in Descriptor()
217 bool IsConst, bool IsTemporary, bool IsMutable) in Descriptor() argument
221 IsConst(IsConst), IsMutable(IsMutable), IsTemporary(IsTemporary), in Descriptor()
236 Descriptor::Descriptor(const DeclTy &D, Record *R, bool IsConst, in Descriptor() argument
[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.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
317 return allocateDescriptor(D, *T, NumElems, IsConst, IsTemporary, in createDescriptor()
323 createDescriptor(D, ElemTy.getTypePtr(), IsConst, IsTemporary); in createDescriptor()
329 return allocateDescriptor(D, Desc, NumElems, IsConst, IsTemporary, in createDescriptor()
[all …]
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()
/freebsd-13.1/contrib/llvm-project/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()
/freebsd-13.1/contrib/llvm-project/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>;
/freebsd-13.1/contrib/llvm-project/clang/utils/TableGen/
H A DClangOpenCLBuiltinEmitter.cpp250 TypeFlags() : IsConst(false), IsVolatile(false), IsPointer(false) {} in TypeFlags()
251 bool IsConst : 1; member
930 if (Type->getValueAsBit("IsConst") || Flags.IsConst) { in getTypeString()
993 Flags.IsConst = Type->getValueAsBit("IsConst"); in getTypeLists()
/freebsd-13.1/contrib/llvm-project/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>;
/freebsd-13.1/contrib/llvm-project/lldb/source/Symbol/
H A DCompilerType.cpp89 bool CompilerType::IsConst() const { in IsConst() function in CompilerType
91 return m_type_system->IsConst(m_type); in IsConst()
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/Support/
H A DAMDGPUMetadata.h190 constexpr char IsConst[] = "IsConst"; variable
/freebsd-13.1/contrib/llvm-project/lldb/include/lldb/Symbol/
H A DCompilerType.h95 bool IsConst() const;
H A DTypeSystem.h427 virtual bool IsConst(lldb::opaque_compiler_type_t type) = 0;
/freebsd-13.1/contrib/llvm-project/clang/lib/Sema/
H A DOpenCLBuiltins.td131 bit IsConst = 0;
148 let IsConst = _Ty.IsConst;
161 let IsConst = _Ty.IsConst;
169 let IsConst = 1;
185 let IsConst = _Ty.IsConst;
198 let IsConst = _Ty.IsConst;
274 bit IsConst = _Attributes[1];
/freebsd-13.1/contrib/llvm-project/clang/include/clang/AST/
H A DMangle.h242 virtual void mangleCXXThrowInfo(QualType T, bool IsConst, bool IsVolatile,
/freebsd-13.1/contrib/llvm-project/lldb/source/Plugins/SymbolFile/NativePDB/
H A DUdtRecordCompleter.cpp139 if (member_ct.IsConst()) { in visitKnownMember()
/freebsd-13.1/contrib/llvm-project/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()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Support/
H A DAMDGPUMetadata.cpp126 YIO.mapOptional(Kernel::Arg::Key::IsConst, MD.mIsConst, false); in mapping()
/freebsd-13.1/contrib/llvm-project/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()
/freebsd-13.1/contrib/llvm-project/clang/lib/AST/
H A DMicrosoftMangle.cpp158 void mangleCXXThrowInfo(QualType T, bool IsConst, bool IsVolatile,
3558 void MicrosoftMangleContextImpl::mangleCXXThrowInfo(QualType T, bool IsConst, in mangleCXXThrowInfo() argument
3566 if (IsConst) in mangleCXXThrowInfo()

12