Home
last modified time | relevance | path

Searched refs:isMutable (Results 1 – 25 of 30) sorted by relevance

12

/llvm-project-15.0.7/mlir/lib/IR/
H A DSubElementInterfaces.cpp97 static bool isMutable(Attribute attr) { in isMutable() function
100 static bool isMutable(Type type) { in isMutable() function
181 if (isMutable(interface)) in replaceSubElementsImpl()
/llvm-project-15.0.7/llvm/include/llvm/ADT/
H A DImmutableSet.h246 bool isMutable() const { return IsMutable; } in isMutable() function
266 assert(isMutable() && "Mutable flag already removed."); in markImmutable()
279 assert(isMutable() && "Only a mutable tree can have its height changed."); in setHeight()
478 if (N->isMutable() && N->refCount == 0)
533 assert(!T->isMutable());
554 assert(!T->isMutable());
592 if (!T || !T->isMutable())
/llvm-project-15.0.7/lld/wasm/
H A DDriver.cpp582 static InputGlobal *createGlobal(StringRef name, bool isMutable) { in createGlobal() argument
585 wasmGlobal.Type = {uint8_t(is64 ? WASM_TYPE_I64 : WASM_TYPE_I32), isMutable}; in createGlobal()
591 static GlobalSymbol *createGlobalVariable(StringRef name, bool isMutable) { in createGlobalVariable() argument
592 InputGlobal *g = createGlobal(name, isMutable); in createGlobalVariable()
596 static GlobalSymbol *createOptionalGlobal(StringRef name, bool isMutable) { in createOptionalGlobal() argument
597 InputGlobal *g = createGlobal(name, isMutable); in createOptionalGlobal()
/llvm-project-15.0.7/mlir/include/mlir/IR/
H A DAsmState.h146 assert(isMutable() && in getMutableData()
152 bool isMutable() const { return dataIsMutable; } in isMutable() function
/llvm-project-15.0.7/clang/lib/AST/Interp/
H A DPointer.h235 bool isMutable() const { return Base != 0 && getInlineDesc()->IsMutable; } in isMutable() function
H A DProgram.cpp290 const bool IsMutable = FD->isMutable(); in getOrCreateRecord()
H A DInterp.cpp272 if (!Ptr.isMutable()) { in CheckMutable()
/llvm-project-15.0.7/clang/include/clang/AST/
H A DStmtDataCollectors.td206 addData(S->isMutable());
H A DDecl.h2948 bool isMutable() const { return Mutable; } in isMutable() function
H A DExprCXX.h2065 bool isMutable() const;
/llvm-project-15.0.7/clang/lib/Sema/
H A DSemaCUDA.cpp413 /* ConstArg */ ConstRHS && !F->isMutable(), in inferCUDATargetForImplicitSpecialMember()
H A DSemaExprMember.cpp1835 if (Field->isMutable()) BaseQuals.removeConst(); in BuildFieldReferenceExpr()
H A DSemaDeclCXX.cpp1459 if (FD->isMutable()) in checkMemberDecomposition()
7302 ConstArg && !F->isMutable())) in defaultedSpecialMemberIsConstexpr()
7698 if (Field->isMutable()) in visitSubobjects()
9108 bool IsMutable = Field && Field->isMutable(); in shouldDeleteForClassSubobject()
9733 bool ConstRHS = ConstArg && !FI->isMutable(); in checkTrivialClassMembers()
13245 bool IsMutable = Field && Field->isMutable(); in visitClassSubobject()
H A DSemaTemplateInstantiateDecl.cpp1232 D->isMutable(), in VisitFieldDecl()
/llvm-project-15.0.7/clang/lib/AST/
H A DDeclCXX.cpp979 if (Field->isMutable()) { in addedMember()
1062 if (!Field->hasInClassInitializer() && !Field->isMutable()) { in addedMember()
1257 if (Field->isMutable()) { in addedMember()
H A DODRHash.cpp331 Hash.AddBoolean(D->isMutable()); in VisitFieldDecl()
H A DDeclPrinter.cpp827 if (!Policy.SuppressSpecifiers && D->isMutable()) in VisitFieldDecl()
H A DExprCXX.cpp1284 bool LambdaExpr::isMutable() const { return !getCallOperator()->isConst(); } in isMutable() function in LambdaExpr
H A DJSONNodeDumper.cpp838 attributeOnlyIfTrue("mutable", FD->isMutable()); in VisitFieldDecl()
H A DTextNodeDumper.cpp1748 if (D->isMutable()) in VisitFieldDecl()
H A DStmtPrinter.cpp2215 if (Node->isMutable()) in VisitLambdaExpr()
H A DExprConstant.cpp3500 if (Field->isMutable() && in diagnoseMutableFields()
3762 if (Field->isMutable() && in findSubobject()
3793 ObjType = getSubobjectType(ObjType, Field->getType(), Field->isMutable()); in findSubobject()
/llvm-project-15.0.7/mlir/lib/AsmParser/
H A DParser.cpp2373 blob.isMutable() && in parseAsBlob()
/llvm-project-15.0.7/clang/lib/Serialization/
H A DASTWriterDecl.cpp922 Record.push_back(D->isMutable()); in VisitFieldDecl()
H A DASTReader.cpp9737 const bool IsFirstMutable = FirstField->isMutable(); in diagnoseOdrViolations()
9738 const bool IsSecondMutable = SecondField->isMutable(); in diagnoseOdrViolations()

12