Home
last modified time | relevance | path

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

12

/freebsd-14.2/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>;
181 template <class OptionsT, bool IsReverse, bool IsConst>
185 friend ilist_iterator<OptionsT, !IsReverse, !IsConst>;
363 template <class OptionsT, bool IsConst>
370 template <class OptionsT, bool IsConst>
375 template <class OptionsT, bool IsConst>
[all …]
H A Dilist_node.h29 template <class OptionsT, bool IsReverse, bool IsConst> class ilist_iterator;
30 template <class OptionsT, bool IsReverse, bool IsConst>
H A DDenseMap.h56 bool IsConst = false>
1220 bool IsConst>
1227 using value_type = std::conditional_t<IsConst, const Bucket, Bucket>;
1256 typename = std::enable_if_t<!IsConstSrc && IsConst>>
/freebsd-14.2/contrib/llvm-project/clang/lib/AST/Interp/
H A DDescriptor.cpp73 static void ctorArrayDesc(Block *B, std::byte *Ptr, bool IsConst, in ctorArrayDesc() argument
91 Desc->IsConst = IsConst || D->IsConst; in ctorArrayDesc()
94 Fn(B, ElemLoc, Desc->IsConst, Desc->IsFieldMutable, IsActive, in ctorArrayDesc()
146 Desc->IsConst = IsConst || F->IsConst; in ctorRecord()
231 bool IsConst, bool IsTemporary, bool IsMutable) in Descriptor() argument
233 MDSize(MD.value_or(0)), AllocSize(align(Size + MDSize)), IsConst(IsConst), in Descriptor()
246 AllocSize(align(Size) + sizeof(InitMapPtr) + MDSize), IsConst(IsConst), in Descriptor()
257 AllocSize(alignof(void *) + sizeof(InitMapPtr)), IsConst(true), in Descriptor()
271 ElemDesc(Elem), IsConst(IsConst), IsMutable(IsMutable), in Descriptor()
293 ElemRecord(R), IsConst(IsConst), IsMutable(IsMutable), in Descriptor()
[all …]
H A DProgram.cpp191 const bool IsConst = Ty.isConstQualified(); in createGlobal() local
194 Desc = createDescriptor(D, *T, std::nullopt, IsConst, IsTemporary); in createGlobal()
196 Desc = createDescriptor(D, Ty.getTypePtr(), std::nullopt, IsConst, in createGlobal()
291 const bool IsConst = FT.isConstQualified(); in getOrCreateRecord() local
295 Desc = createDescriptor(FD, *T, std::nullopt, IsConst, in getOrCreateRecord()
298 Desc = createDescriptor(FD, FT.getTypePtr(), std::nullopt, IsConst, in getOrCreateRecord()
315 bool IsConst, bool IsTemporary, in createDescriptor() argument
320 return allocateDescriptor(D, Record, MDSize, IsConst, IsTemporary, in createDescriptor()
342 D, ElemTy.getTypePtr(), std::nullopt, IsConst, IsTemporary); in createDescriptor()
349 return allocateDescriptor(D, ElemDesc, MDSize, NumElems, IsConst, in createDescriptor()
[all …]
H A DDescriptor.h33 using BlockCtorFn = void (*)(Block *Storage, std::byte *FieldPtr, bool IsConst,
62 unsigned IsConst : 1; member
107 const bool IsConst = false; member
123 Descriptor(const DeclTy &D, PrimType Type, MetadataSize MD, bool IsConst,
128 bool IsConst, bool IsTemporary, bool IsMutable);
135 unsigned NumElems, bool IsConst, bool IsTemporary, bool IsMutable);
142 Descriptor(const DeclTy &D, const Record *R, MetadataSize MD, bool IsConst,
H A DProgram.h119 bool IsConst = false, bool IsTemporary = false,
121 return allocateDescriptor(D, Type, MDSize, IsConst, IsTemporary, IsMutable);
127 bool IsConst = false, bool IsTemporary = false,
H A DPointer.h331 return Base == 0 ? getDeclDesc()->IsConst : getInlineDesc()->IsConst; in isConst()
H A DInterpBlock.h109 Desc->CtorFn(this, data(), Desc->IsConst, Desc->IsMutable, in invokeCtor()
H A DEvalEmitter.cpp73 Desc.IsConst = false; in createLocal()
H A DInterpFrame.cpp47 ID->IsConst = false; in InterpFrame()
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DWithCache.h31 constexpr static bool IsConst = std::is_const_v<Arg>; variable
36 using PointerType = conditionally_const_t<UnderlyingType *, IsConst>;
37 using ReferenceType = conditionally_const_t<UnderlyingType &, IsConst>;
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-14.2/contrib/llvm-project/llvm/lib/CodeGen/LiveDebugValues/
H A DInstrRefBasedImpl.h326 bool IsConst;
328 DbgOp() : ID(ValueIDNum::EmptyValue), IsConst(false) {}
329 DbgOp(ValueIDNum ID) : ID(ID), IsConst(false) {}
330 DbgOp(MachineOperand MO) : MO(MO), IsConst(true) {}
348 bool IsConst;
350 ResolvedDbgOp(LocIdx Loc) : Loc(Loc), IsConst(false) {}
354 if (IsConst != Other.IsConst)
356 if (IsConst)
375 uint32_t IsConst : 1;
388 DbgOpID(bool IsConst, uint32_t Index) : ID({IsConst, Index}) {}
[all …]
H A DInstrRefBasedImpl.cpp415 if (!Op.IsConst) in loadVarInloc()
450 if (!OpID.ID.IsConst) in loadInlocs()
518 if (Op.IsConst) in checkInstForNewValues()
557 if (Op.IsConst) { in checkInstForNewValues()
727 if (Op.IsConst) in redefVar()
946 if (IsConst) { in dump()
953 if (IsConst) { in dump()
1214 if (Op.IsConst) { in emitLoc()
1646 if (!Op.IsConst) in transferDebugInstrRef()
1675 if (DbgOp.IsConst) { in transferDebugInstrRef()
[all …]
/freebsd-14.2/contrib/llvm-project/clang/include/clang/Lex/
H A DHeaderSearch.h170 template <bool IsConst>
172 : llvm::iterator_facade_base<SearchDirIteratorImpl<IsConst>,
174 Qualified<IsConst, DirectoryLookup>> {
176 template <typename Enable = std::enable_if<IsConst, bool>>
194 Qualified<IsConst, DirectoryLookup> &operator*() const {
207 Qualified<IsConst, HeaderSearch> *HS;
213 SearchDirIteratorImpl(Qualified<IsConst, HeaderSearch> &HS, size_t Idx) in SearchDirIteratorImpl()
220 friend SearchDirIteratorImpl<!IsConst>;
/freebsd-14.2/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_t<IsConstDest && !IsConst>>
158 NeighborEdgeIteratorT<IsConst, IsOut>, BaseIt, in NeighborEdgeIteratorT()
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/DebugInfo/LogicalView/Core/
H A DLVType.h24 IsConst, enumerator
73 KIND(LVTypeKind, IsConst);
/freebsd-14.2/contrib/llvm-project/clang/include/clang/Analysis/
H A DCFG.h650 template <bool IsConst> class ElementRefImpl {
655 std::conditional_t<IsConst, const CFGBlock *, CFGBlock *>;
658 std::conditional_t<IsConst, const CFGElement *, CFGElement *>;
700 template <bool IsReverse, bool IsConst> class ElementRefIterator {
706 std::conditional_t<IsConst, const CFGBlock *, CFGBlock *>;
709 IsConst,
716 using ElementRef = typename CFGBlock::ElementRefImpl<IsConst>;
/freebsd-14.2/contrib/llvm-project/clang/utils/TableGen/
H A DClangOpenCLBuiltinEmitter.cpp250 TypeFlags() : IsConst(false), IsVolatile(false), IsPointer(false) {} in TypeFlags()
251 bool IsConst : 1; member
997 if (Type->getValueAsBit("IsConst") || Flags.IsConst) { in getTypeString()
1060 Flags.IsConst = Type->getValueAsBit("IsConst"); in getTypeLists()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DAMDGPUEmitPrintf.cpp213 bool IsConst = true; member
216 : Str(ST), RealSize(RS), AlignedSize(AS), IsConst(IC) {} in StringData()
384 if (StrIt->IsConst) { in callBufferedPrintfArgPush()
/freebsd-14.2/contrib/llvm-project/llvm/utils/TableGen/
H A DDXILEmitter.cpp38 bool IsConst; // whether this argument requires a constant value in the IR member
112 IsConst = R->getValueAsBit("is_const"); in DXILParam()
/freebsd-14.2/contrib/llvm-project/clang/lib/Sema/
H A DHLSLExternalSemaSource.cpp213 BuiltinTypeDeclBuilder &addArraySubscriptOperator(bool IsConst) { in addArraySubscriptOperator()
234 if (IsConst) { in addArraySubscriptOperator()
H A DOpenCLBuiltins.td175 bit IsConst = 0;
192 let IsConst = _Ty.IsConst;
205 let IsConst = _Ty.IsConst;
213 let IsConst = 1;
229 let IsConst = _Ty.IsConst;
242 let IsConst = _Ty.IsConst;
324 bit IsConst = _Attributes[1];
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/Support/
H A DAMDGPUMetadata.h189 constexpr char IsConst[] = "IsConst"; variable

12