Searched refs:IsConst (Results 1 - 25 of 47) sorted by relevance

12

/freebsd-current/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>;
62 using Traits = ilist_detail::IteratorTraits<OptionsT, IsConst>;
92 std::enable_if_t<IsConst || !RHSIsConst, void *> = nullptr)
98 std::enable_if_t<IsConst || !RHSIsConst, ilist_iterator &>
113 const ilist_iterator<OptionsT, !IsReverse, IsConst> &RHS)
121 ilist_iterator<OptionsT, !IsReverse, IsConst> getRevers
[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-current/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DWithCache.h31 constexpr static bool IsConst = std::is_const_v<Arg>; member in class:llvm::WithCache
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-current/contrib/llvm-project/clang/lib/AST/Interp/
H A DDescriptor.h33 using BlockCtorFn = void (*)(Block *Storage, std::byte *FieldPtr, bool IsConst,
62 unsigned IsConst : 1; member in struct:clang::interp::InlineDescriptor
107 const bool IsConst = false; member in struct:clang::interp::final
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 DDescriptor.cpp73 static void ctorArrayDesc(Block *B, std::byte *Ptr, bool IsConst, argument
91 Desc->IsConst = IsConst || D->IsConst;
94 Fn(B, ElemLoc, Desc->IsConst, Desc->IsFieldMutable, IsActive,
136 static void ctorRecord(Block *B, std::byte *Ptr, bool IsConst, bool IsMutable, argument
146 Desc->IsConst = IsConst || F->IsConst;
149 Fn(B, Ptr + SubOff, Desc->IsConst, Des
230 Descriptor(const DeclTy &D, PrimType Type, MetadataSize MD, bool IsConst, bool IsTemporary, bool IsMutable) argument
241 Descriptor(const DeclTy &D, PrimType Type, MetadataSize MD, size_t NumElems, bool IsConst, bool IsTemporary, bool IsMutable) argument
265 Descriptor(const DeclTy &D, const Descriptor *Elem, MetadataSize MD, unsigned NumElems, bool IsConst, bool IsTemporary, bool IsMutable) argument
289 Descriptor(const DeclTy &D, const Record *R, MetadataSize MD, bool IsConst, bool IsTemporary, bool IsMutable) argument
[all...]
H A DProgram.cpp191 const bool IsConst = Ty.isConstQualified(); local
194 Desc = createDescriptor(D, *T, std::nullopt, IsConst, IsTemporary);
196 Desc = createDescriptor(D, Ty.getTypePtr(), std::nullopt, IsConst,
291 const bool IsConst = FT.isConstQualified(); local
295 Desc = createDescriptor(FD, *T, std::nullopt, IsConst,
298 Desc = createDescriptor(FD, FT.getTypePtr(), std::nullopt, IsConst,
315 bool IsConst, bool IsTemporary,
320 return allocateDescriptor(D, Record, MDSize, IsConst, IsTemporary,
336 return allocateDescriptor(D, *T, MDSize, NumElems, IsConst, IsTemporary,
342 D, ElemTy.getTypePtr(), std::nullopt, IsConst, IsTemporar
313 createDescriptor(const DeclTy &D, const Type *Ty, Descriptor::MetadataSize MDSize, bool IsConst, bool IsTemporary, bool IsMutable, const Expr *Init) argument
[all...]
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 DInterpBlock.h109 Desc->CtorFn(this, data(), Desc->IsConst, Desc->IsMutable,
H A DPointer.h331 return Base == 0 ? getDeclDesc()->IsConst : getInlineDesc()->IsConst;
H A DEvalEmitter.cpp73 Desc.IsConst = false;
H A DInterpFrame.cpp47 ID->IsConst = false;
/freebsd-current/contrib/llvm-project/llvm/lib/CodeGen/LiveDebugValues/
H A DInstrRefBasedImpl.h320 /// computed at some point in the program. IsConst is used as a discriminator.
326 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) {}
332 bool isUndef() const { return !IsConst && ID == ValueIDNum::EmptyValue; }
348 bool IsConst;
350 ResolvedDbgOp(LocIdx Loc) : Loc(Loc), IsConst(false) {}
351 ResolvedDbgOp(MachineOperand MO) : MO(MO), IsConst(true) {}
354 if (IsConst !
[all...]
H A DInstrRefBasedImpl.cpp213 Ops, [](const ResolvedDbgOp &Op) { return !Op.IsConst; }),
415 if (!Op.IsConst)
450 if (!OpID.ID.IsConst)
518 if (Op.IsConst)
557 if (Op.IsConst) {
727 if (Op.IsConst)
946 if (IsConst) {
953 if (IsConst) {
1172 return Op.IsConst || !Op.Loc.isIllegal();
1214 if (Op.IsConst) {
[all...]
/freebsd-current/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,
/freebsd-current/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)
220 friend SearchDirIteratorImpl<!IsConst>;
/freebsd-current/contrib/llvm-project/llvm/include/llvm/DebugInfo/LogicalView/Core/
H A DLVType.h24 IsConst, member in class:llvm::logicalview::LVTypeKind
73 KIND(LVTypeKind, IsConst);
/freebsd-current/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DAMDGPUEmitPrintf.cpp213 bool IsConst = true; member in struct:StringData
216 : Str(ST), RealSize(RS), AlignedSize(AS), IsConst(IC) {}
257 /*RealSize*/ nullptr, /*AlignedSize*/ nullptr, /*IsConst*/ true));
384 if (StrIt->IsConst) {
/freebsd-current/contrib/llvm-project/llvm/utils/TableGen/
H A DDXILEmitter.cpp38 bool IsConst; // whether this argument requires a constant value in the IR member in struct:__anon3142::DXILParam
112 IsConst = R->getValueAsBit("is_const");
/freebsd-current/contrib/llvm-project/clang/utils/TableGen/
H A DClangOpenCLBuiltinEmitter.cpp250 TypeFlags() : IsConst(false), IsVolatile(false), IsPointer(false) {}
251 bool IsConst : 1; member in struct:__anon1084::OpenCLBuiltinFileEmitterBase::TypeFlags
425 const bool IsConst : 1;
445 const bool IsConst : 1;
569 << T.first->getValueAsBit("IsConst") << ", "
644 << (Overload.first->getValueAsBit("IsConst")) << ", "
666 Rec->getValueAsBit("IsConst") == Rec2->getValueAsBit("IsConst") &&
972 if (Ty.IsConst != 0) {
997 if (Type->getValueAsBit("IsConst") || Flag
[all...]
/freebsd-current/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-current/contrib/llvm-project/clang/lib/Sema/
H A DHLSLExternalSemaSource.cpp213 BuiltinTypeDeclBuilder &addArraySubscriptOperator(bool IsConst) { argument
234 if (IsConst) {
/freebsd-current/contrib/llvm-project/clang/include/clang/AST/
H A DMangle.h263 virtual void mangleCXXThrowInfo(QualType T, bool IsConst, bool IsVolatile,
/freebsd-current/contrib/llvm-project/llvm/include/llvm/Support/
H A DAMDGPUMetadata.h189 constexpr char IsConst[] = "IsConst"; member in namespace:llvm::AMDGPU::HSAMD::AccessQualifier::AddressSpaceQualifier::ValueKind::ValueType::Kernel::Arg::Key

Completed in 265 milliseconds

12