Home
last modified time | relevance | path

Searched refs:isReadOnly (Results 1 – 25 of 44) sorted by relevance

12

/freebsd-12.1/contrib/llvm/lib/Target/XCore/
H A DXCoreTargetObjectFile.cpp103 if (IsCPRel && !Kind.isReadOnly()) in getExplicitSectionGlobal()
125 if (Kind.isReadOnly()) return UseCPRel? ReadOnlySection in SelectSectionForGlobal()
132 if (Kind.isReadOnly()) return UseCPRel? ReadOnlySectionLarge in SelectSectionForGlobal()
151 assert((Kind.isReadOnly() || Kind.isReadOnlyWithRel()) && in getSectionForConstant()
/freebsd-12.1/contrib/llvm/lib/IR/
H A DModuleSummaryIndex.cpp45 for (int I = Refs.size() - 1; I >= 0 && Refs[I].isReadOnly(); --I) in immutableRefCount()
114 if (VI.isReadOnly()) { in propagateConstantsToRefs()
174 if (isGlobalValueLive(GVS) && GVS->isReadOnly()) in propagateConstants()
338 return GVS->isReadOnly(); in hasReadOnlyFlag()
429 Draw(SummaryIt.first, R.getGUID(), R.isReadOnly() ? -1 : -2); in exportToDot()
/freebsd-12.1/contrib/llvm/lib/Target/Mips/
H A DMipsTargetObjectFile.cpp89 Kind.isReadOnly()); in IsGlobalInSmallSection()
161 if (Kind.isReadOnly() && IsGlobalInSmallSection(GO, TM, Kind)) in SelectSectionForGlobal()
/freebsd-12.1/contrib/llvm/lib/Target/AMDGPU/
H A DAMDGPUTargetObjectFile.cpp26 if (Kind.isReadOnly() && AMDGPU::isReadOnlySegment(GO) && in SelectSectionForGlobal()
/freebsd-12.1/contrib/llvm/lib/ExecutionEngine/
H A DExecutionEngineBindings.cpp335 bool isReadOnly) override;
371 StringRef SectionName, bool isReadOnly) { in allocateDataSection() argument
374 isReadOnly); in allocateDataSection()
/freebsd-12.1/contrib/llvm/lib/Target/PowerPC/
H A DPPCTargetObjectFile.cpp41 if (Kind.isReadOnly()) { in SelectSectionForGlobal()
/freebsd-12.1/contrib/llvm/lib/Target/
H A DTargetLoweringObjectFile.cpp256 (Attrs.hasAttribute("rodata-section") && Kind.isReadOnly())) { in SectionForGlobal()
298 if (Kind.isReadOnly() && ReadOnlySection != nullptr) in getSectionForConstant()
/freebsd-12.1/contrib/llvm/tools/clang/lib/StaticAnalyzer/Checkers/
H A DCheckObjCDealloc.cpp666 if (PropDecl->isReadOnly()) in diagnoseExtraRelease()
681 !PropDecl->isReadOnly()) || in diagnoseExtraRelease()
811 if (PropDecl->isReadOnly()) in findShadowedPropertyDecl()
828 assert(ShadowedPropDecl->isReadOnly()); in findShadowedPropertyDecl()
916 if (PropDecl->isReadOnly()) in getDeallocReleaseRequirement()
H A DObjCPropertyChecker.cpp44 if (D->isReadOnly() || D->getSetterKind() != ObjCPropertyDecl::Copy) in checkCopyMutable()
/freebsd-12.1/contrib/llvm/include/llvm/MC/
H A DMCSectionWasm.h71 return Kind.isGlobalWriteableData() || Kind.isReadOnly(); in isWasmData()
H A DSectionKind.h123 bool isReadOnly() const { in isReadOnly() function
/freebsd-12.1/contrib/llvm/include/llvm/ExecutionEngine/
H A DSectionMemoryManager.h130 bool isReadOnly) override;
/freebsd-12.1/contrib/llvm/lib/CodeGen/
H A DTargetLoweringObjectFileImpl.cpp545 } else if (Attrs.hasAttribute("rodata-section") && Kind.isReadOnly()) { in getExplicitSectionGlobal()
590 if (Kind.isReadOnly()) in getSectionPrefixForGlobal()
721 if (Kind.isReadOnly()) in getSectionForConstant()
966 if (Kind.isReadOnly()) in SelectSectionForGlobal()
1000 if (Kind.isReadOnly()) in SelectSectionForGlobal()
1220 else if (K.isReadOnly() || K.isReadOnlyWithRel()) in getCOFFSectionFlags()
1309 if (Kind.isReadOnly() || Kind.isReadOnlyWithRel()) in getCOFFSectionNameForUniqueGlobal()
1369 if (Kind.isReadOnly() || Kind.isReadOnlyWithRel()) in SelectSectionForGlobal()
/freebsd-12.1/contrib/llvm/tools/clang/lib/Sema/
H A DSemaObjCProperty.cpp460 if (!(PIDecl->isReadOnly() && isReadWrite)) { in HandlePropertyInClassExtension()
864 if (Property->isReadOnly() && !Prop.value()->isReadOnly()) { in SelectPropertyForSynthesisFromProtocols()
933 if (!Property->isReadOnly() && !Prop->isReadOnly() && in SelectPropertyForSynthesisFromProtocols()
1018 if (Prop->isReadOnly()) return false; in hasWrittenStorageAttribute()
1623 !(SuperProperty->isReadOnly() && in DiagnosePropertyMismatch()
2078 if (!Prop->isReadOnly()) in DiagnoseUnimplementedProperties()
2349 if (!property->isReadOnly() && SetterMethod) { in ProcessPropertyDecl()
2428 if (!property->isReadOnly()) { in ProcessPropertyDecl()
/freebsd-12.1/contrib/llvm/lib/Target/ARM/
H A DARMInstructionSelector.cpp622 bool isReadOnly = STI.getTargetLowering()->isReadOnly(GV); in selectGlobal() local
623 if (STI.isROPI() && isReadOnly) { in selectGlobal()
628 if (STI.isRWPI() && !isReadOnly) { in selectGlobal()
H A DARMISelLowering.h300 bool isReadOnly(const GlobalValue *GV) const;
/freebsd-12.1/contrib/llvm/tools/clang/lib/CodeGen/
H A DCGOpenCLRuntime.cpp74 if (T->isReadOnly()) in getPipeType()
/freebsd-12.1/contrib/llvm/lib/Transforms/Utils/
H A DFunctionImportUtils.cpp245 if (GVS && GVS->isReadOnly()) in processGlobalForThinLTO()
/freebsd-12.1/contrib/llvm/include/llvm/IR/
H A DModuleSummaryIndex.h193 bool isReadOnly() const { return RefAndFlags.getInt() & 0x2; } in isReadOnly() function
695 bool isReadOnly() const { return VarFlags.ReadOnly; }
/freebsd-12.1/contrib/llvm/tools/lld/ELF/
H A DRelocations.cpp465 template <class ELFT> static bool isReadOnly(SharedSymbol &SS) { in isReadOnly() function
572 bool IsReadOnly = isReadOnly<ELFT>(SS); in addCopyRelSymbol()
/freebsd-12.1/contrib/llvm/lib/Analysis/
H A DMemoryDependenceAnalysis.cpp753 bool isReadOnly = AA.onlyReadsMemory(QueryCall); in getDependency() local
754 LocalCache = getCallDependencyFrom(QueryCall, isReadOnly, in getDependency()
/freebsd-12.1/contrib/llvm/tools/clang/lib/Analysis/
H A DBodyFarm.cpp715 if (!Prop->isReadOnly()) in findBackingIvar()
/freebsd-12.1/contrib/llvm/lib/Transforms/Scalar/
H A DLICM.cpp961 bool isReadOnly(AliasSetTracker *CurAST, const MemorySSAUpdater *MSSAU, in isReadOnly() function
1086 if (isReadOnly(CurAST, MSSAU, CurLoop)) in canSinkOrHoistInst()
/freebsd-12.1/contrib/llvm/tools/clang/lib/AST/
H A DODRHash.cpp889 Hash.AddBoolean(T->isReadOnly()); in VisitPipeType()
/freebsd-12.1/contrib/llvm/lib/LTO/
H A DLTO.cpp194 AddUnsigned(GVS->isReadOnly()); in computeLTOCacheKey()

12