| /freebsd/contrib/llvm-project/llvm/include/llvm/ADT/ |
| H A D | ilist_iterator.h | 23 template <class OptionsT, bool IsConst> struct IteratorTraits; 56 template <class IteratorTy, class ParentTy, bool IsConst> 80 template <class OptionsT, bool IsReverse, bool IsConst> 83 ilist_iterator<OptionsT, IsReverse, IsConst>, 84 typename OptionsT::parent_ty, IsConst> { 85 friend ilist_iterator<OptionsT, IsReverse, !IsConst>; 86 friend ilist_iterator<OptionsT, !IsReverse, IsConst>; 87 friend ilist_iterator<OptionsT, !IsReverse, !IsConst>; 89 ilist_iterator<OptionsT, IsReverse, IsConst>, 90 typename OptionsT::parent_ty, IsConst>; [all …]
|
| H A D | ilist_node.h | 48 template <class OptionsT, bool IsReverse, bool IsConst> class ilist_iterator; 49 template <class OptionsT, bool IsReverse, bool IsConst>
|
| H A D | DenseMap.h | 58 bool IsConst = false> 1239 bool IsConst> 1246 using value_type = std::conditional_t<IsConst, const Bucket, Bucket>; 1276 typename = std::enable_if_t<!IsConstSrc && IsConst>>
|
| /freebsd/contrib/llvm-project/clang/lib/AST/ByteCode/ |
| H A D | Descriptor.cpp | 84 static void ctorArrayDesc(Block *B, std::byte *Ptr, bool IsConst, in ctorArrayDesc() argument 103 Desc->IsConst = IsConst || D->IsConst; in ctorArrayDesc() 110 Fn(B, ElemLoc, Desc->IsConst, Desc->IsFieldMutable, IsVolatile, IsActive, in ctorArrayDesc() 152 static void initField(Block *B, std::byte *Ptr, bool IsConst, bool IsMutable, in initField() argument 162 Desc->IsConst = IsConst || D->IsConst; in initField() 167 Fn(B, Ptr + FieldOffset, Desc->IsConst, Desc->IsFieldMutable, in initField() 171 static void initBase(Block *B, std::byte *Ptr, bool IsConst, bool IsMutable, in initBase() argument 186 Desc->IsConst = IsConst || D->IsConst; in initBase() 192 initBase(B, Ptr + FieldOffset, IsConst, IsMutable, IsVolatile, IsActive, in initBase() 195 initField(B, Ptr + FieldOffset, IsConst, IsMutable, IsVolatile, IsActive, in initBase() [all …]
|
| H A D | Descriptor.h | 35 using BlockCtorFn = void (*)(Block *Storage, std::byte *FieldPtr, bool IsConst, 82 unsigned IsConst : 1; 115 : Offset(sizeof(InlineDescriptor)), IsConst(false), IsInitialized(false), in InlineDescriptor() 165 const bool IsConst = false; member 184 MetadataSize MD, bool IsConst, bool IsTemporary, bool IsMutable, 189 bool IsConst, bool IsTemporary, bool IsMutable); 192 Descriptor(const DeclTy &D, PrimType Type, MetadataSize MDSize, bool IsConst, 197 MetadataSize MD, unsigned NumElems, bool IsConst, bool IsTemporary, 205 Descriptor(const DeclTy &D, const Record *R, MetadataSize MD, bool IsConst,
|
| H A D | Program.cpp | 250 const bool IsConst = Ty.isConstQualified(); in createGlobal() local 254 Desc = createDescriptor(D, *T, nullptr, Descriptor::GlobalMD, IsConst, in createGlobal() 257 Desc = createDescriptor(D, Ty.getTypePtr(), Descriptor::GlobalMD, IsConst, in createGlobal() 372 const bool IsConst = FT.isConstQualified(); in getOrCreateRecord() local 377 Desc = createDescriptor(FD, *T, nullptr, std::nullopt, IsConst, in getOrCreateRecord() 380 Desc = createDescriptor(FD, FT.getTypePtr(), std::nullopt, IsConst, in getOrCreateRecord() 397 bool IsConst, bool IsTemporary, in createDescriptor() argument 404 return allocateDescriptor(D, Record, MDSize, IsConst, IsTemporary, in createDescriptor() 421 return allocateDescriptor(D, *T, MDSize, NumElems, IsConst, IsTemporary, in createDescriptor() 427 D, ElemTy.getTypePtr(), std::nullopt, IsConst, IsTemporary); in createDescriptor() [all …]
|
| H A D | Program.h | 121 bool IsConst = false, bool IsTemporary = false, 124 return allocateDescriptor(D, SourceTy, T, MDSize, IsConst, IsTemporary, 131 bool IsConst = false, bool IsTemporary = false,
|
| H A D | DynamicAllocator.cpp | 85 ID->IsConst = false; in allocate()
|
| H A D | InterpBlock.h | 116 Desc->CtorFn(this, data(), Desc->IsConst, Desc->IsMutable, in invokeCtor()
|
| H A D | Pointer.h | 577 return isRoot() ? getDeclDesc()->IsConst : getInlineDesc()->IsConst; in isConst()
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/ |
| H A D | WithCache.h | 32 constexpr static bool IsConst = std::is_const_v<Arg>; variable 37 using PointerType = conditionally_const_t<UnderlyingType *, IsConst>; 38 using ReferenceType = conditionally_const_t<UnderlyingType &, IsConst>;
|
| H A D | RegionInfo.h | 571 template <bool IsConst> 574 std::conditional_t<IsConst, const BlockT, BlockT> *> { 576 df_iterator<std::conditional_t<IsConst, const BlockT, BlockT> *>; 579 using Self = block_iterator_wrapper<IsConst>;
|
| /freebsd/contrib/llvm-project/clang/lib/Sema/ |
| H A D | HLSLBuiltinTypeDeclBuilder.cpp | 111 bool IsConst; member 132 QualType ReturnTy, bool IsConst = false, in BuiltinTypeMethodBuilder() 135 IsConst(IsConst), IsCtor(IsCtor) {} in BuiltinTypeMethodBuilder() 138 QualType ReturnTy, bool IsConst = false, 344 bool IsConst, bool IsCtor) in BuiltinTypeMethodBuilder() argument 345 : DeclBuilder(DB), ReturnTy(ReturnTy), Method(nullptr), IsConst(IsConst), in BuiltinTypeMethodBuilder() 349 assert(((IsCtor && !IsConst) || !IsCtor) && "constructor cannot be const"); in BuiltinTypeMethodBuilder() 382 if (IsConst) in createDecl() 807 bool IsConst, bool IsRef) { in addHandleAccessFunction() argument 820 if (IsConst) in addHandleAccessFunction() [all …]
|
| H A D | HLSLBuiltinTypeDeclBuilder.h | 89 bool IsConst, bool IsRef);
|
| H A D | OpenCLBuiltins.td | 179 bit IsConst = 0; 196 let IsConst = _Ty.IsConst; 209 let IsConst = _Ty.IsConst; 217 let IsConst = 1; 233 let IsConst = _Ty.IsConst; 246 let IsConst = _Ty.IsConst; 328 bit IsConst = _Attributes[1];
|
| /freebsd/contrib/llvm-project/llvm/lib/CodeGen/LiveDebugValues/ |
| H A D | InstrRefBasedImpl.h | 365 bool IsConst; 367 DbgOp() : ID(ValueIDNum::EmptyValue), IsConst(false) {} 368 DbgOp(ValueIDNum ID) : ID(ID), IsConst(false) {} 369 DbgOp(MachineOperand MO) : MO(MO), IsConst(true) {} 371 bool isUndef() const { return !IsConst && ID == ValueIDNum::EmptyValue; } 387 bool IsConst; 389 ResolvedDbgOp(LocIdx Loc) : Loc(Loc), IsConst(false) {} 390 ResolvedDbgOp(MachineOperand MO) : MO(MO), IsConst(true) {} 393 if (IsConst != Other.IsConst) 395 if (IsConst) [all …]
|
| H A D | InstrRefBasedImpl.cpp | 215 Ops, [](const ResolvedDbgOp &Op) { return !Op.IsConst; }), in loc_indices() 444 if (!Op.IsConst) in loadVarInloc() 478 if (!OpID.ID.IsConst) in loadInlocs() 549 if (Op.IsConst) in checkInstForNewValues() 588 if (Op.IsConst) { in checkInstForNewValues() 772 if (Op.IsConst) in redefVar() 992 if (IsConst) { in dump() 999 if (IsConst) { in dump() 1216 return Op.IsConst || !Op.Loc.isIllegal(); in emitLoc() 1258 if (Op.IsConst) { in emitLoc() [all …]
|
| /freebsd/contrib/llvm-project/clang/include/clang/Lex/ |
| H A D | HeaderSearch.h | 175 template <bool IsConst> 177 : llvm::iterator_facade_base<SearchDirIteratorImpl<IsConst>, 179 Qualified<IsConst, DirectoryLookup>> { 181 template <typename Enable = std::enable_if<IsConst, bool>> 199 Qualified<IsConst, DirectoryLookup> &operator*() const { 212 Qualified<IsConst, HeaderSearch> *HS; 218 SearchDirIteratorImpl(Qualified<IsConst, HeaderSearch> &HS, size_t Idx) in SearchDirIteratorImpl() 225 friend SearchDirIteratorImpl<!IsConst>;
|
| /freebsd/contrib/llvm-project/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_t<IsConstDest && !IsConst>> 158 NeighborEdgeIteratorT<IsConst, IsOut>, BaseIt, in NeighborEdgeIteratorT()
|
| /freebsd/contrib/llvm-project/clang/include/clang/AST/ |
| H A D | DynamicRecursiveASTVisitor.h | 55 template <bool IsConst> class DynamicRecursiveASTVisitorBase { 58 using MaybeConst = std::conditional_t<IsConst, const ASTNode, ASTNode>;
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/DebugInfo/LogicalView/Core/ |
| H A D | LVType.h | 25 IsConst, enumerator 77 KIND(LVTypeKind, IsConst);
|
| /freebsd/contrib/llvm-project/clang/include/clang/Analysis/ |
| H A D | CFG.h | 651 template <bool IsConst> class ElementRefImpl { 656 std::conditional_t<IsConst, const CFGBlock *, CFGBlock *>; 659 std::conditional_t<IsConst, const CFGElement *, CFGElement *>; 706 template <bool IsReverse, bool IsConst> class ElementRefIterator { 712 std::conditional_t<IsConst, const CFGBlock *, CFGBlock *>; 715 IsConst, 722 using ElementRef = typename CFGBlock::ElementRefImpl<IsConst>;
|
| /freebsd/contrib/llvm-project/clang/utils/TableGen/ |
| H A D | ClangOpenCLBuiltinEmitter.cpp | 248 TypeFlags() : IsConst(false), IsVolatile(false), IsPointer(false) {} in TypeFlags() 249 bool IsConst : 1; member 981 if (Type->getValueAsBit("IsConst") || Flags.IsConst) { in getTypeString() 1044 Flags.IsConst = Type->getValueAsBit("IsConst"); in getTypeLists()
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
| H A D | AMDGPUEmitPrintf.cpp | 213 bool IsConst = true; member 216 : Str(ST), RealSize(RS), AlignedSize(AS), IsConst(IC) {} in StringData() 384 if (StrIt->IsConst) { in callBufferedPrintfArgPush()
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/Support/ |
| H A D | AMDGPUMetadata.h | 197 constexpr char IsConst[] = "IsConst"; variable
|