| /llvm-project-15.0.7/llvm/include/llvm/ADT/ |
| H A D | ilist_iterator.h | 23 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 …]
|
| /llvm-project-15.0.7/clang/lib/AST/Interp/ |
| H A D | Descriptor.cpp | 74 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 D | Descriptor.h | 31 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 D | Program.cpp | 181 const bool IsConst = Ty.isConstQualified(); in createGlobal() local 184 Desc = createDescriptor(D, *T, IsConst, IsTemporary); in createGlobal() 186 Desc = createDescriptor(D, Ty.getTypePtr(), IsConst, IsTemporary); in createGlobal() 289 const bool IsConst = FT.isConstQualified(); in getOrCreateRecord() local 293 Desc = createDescriptor(FD, *T, IsConst, /*isTemporary=*/false, in getOrCreateRecord() 296 Desc = createDescriptor(FD, FT.getTypePtr(), IsConst, in getOrCreateRecord() 312 bool IsConst, bool IsTemporary, in createDescriptor() argument 332 return allocateDescriptor(D, *T, NumElems, IsConst, IsTemporary, in createDescriptor() 338 createDescriptor(D, ElemTy.getTypePtr(), IsConst, IsTemporary); in createDescriptor() 344 return allocateDescriptor(D, Desc, NumElems, IsConst, IsTemporary, in createDescriptor() [all …]
|
| H A D | Program.h | 105 bool IsConst = false, 108 return allocateDescriptor(D, Type, IsConst, IsTemporary, IsMutable); 113 bool IsConst = false, bool IsTemporary = false,
|
| H A D | Pointer.h | 245 return Base == 0 ? getDeclDesc()->IsConst : getInlineDesc()->IsConst; in isConst()
|
| H A D | InterpBlock.h | 72 Desc->CtorFn(this, data(), Desc->IsConst, Desc->IsMutable, in invokeCtor()
|
| H A D | ByteCodeExprGen.cpp | 425 bool IsConst, in allocateLocalPrimitive() argument 427 Descriptor *D = P.createDescriptor(Src, Ty, IsConst, Src.is<const Expr *>()); in allocateLocalPrimitive()
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/google/ |
| H A D | GlobalVariableDeclarationCheck.cpp | 28 FixItHint generateFixItHint(const VarDecl *Decl, bool IsConst) { in generateFixItHint() argument 29 if (IsConst && (Decl->getStorageClass() != SC_Static)) { in generateFixItHint() 51 auto NewName = (IsConst ? "k" : "g") + in generateFixItHint()
|
| /llvm-project-15.0.7/llvm/test/DebugInfo/COFF/ |
| H A D | types-ptr-to-member.ll | 34 ; CHECK: IsConst: 0 47 ; CHECK: IsConst: 0 60 ; CHECK: IsConst: 0 73 ; CHECK: IsConst: 0 89 ; CHECK: IsConst: 0 102 ; CHECK: IsConst: 0 115 ; CHECK: IsConst: 0 128 ; CHECK: IsConst: 0 143 ; CHECK: IsConst: 0 158 ; CHECK: IsConst: 0
|
| H A D | type-quals.ll | 59 ; CHECK: IsConst: 0 105 ; CHECK: IsConst: 0 117 ; CHECK: IsConst: 0 129 ; CHECK: IsConst: 0 173 ; CHECK: IsConst: 0 185 ; CHECK: IsConst: 0 267 ; CHECK: IsConst: 1 327 ; CHECK: IsConst: 0 341 ; CHECK: IsConst: 0 361 ; CHECK: IsConst: 0
|
| H A D | types-method-ref-qualifiers.ll | 96 ; CHECK: IsConst: 1 122 ; CHECK: IsConst: 1 148 ; CHECK: IsConst: 1
|
| H A D | defer-complete-type.ll | 37 ; CHECK: IsConst: 0 78 ; CHECK: IsConst: 0
|
| H A D | types-array-advanced.ll | 60 ; CHECK: IsConst: 0 113 ; CHECK: IsConst: 0
|
| H A D | types-calling-conv.ll | 37 ; CHECK: IsConst: 1 102 ; CHECK: IsConst: 0
|
| /llvm-project-15.0.7/clang/include/clang/Lex/ |
| H A D | HeaderSearch.h | 161 template <bool IsConst> 163 : llvm::iterator_facade_base<SearchDirIteratorImpl<IsConst>, 165 Qualified<IsConst, DirectoryLookup>> { 167 template <typename Enable = std::enable_if<IsConst, bool>> 185 Qualified<IsConst, DirectoryLookup> &operator*() const { 198 Qualified<IsConst, HeaderSearch> *HS; 204 SearchDirIteratorImpl(Qualified<IsConst, HeaderSearch> &HS, size_t Idx) in SearchDirIteratorImpl() 211 friend SearchDirIteratorImpl<!IsConst>;
|
| /llvm-project-15.0.7/llvm/include/llvm/XRay/ |
| H A D | Graph.h | 127 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()
|
| /llvm-project-15.0.7/llvm/test/tools/llvm-readobj/COFF/ |
| H A D | codeview-merging-ghash.test | 38 # MERGED-NEXT: IsConst: 1 52 # MERGED-NEXT: IsConst: 1 66 # MERGED-NEXT: IsConst: 1 80 # MERGED-NEXT: IsConst: 1
|
| /llvm-project-15.0.7/libcxx/test/std/ranges/range.adaptors/range.filter/iterator/ |
| H A D | increment.pass.cpp | 37 template <class Iterator, bool IsForwardRange, bool IsConst> 95 if constexpr (!IsConst) { in test()
|
| /llvm-project-15.0.7/llvm/test/CodeGen/AMDGPU/ |
| H A D | hsa-metadata-deduce-ro-arg.ll | 13 ; CHECK-NEXT: IsConst: true
|
| /llvm-project-15.0.7/llvm/include/llvm/Analysis/ |
| H A D | RegionInfo.h | 573 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>;
|
| /llvm-project-15.0.7/clang/include/clang/Analysis/ |
| H A D | CFG.h | 623 template <bool IsConst> class ElementRefImpl { 628 std::conditional_t<IsConst, const CFGBlock *, CFGBlock *>; 631 std::conditional_t<IsConst, const CFGElement *, CFGElement *>; 673 template <bool IsReverse, bool IsConst> class ElementRefIterator { 679 std::conditional_t<IsConst, const CFGBlock *, CFGBlock *>; 682 IsConst, 689 using ElementRef = typename CFGBlock::ElementRefImpl<IsConst>;
|
| /llvm-project-15.0.7/clang/utils/TableGen/ |
| H A D | ClangOpenCLBuiltinEmitter.cpp | 250 TypeFlags() : IsConst(false), IsVolatile(false), IsPointer(false) {} in TypeFlags() 251 bool IsConst : 1; member 985 if (Type->getValueAsBit("IsConst") || Flags.IsConst) { in getTypeString() 1048 Flags.IsConst = Type->getValueAsBit("IsConst"); in getTypeLists()
|
| /llvm-project-15.0.7/llvm/utils/TableGen/ |
| H A D | DXILEmitter.cpp | 38 bool IsConst; // whether this argument requires a constant value in the IR member 111 IsConst = R->getValueAsBit("is_const"); in DXILParam()
|
| /llvm-project-15.0.7/lld/test/COFF/ |
| H A D | s_udt.s | 277 # IsConst: 0 355 # IsConst: 0
|