Home
last modified time | relevance | path

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

12

/freebsd/contrib/llvm-project/llvm/include/llvm/ADT/
H A Dilist_iterator.h23 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 Dilist_node.h46 template <class OptionsT, bool IsReverse, bool IsConst> class ilist_iterator;
47 template <class OptionsT, bool IsReverse, bool IsConst>
H A DDenseMap.h56 bool IsConst = false>
1236 bool IsConst>
1243 using value_type = std::conditional_t<IsConst, const Bucket, Bucket>;
1272 typename = std::enable_if_t<!IsConstSrc && IsConst>>
/freebsd/contrib/llvm-project/clang/lib/AST/Interp/
H A DDescriptor.cpp84 static void ctorArrayDesc(Block *B, std::byte *Ptr, bool IsConst, in ctorArrayDesc() argument
102 Desc->IsConst = IsConst || D->IsConst; in ctorArrayDesc()
105 Fn(B, ElemLoc, Desc->IsConst, Desc->IsFieldMutable, IsActive, in ctorArrayDesc()
147 static void initField(Block *B, std::byte *Ptr, bool IsConst, bool IsMutable, in initField() argument
156 Desc->IsConst = IsConst || D->IsConst; in initField()
160 Fn(B, Ptr + FieldOffset, Desc->IsConst, Desc->IsFieldMutable, in initField()
164 static void initBase(Block *B, std::byte *Ptr, bool IsConst, bool IsMutable, in initBase() argument
178 Desc->IsConst = IsConst || D->IsConst; in initBase()
182 initBase(B, Ptr + FieldOffset, IsConst, IsMutable, IsActive, V.Desc, in initBase()
185 initField(B, Ptr + FieldOffset, IsConst, IsMutable, IsActive, IsUnion, in initBase()
[all …]
H A DProgram.cpp220 const bool IsConst = Ty.isConstQualified(); in createGlobal() local
223 Desc = createDescriptor(D, *T, Descriptor::GlobalMD, IsConst, IsTemporary); in createGlobal()
225 Desc = createDescriptor(D, Ty.getTypePtr(), Descriptor::GlobalMD, IsConst, in createGlobal()
341 const bool IsConst = FT.isConstQualified(); in getOrCreateRecord() local
345 Desc = createDescriptor(FD, *T, std::nullopt, IsConst, in getOrCreateRecord()
348 Desc = createDescriptor(FD, FT.getTypePtr(), std::nullopt, IsConst, in getOrCreateRecord()
365 bool IsConst, bool IsTemporary, in createDescriptor() argument
371 return allocateDescriptor(D, Record, MDSize, IsConst, IsTemporary, in createDescriptor()
387 return allocateDescriptor(D, *T, MDSize, NumElems, IsConst, IsTemporary, in createDescriptor()
393 D, ElemTy.getTypePtr(), std::nullopt, IsConst, IsTemporary); in createDescriptor()
[all …]
H A DDescriptor.h34 using BlockCtorFn = void (*)(Block *Storage, std::byte *FieldPtr, bool IsConst,
76 unsigned IsConst : 1;
98 : Offset(sizeof(InlineDescriptor)), IsConst(false), IsInitialized(false), in InlineDescriptor()
145 const bool IsConst = false; member
161 Descriptor(const DeclTy &D, PrimType Type, MetadataSize MD, bool IsConst,
166 bool IsConst, bool IsTemporary, bool IsMutable);
174 unsigned NumElems, bool IsConst, bool IsTemporary, bool IsMutable);
181 Descriptor(const DeclTy &D, const Record *R, MetadataSize MD, bool IsConst,
H A DProgram.h120 bool IsConst = false, bool IsTemporary = false,
122 return allocateDescriptor(D, Type, MDSize, IsConst, IsTemporary, IsMutable);
128 bool IsConst = false, bool IsTemporary = false,
H A DDynamicAllocator.cpp78 ID->IsConst = false; in allocate()
H A DInterpBlock.h114 Desc->CtorFn(this, data(), Desc->IsConst, Desc->IsMutable, in invokeCtor()
H A DPointer.h508 return isRoot() ? getDeclDesc()->IsConst : getInlineDesc()->IsConst; in isConst()
H A DEvalEmitter.cpp98 Desc.IsConst = false; in createLocal()
H A DDisasm.cpp249 OS << "IsConst: " << IsConst << "\n"; in dump()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/LiveDebugValues/
H A DInstrRefBasedImpl.h364 bool IsConst;
366 DbgOp() : ID(ValueIDNum::EmptyValue), IsConst(false) {}
367 DbgOp(ValueIDNum ID) : ID(ID), IsConst(false) {}
368 DbgOp(MachineOperand MO) : MO(MO), IsConst(true) {}
370 bool isUndef() const { return !IsConst && ID == ValueIDNum::EmptyValue; }
386 bool IsConst;
388 ResolvedDbgOp(LocIdx Loc) : Loc(Loc), IsConst(false) {}
389 ResolvedDbgOp(MachineOperand MO) : MO(MO), IsConst(true) {}
392 if (IsConst != Other.IsConst)
394 if (IsConst)
[all …]
H A DInstrRefBasedImpl.cpp216 Ops, [](const ResolvedDbgOp &Op) { return !Op.IsConst; }), in loc_indices()
433 if (!Op.IsConst) in loadVarInloc()
471 if (!OpID.ID.IsConst) in loadInlocs()
543 if (Op.IsConst) in checkInstForNewValues()
582 if (Op.IsConst) { in checkInstForNewValues()
756 if (Op.IsConst) in redefVar()
978 if (IsConst) { in dump()
985 if (IsConst) { in dump()
1202 return Op.IsConst || !Op.Loc.isIllegal(); in emitLoc()
1244 if (Op.IsConst) { in emitLoc()
[all …]
/freebsd/contrib/llvm-project/clang/include/clang/Lex/
H A DHeaderSearch.h187 template <bool IsConst>
189 : llvm::iterator_facade_base<SearchDirIteratorImpl<IsConst>,
191 Qualified<IsConst, DirectoryLookup>> {
193 template <typename Enable = std::enable_if<IsConst, bool>>
211 Qualified<IsConst, DirectoryLookup> &operator*() const {
224 Qualified<IsConst, HeaderSearch> *HS;
230 SearchDirIteratorImpl(Qualified<IsConst, HeaderSearch> &HS, size_t Idx) in SearchDirIteratorImpl()
237 friend SearchDirIteratorImpl<!IsConst>;
/freebsd/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/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/contrib/llvm-project/llvm/include/llvm/DebugInfo/LogicalView/Core/
H A DLVType.h24 IsConst, enumerator
73 KIND(LVTypeKind, IsConst);
/freebsd/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/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/contrib/llvm-project/clang/lib/Sema/
H A DHLSLExternalSemaSource.cpp217 BuiltinTypeDeclBuilder &addArraySubscriptOperator(bool IsConst) { in addArraySubscriptOperator()
238 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/contrib/llvm-project/llvm/include/llvm/Support/
H A DAMDGPUMetadata.h196 constexpr char IsConst[] = "IsConst"; variable
/freebsd/contrib/llvm-project/lldb/include/lldb/Symbol/
H A DCompilerType.h142 bool IsConst() const;
/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DMangle.h262 virtual void mangleCXXThrowInfo(QualType T, bool IsConst, bool IsVolatile,

12