Home
last modified time | relevance | path

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

123

/llvm-project-15.0.7/llvm/unittests/ExecutionEngine/MCJIT/
H A DMCJITMemoryManagerTest.cpp89 const bool isReadOnly = i % 2 == 0; in TEST() local
92 data[i] = MemMgr->allocateDataSection(32, 0, 2, "", isReadOnly); in TEST()
127 bool isReadOnly = i % 3 == 0; in TEST() local
132 isReadOnly); in TEST()
H A DMCJITCAPITest.cpp45 LLVMBool isReadOnly) { in roundTripAllocateDataSection() argument
49 size, alignment, sectionID, sectionName, isReadOnly); in roundTripAllocateDataSection()
/llvm-project-15.0.7/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()
/llvm-project-15.0.7/llvm/lib/Target/Mips/
H A DMipsTargetObjectFile.cpp87 Kind.isReadOnly()); in IsGlobalInSmallSection()
159 if (Kind.isReadOnly() && IsGlobalInSmallSection(GO, TM, Kind)) in SelectSectionForGlobal()
/llvm-project-15.0.7/llvm/lib/Target/AMDGPU/
H A DAMDGPUTargetObjectFile.cpp22 if (Kind.isReadOnly() && AMDGPU::isReadOnlySegment(GO) && in SelectSectionForGlobal()
/llvm-project-15.0.7/llvm/lib/Target/PowerPC/
H A DPPCTargetObjectFile.cpp40 if (Kind.isReadOnly()) { in SelectSectionForGlobal()
/llvm-project-15.0.7/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()
641 R.isWriteOnly() ? -1 : (R.isReadOnly() ? -2 : -3)); in exportToDot()
/llvm-project-15.0.7/llvm/lib/ExecutionEngine/
H A DExecutionEngineBindings.cpp345 bool isReadOnly) override;
381 StringRef SectionName, bool isReadOnly) { in allocateDataSection() argument
384 isReadOnly); in allocateDataSection()
/llvm-project-15.0.7/clang/lib/StaticAnalyzer/Checkers/
H A DObjCPropertyChecker.cpp43 if (D->isReadOnly() || D->getSetterKind() != ObjCPropertyDecl::Copy) in checkCopyMutable()
H A DCheckObjCDealloc.cpp664 if (PropDecl->isReadOnly()) in diagnoseExtraRelease()
679 !PropDecl->isReadOnly()) || in diagnoseExtraRelease()
809 if (PropDecl->isReadOnly()) in findShadowedPropertyDecl()
826 assert(ShadowedPropDecl->isReadOnly()); in findShadowedPropertyDecl()
914 if (PropDecl->isReadOnly()) in getDeallocReleaseRequirement()
/llvm-project-15.0.7/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
/llvm-project-15.0.7/llvm/lib/Target/AVR/
H A DAVRTargetObjectFile.cpp44 Kind.isReadOnly()) { in SelectSectionForGlobal()
/llvm-project-15.0.7/llvm/lib/MC/
H A DMCSectionXCOFF.cpp38 if (getKind().isReadOnly()) { in printSwitchToSection()
/llvm-project-15.0.7/llvm/include/llvm/ExecutionEngine/
H A DSectionMemoryManager.h128 bool isReadOnly) override;
/llvm-project-15.0.7/llvm/lib/Target/
H A DTargetLoweringObjectFile.cpp332 (Attrs.hasAttribute("rodata-section") && Kind.isReadOnly())) { in SectionForGlobal()
383 if (Kind.isReadOnly() && ReadOnlySection != nullptr) in getSectionForConstant()
/llvm-project-15.0.7/llvm/lib/CodeGen/
H A DTargetLoweringObjectFileImpl.cpp601 if (Kind.isReadOnly()) in getSectionPrefixForGlobal()
758 } else if (Attrs.hasAttribute("rodata-section") && Kind.isReadOnly()) { in selectExplicitSectionGlobal()
993 if (Kind.isReadOnly()) in getSectionForConstant()
1307 if (Kind.isReadOnly()) in SelectSectionForGlobal()
1341 if (Kind.isReadOnly()) in SelectSectionForGlobal()
1561 else if (K.isReadOnly() || K.isReadOnlyWithRel()) in getCOFFSectionFlags()
1650 if (Kind.isReadOnly() || Kind.isReadOnlyWithRel()) in getCOFFSectionNameForUniqueGlobal()
1714 if (Kind.isReadOnly() || Kind.isReadOnlyWithRel()) in SelectSectionForGlobal()
2293 else if (Kind.isReadOnly()) in getExplicitSectionGlobal()
2391 if (Kind.isReadOnly()) { in SelectSectionForGlobal()
/llvm-project-15.0.7/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()
2133 if (!Prop->isReadOnly()) in DiagnoseUnimplementedProperties()
2430 if (!property->isReadOnly() && !SetterMethod) { in ProcessPropertyDecl()
2446 if (!property->isReadOnly() && SetterMethod) { in ProcessPropertyDecl()
2529 if (!property->isReadOnly()) { in ProcessPropertyDecl()
/llvm-project-15.0.7/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()
/llvm-project-15.0.7/clang/lib/CodeGen/
H A DCGOpenCLRuntime.cpp78 if (T->isReadOnly()) in getPipeType()
/llvm-project-15.0.7/polly/include/polly/Support/
H A DVirtualInstruction.h133 bool isReadOnly() const { return Kind == ReadOnly; } in isReadOnly() function
/llvm-project-15.0.7/llvm/lib/Transforms/Utils/
H A DFunctionImportUtils.cpp250 (ImportIndex.isReadOnly(GVS) || ImportIndex.isWriteOnly(GVS))) { in processGlobalForThinLTO()
/llvm-project-15.0.7/clang/include/clang/AST/
H A DTypeProperties.td902 def : Property<"isReadOnly", Bool> {
903 let Read = [{ node->isReadOnly() }];
907 return ctx.getPipeType(elementType, isReadOnly);
/llvm-project-15.0.7/bolt/include/bolt/Core/
H A DBinarySection.h247 bool isReadOnly() const { in isReadOnly() function
/llvm-project-15.0.7/llvm/include/llvm/IR/
H A DModuleSummaryIndex.h196 bool isReadOnly() const { in isReadOnly() function
1289 bool isReadOnly(const GlobalVarSummary *GVS) const {

123