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

12

/freebsd-11-stable/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>;
93 typename std::enable_if<IsConst || !RHSIsConst, void *>::type = nullptr)
99 typename std::enable_if<IsConst || !RHSIsConst, ilist_iterator &>::type
114 const ilist_iterator<OptionsT, !IsReverse, IsConst> &RHS)
122 ilist_iterator<OptionsT, !IsReverse, IsConst> getRevers
[all...]
H A Dilist_node.h28 template <class OptionsT, bool IsReverse, bool IsConst> class ilist_iterator;
H A DDenseMap.h54 bool IsConst = false>
1158 bool IsConst>
1168 typename std::conditional<IsConst, const Bucket, Bucket>::type;
1197 typename = typename std::enable_if<!IsConstSrc && IsConst>::type>
/freebsd-11-stable/contrib/llvm-project/clang/lib/AST/Interp/
H A DDescriptor.h31 using BlockCtorFn = void (*)(Block *Storage, char *FieldPtr, bool IsConst,
74 const bool IsConst = false; member in struct:clang::interp::Descriptor
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 in struct:clang::interp::InlineDescriptor
H A DDescriptor.cpp56 static void ctorArrayDesc(Block *B, char *Ptr, bool IsConst, bool IsMutable, argument
74 Desc->IsConst = IsConst || D->IsConst;
77 Fn(B, ElemLoc, Desc->IsConst, Desc->IsMutable, IsActive, D->ElemDesc);
117 static void ctorRecord(Block *B, char *Ptr, bool IsConst, bool IsMutable, argument
127 Desc->IsConst = IsConst || F->IsConst;
130 Fn(B, Ptr + SubOff, Desc->IsConst, Des
188 Descriptor(const DeclTy &D, PrimType Type, bool IsConst, bool IsTemporary, bool IsMutable) argument
197 Descriptor(const DeclTy &D, PrimType Type, size_t NumElems, bool IsConst, bool IsTemporary, bool IsMutable) argument
216 Descriptor(const DeclTy &D, Descriptor *Elem, unsigned NumElems, bool IsConst, bool IsTemporary, bool IsMutable) argument
236 Descriptor(const DeclTy &D, Record *R, bool IsConst, bool IsTemporary, bool IsMutable) argument
[all...]
H A DProgram.cpp166 const bool IsConst = Ty.isConstQualified(); local
169 Desc = createDescriptor(D, *T, IsConst, IsTemporary);
171 Desc = createDescriptor(D, Ty.getTypePtr(), IsConst, IsTemporary);
274 const bool IsConst = FT.isConstQualified(); local
278 Desc = createDescriptor(FD, *T, IsConst, /*isTemporary=*/false,
281 Desc = createDescriptor(FD, FT.getTypePtr(), IsConst,
297 bool IsConst, bool IsTemporary,
302 return allocateDescriptor(D, Record, IsConst, IsTemporary, IsMutable);
317 return allocateDescriptor(D, *T, NumElems, IsConst, IsTemporary,
323 createDescriptor(D, ElemTy.getTypePtr(), IsConst, IsTemporar
296 createDescriptor(const DeclTy &D, const Type *Ty, bool IsConst, bool IsTemporary, bool IsMutable) argument
[all...]
H A DProgram.h102 bool IsConst = false,
105 return allocateDescriptor(D, Type, IsConst, IsTemporary, IsMutable);
110 bool IsConst = false, bool IsTemporary = false,
H A DBlock.h74 Desc->CtorFn(this, data(), Desc->IsConst, Desc->IsMutable,
H A DPointer.h248 return Base == 0 ? getDeclDesc()->IsConst : getInlineDesc()->IsConst;
H A DByteCodeExprGen.cpp425 bool IsConst,
427 Descriptor *D = P.createDescriptor(Src, Ty, IsConst, Src.is<const Expr *>());
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/XRay/
H A DGraph.h127 template <bool IsConst, bool IsOut,
129 typename T = typename std::conditional<IsConst, const EdgeValueType,
133 NeighborEdgeIteratorT<IsConst, IsOut>, BaseIt,
136 typename std::conditional<IsConst, const EdgeMapT, EdgeMapT>::type;
147 typename = typename std::enable_if<IsConstDest && !IsConst>::type>
158 NeighborEdgeIteratorT<IsConst, IsOut>, BaseIt,
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DRegionInfo.h574 template <bool IsConst>
577 typename std::conditional<IsConst, const BlockT, BlockT>::type *> {
580 typename std::conditional<IsConst, const BlockT, BlockT>::type *>;
583 using Self = block_iterator_wrapper<IsConst>;
/freebsd-11-stable/contrib/llvm-project/lldb/include/lldb/Symbol/
H A DCompilerType.h88 bool IsConst() const;
H A DTypeSystem.h405 virtual bool IsConst(lldb::opaque_compiler_type_t type) = 0;
H A DClangASTContext.h487 bool IsConst(lldb::opaque_compiler_type_t type) override;
/freebsd-11-stable/contrib/llvm-project/clang/include/clang/Analysis/
H A DCFG.h622 template <bool IsConst> class ElementRefImpl {
627 typename std::conditional<IsConst, const CFGBlock *, CFGBlock *>::type;
629 using CFGElementPtr = typename std::conditional<IsConst, const CFGElement *,
672 template <bool IsReverse, bool IsConst> class ElementRefIterator {
678 typename std::conditional<IsConst, const CFGBlock *, CFGBlock *>::type;
681 IsConst,
689 using ElementRef = typename CFGBlock::ElementRefImpl<IsConst>;
/freebsd-11-stable/contrib/llvm-project/lldb/source/Symbol/
H A DCompilerType.cpp83 bool CompilerType::IsConst() const { function in class:CompilerType
85 return m_type_system->IsConst(m_type);
/freebsd-11-stable/contrib/llvm-project/clang/include/clang/AST/
H A DMangle.h214 virtual void mangleCXXThrowInfo(QualType T, bool IsConst, bool IsVolatile,
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/Support/
H A DAMDGPUMetadata.h178 constexpr char IsConst[] = "IsConst"; member in namespace:llvm::AMDGPU::HSAMD::AccessQualifier::AddressSpaceQualifier::ValueKind::ValueType::Kernel::Arg::Key
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Support/
H A DAMDGPUMetadata.cpp123 YIO.mapOptional(Kernel::Arg::Key::IsConst, MD.mIsConst, false);
/freebsd-11-stable/contrib/llvm-project/clang/lib/CodeGen/
H A DMicrosoftCXXABI.cpp3770 bool &IsConst, bool &IsVolatile,
3779 IsConst = false;
3784 IsConst = PointeeType.isConstQualified();
3809 bool IsConst, IsVolatile, IsUnaligned; local
3811 decomposeTypeForEH(getContext(), Type, IsConst, IsVolatile, IsUnaligned);
3816 if (IsConst)
4229 bool IsConst, IsVolatile, IsUnaligned; local
4230 T = decomposeTypeForEH(getContext(), T, IsConst, IsVolatile, IsUnaligned);
4246 getMangleContext().mangleCXXThrowInfo(T, IsConst, IsVolatile, IsUnaligned,
4259 if (IsConst)
3769 decomposeTypeForEH(ASTContext &Context, QualType T, bool &IsConst, bool &IsVolatile, bool &IsUnaligned) argument
[all...]
H A DCGBuiltin.cpp4292 bool IsConst = E->getArg(i)->isIntegerConstantExpr(Result,getContext());
4293 assert(IsConst && "Constant arg isn't actually constant?");
4294 (void)IsConst;
6581 bool IsConst = E->getArg(i)->isIntegerConstantExpr(Result, getContext());
6582 assert(IsConst && "Constant arg isn't actually constant?"); (void)IsConst;
6951 bool IsConst = E->isIntegerConstantExpr(IntVal, Context);
6952 assert(IsConst && "Sema should have checked this was a constant");
6953 (void)IsConst;
7677 bool IsConst
[all...]
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonBitSimplify.cpp2423 bool IsConst = true;
2428 IsConst = IsConst && (V.is(0) || V.is(1));
2430 if (IsConst)
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPURegisterBankInfo.cpp401 const bool IsConst = AS == AMDGPUAS::CONSTANT_ADDRESS || local
410 (IsConst || !MMO->isVolatile()) &&
412 (IsConst || MMO->isInvariant() || memOpHasNoClobbered(MMO)) &&
/freebsd-11-stable/contrib/llvm-project/clang/lib/AST/
H A DMicrosoftMangle.cpp156 void mangleCXXThrowInfo(QualType T, bool IsConst, bool IsVolatile,
3165 void MicrosoftMangleContextImpl::mangleCXXThrowInfo(QualType T, bool IsConst, argument
3173 if (IsConst)

Completed in 209 milliseconds

12