Home
last modified time | relevance | path

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

12

/openbsd-src/gnu/llvm/llvm/lib/Target/XCore/
H A DXCoreTargetObjectFile.cpp102 if (IsCPRel && !Kind.isReadOnly()) in getExplicitSectionGlobal()
124 if (Kind.isReadOnly()) return UseCPRel? ReadOnlySection in SelectSectionForGlobal()
131 if (Kind.isReadOnly()) return UseCPRel? ReadOnlySectionLarge in SelectSectionForGlobal()
149 assert((Kind.isReadOnly() || Kind.isReadOnlyWithRel()) && in getSectionForConstant()
/openbsd-src/gnu/llvm/llvm/lib/Target/Mips/
H A DMipsTargetObjectFile.cpp87 Kind.isReadOnly()); in IsGlobalInSmallSection()
159 if (Kind.isReadOnly() && IsGlobalInSmallSection(GO, TM, Kind)) in SelectSectionForGlobal()
/openbsd-src/gnu/llvm/llvm/lib/Target/AMDGPU/
H A DAMDGPUTargetObjectFile.cpp22 if (Kind.isReadOnly() && AMDGPU::isReadOnlySegment(GO) && in SelectSectionForGlobal()
/openbsd-src/gnu/llvm/llvm/lib/Target/PowerPC/
H A DPPCTargetObjectFile.cpp40 if (Kind.isReadOnly()) { in SelectSectionForGlobal()
/openbsd-src/gnu/llvm/llvm/lib/IR/
H A DModuleSummaryIndex.cpp85 for (; I >= 0 && Refs[I].isReadOnly(); --I) in specialRefCounts()
215 if (!VI.isReadOnly()) in propagateAttributesToRefs()
338 !isReadOnly(GVS) && !isWriteOnly(GVS) && GVS->refs().size(); in canImportGlobalVar()
640 R.isWriteOnly() ? -1 : (R.isReadOnly() ? -2 : -3)); in exportToDot()
/openbsd-src/gnu/llvm/llvm/lib/ExecutionEngine/
H A DExecutionEngineBindings.cpp346 bool isReadOnly) override;
382 StringRef SectionName, bool isReadOnly) { in allocateDataSection() argument
385 isReadOnly); in allocateDataSection()
/openbsd-src/gnu/llvm/clang/lib/StaticAnalyzer/Checkers/
H A DObjCPropertyChecker.cpp43 if (D->isReadOnly() || D->getSetterKind() != ObjCPropertyDecl::Copy) in checkCopyMutable()
H A DCheckObjCDealloc.cpp665 if (PropDecl->isReadOnly()) in diagnoseExtraRelease()
680 !PropDecl->isReadOnly()) || in diagnoseExtraRelease()
810 if (PropDecl->isReadOnly()) in findShadowedPropertyDecl()
827 assert(ShadowedPropDecl->isReadOnly()); in findShadowedPropertyDecl()
915 if (PropDecl->isReadOnly()) in getDeallocReleaseRequirement()
/openbsd-src/gnu/llvm/llvm/include/llvm/MC/
H A DMCSectionWasm.h68 return Kind.isGlobalWriteableData() || Kind.isReadOnly() || in isWasmData()
H A DSectionKind.h131 bool isReadOnly() const { in isReadOnly() function
/openbsd-src/gnu/llvm/llvm/lib/Target/AVR/
H A DAVRTargetObjectFile.cpp44 Kind.isReadOnly()) { in SelectSectionForGlobal()
/openbsd-src/gnu/llvm/llvm/lib/MC/
H A DMCSectionXCOFF.cpp37 if (getKind().isReadOnly()) { in printSwitchToSection()
/openbsd-src/gnu/llvm/llvm/include/llvm/ExecutionEngine/
H A DSectionMemoryManager.h128 bool isReadOnly) override;
/openbsd-src/gnu/llvm/llvm/lib/Target/
H A DTargetLoweringObjectFile.cpp332 (Attrs.hasAttribute("rodata-section") && Kind.isReadOnly())) { in SectionForGlobal()
383 if (Kind.isReadOnly() && ReadOnlySection != nullptr) in getSectionForConstant()
/openbsd-src/gnu/llvm/llvm/lib/CodeGen/
H A DTargetLoweringObjectFileImpl.cpp635 if (Kind.isReadOnly()) in getSectionPrefixForGlobal()
792 } else if (Attrs.hasAttribute("rodata-section") && Kind.isReadOnly()) { in selectExplicitSectionGlobal()
1027 if (Kind.isReadOnly()) in getSectionForConstant()
1341 if (Kind.isReadOnly()) in SelectSectionForGlobal()
1375 if (Kind.isReadOnly()) in SelectSectionForGlobal()
1595 else if (K.isReadOnly() || K.isReadOnlyWithRel()) in getCOFFSectionFlags()
1684 if (Kind.isReadOnly() || Kind.isReadOnlyWithRel()) in getCOFFSectionNameForUniqueGlobal()
1748 if (Kind.isReadOnly() || Kind.isReadOnlyWithRel()) in SelectSectionForGlobal()
2340 else if (Kind.isReadOnly()) in getExplicitSectionGlobal()
2442 if (Kind.isReadOnly()) { in SelectSectionForGlobal()
/openbsd-src/gnu/llvm/clang/lib/Sema/
H A DSemaObjCProperty.cpp453 if (!(PIDecl->isReadOnly() && isReadWrite)) { in HandlePropertyInClassExtension()
868 if (Property->isReadOnly() && !Prop.value()->isReadOnly()) { in SelectPropertyForSynthesisFromProtocols()
938 if (!Property->isReadOnly() && !Prop->isReadOnly() && in SelectPropertyForSynthesisFromProtocols()
1023 if (Prop->isReadOnly()) return false; in hasWrittenStorageAttribute()
1677 !(SuperProperty->isReadOnly() && in DiagnosePropertyMismatch()
2130 if (!Prop->isReadOnly()) in DiagnoseUnimplementedProperties()
2427 if (!property->isReadOnly() && !SetterMethod) { in ProcessPropertyDecl()
2443 if (!property->isReadOnly() && SetterMethod) { in ProcessPropertyDecl()
2526 if (!property->isReadOnly()) { in ProcessPropertyDecl()
/openbsd-src/gnu/llvm/llvm/lib/Target/ARM/
H A DARMInstructionSelector.cpp712 bool isReadOnly = STI.getTargetLowering()->isReadOnly(GV); in selectGlobal() local
713 if (STI.isROPI() && isReadOnly) { in selectGlobal()
718 if (STI.isRWPI() && !isReadOnly) { in selectGlobal()
/openbsd-src/gnu/llvm/clang/lib/CodeGen/
H A DCGOpenCLRuntime.cpp78 if (T->isReadOnly()) in getPipeType()
/openbsd-src/gnu/llvm/llvm/lib/Transforms/Utils/
H A DFunctionImportUtils.cpp270 (ImportIndex.isReadOnly(GVS) || ImportIndex.isWriteOnly(GVS))) { in processGlobalForThinLTO()
/openbsd-src/gnu/llvm/clang/include/clang/AST/
H A DTypeProperties.td916 def : Property<"isReadOnly", Bool> {
917 let Read = [{ node->isReadOnly() }];
921 return ctx.getPipeType(elementType, isReadOnly);
/openbsd-src/gnu/llvm/llvm/lib/ExecutionEngine/Orc/
H A DOrcV2CBindings.cpp1140 bool isReadOnly) override { in LLVMOrcCreateRTDyldObjectLinkingLayerWithMCJITMemoryManagerLikeCallbacks() argument
1142 SectionName.str().c_str(), isReadOnly); in LLVMOrcCreateRTDyldObjectLinkingLayerWithMCJITMemoryManagerLikeCallbacks()
/openbsd-src/gnu/llvm/llvm/lib/Analysis/
H A DMemoryDependenceAnalysis.cpp685 bool isReadOnly = AA.onlyReadsMemory(QueryCall); in getDependency() local
686 LocalCache = getCallDependencyFrom(QueryCall, isReadOnly, in getDependency()
/openbsd-src/gnu/llvm/llvm/include/llvm/IR/
H A DModuleSummaryIndex.h198 bool isReadOnly() const { in isReadOnly() function
1436 bool isReadOnly(const GlobalVarSummary *GVS) const {
/openbsd-src/gnu/llvm/clang/lib/Analysis/
H A DBodyFarm.cpp757 if (!Prop->isReadOnly()) in findBackingIvar()
/openbsd-src/gnu/llvm/clang/include/clang/ExtractAPI/
H A DAPI.h296 bool isReadOnly() const { return Attributes & ReadOnly; } in isReadOnly() function

12