Home
last modified time | relevance | path

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

123

/freebsd/contrib/llvm-project/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()
/freebsd/contrib/llvm-project/llvm/lib/Target/Mips/
H A DMipsTargetObjectFile.cpp86 Kind.isReadOnly()); in IsGlobalInSmallSection()
158 if (Kind.isReadOnly() && IsGlobalInSmallSection(GO, TM, Kind)) in SelectSectionForGlobal()
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUTargetObjectFile.cpp22 if (Kind.isReadOnly() && AMDGPU::isReadOnlySegment(GO) && in SelectSectionForGlobal()
/freebsd/contrib/llvm-project/llvm/lib/Target/PowerPC/
H A DPPCTargetObjectFile.cpp39 if (Kind.isReadOnly()) { in SelectSectionForGlobal()
/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DModuleSummaryIndex.cpp86 for (; I >= 0 && Refs[I].isReadOnly(); --I) in specialRefCounts()
224 if (!VI.isReadOnly()) in propagateAttributesToRefs()
354 !isReadOnly(GVS) && !isWriteOnly(GVS) && GVS->refs().size(); in canImportGlobalVar()
681 R.isWriteOnly() ? -1 : (R.isReadOnly() ? -2 : -3)); in exportToDot()
/freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/
H A DExecutionEngineBindings.cpp345 bool isReadOnly) override;
381 StringRef SectionName, bool isReadOnly) { in allocateDataSection() argument
384 isReadOnly); in allocateDataSection()
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DCheckObjCDealloc.cpp672 if (PropDecl->isReadOnly()) in diagnoseExtraRelease()
687 !PropDecl->isReadOnly()) || in diagnoseExtraRelease()
800 if (PropDecl->isReadOnly()) in findShadowedPropertyDecl()
817 assert(ShadowedPropDecl->isReadOnly()); in findShadowedPropertyDecl()
905 if (PropDecl->isReadOnly()) in getDeallocReleaseRequirement()
/freebsd/contrib/llvm-project/llvm/include/llvm/MC/
H A DMCSectionWasm.h56 IsWasmData(K.isReadOnly() || K.isWriteable()), in MCSectionWasm()
H A DSectionKind.h131 bool isReadOnly() const { in isReadOnly() function
/freebsd/contrib/llvm-project/llvm/lib/Target/AVR/
H A DAVRTargetObjectFile.cpp43 Kind.isReadOnly()) { in SelectSectionForGlobal()
/freebsd/contrib/llvm-project/llvm/lib/MC/
H A DMCSectionXCOFF.cpp37 if (getKind().isReadOnly()) { in printSwitchToSection()
/freebsd/contrib/llvm-project/llvm/include/llvm/ExecutionEngine/
H A DSectionMemoryManager.h129 bool isReadOnly) override;
/freebsd/contrib/llvm-project/llvm/lib/Target/SystemZ/
H A DSystemZSubtarget.cpp102 if (!GOKind.isReadOnly()) { in isAddressedViaADA()
/freebsd/contrib/llvm-project/llvm/lib/Target/
H A DTargetLoweringObjectFile.cpp359 (Attrs.hasAttribute("rodata-section") && Kind.isReadOnly())) { in SectionForGlobal()
411 if (Kind.isReadOnly() && ReadOnlySection != nullptr) in getSectionForConstant()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DTargetLoweringObjectFileImpl.cpp617 if (Kind.isReadOnly()) in getSectionPrefixForGlobal()
809 else if (Attrs.hasAttribute("rodata-section") && Kind.isReadOnly()) in handlePragmaClangSection()
1047 if (Kind.isReadOnly()) in getSectionForConstant()
1079 if (Kind.isReadOnly()) in getSectionForConstant()
1416 if (Kind.isReadOnly()) in SelectSectionForGlobal()
1450 if (Kind.isReadOnly()) in SelectSectionForGlobal()
1673 else if (K.isReadOnly() || K.isReadOnlyWithRel()) in getCOFFSectionFlags()
1771 if (Kind.isReadOnly() || Kind.isReadOnlyWithRel()) in getCOFFSectionNameForUniqueGlobal()
1835 if (Kind.isReadOnly() || Kind.isReadOnlyWithRel()) in SelectSectionForGlobal()
2439 else if (Kind.isReadOnly()) in getExplicitSectionGlobal()
[all …]
H A DStaticDataSplitter.cpp219 return Kind.isData() || Kind.isReadOnly() || Kind.isReadOnlyWithRel() || in inStaticDataSection()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaObjCProperty.cpp445 if (!(PIDecl->isReadOnly() && isReadWrite)) { in HandlePropertyInClassExtension()
854 if (Property->isReadOnly() && !Prop.value()->isReadOnly()) { in SelectPropertyForSynthesisFromProtocols()
924 if (!Property->isReadOnly() && !Prop->isReadOnly() && in SelectPropertyForSynthesisFromProtocols()
1009 if (Prop->isReadOnly()) return false; in hasWrittenStorageAttribute()
1665 !(SuperProperty->isReadOnly() && in DiagnosePropertyMismatch()
2120 if (!Prop->isReadOnly()) in DiagnoseUnimplementedProperties()
2418 if (!property->isReadOnly() && !SetterMethod) { in ProcessPropertyDecl()
2434 if (!property->isReadOnly() && SetterMethod) { in ProcessPropertyDecl()
2518 if (!property->isReadOnly()) { in ProcessPropertyDecl()
H A DSemaOpenCL.cpp386 if (!(!AccessQual || AccessQual->isReadOnly())) { in checkPipeArg()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGOpenCLRuntime.cpp56 if (T->isReadOnly()) in getPipeType()
/freebsd/contrib/llvm-project/llvm/lib/Target/ARM/
H A DARMInstructionSelector.cpp714 bool isReadOnly = STI.getTargetLowering()->isReadOnly(GV); in selectGlobal() local
715 if (STI.isROPI() && isReadOnly) { in selectGlobal()
720 if (STI.isRWPI() && !isReadOnly) { in selectGlobal()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DFunctionImportUtils.cpp288 (ImportIndex.isReadOnly(GVS) || ImportIndex.isWriteOnly(GVS))) { in processGlobalForThinLTO()
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/WebKit/
H A DRawPtrRefMemberChecker.cpp233 !PD->isReadOnly() && PD->getSetterKind() == ObjCPropertyDecl::Assign; in isPropImplUnsafePtr()
/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DTypeProperties.td998 def : Property<"isReadOnly", Bool> {
999 let Read = [{ node->isReadOnly() }];
1003 return ctx.getPipeType(elementType, isReadOnly);
/freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/Orc/
H A DOrcV2CBindings.cpp1098 bool isReadOnly) override { in LLVMOrcCreateRTDyldObjectLinkingLayerWithMCJITMemoryManagerLikeCallbacks() argument
1100 SectionName.str().c_str(), isReadOnly); in LLVMOrcCreateRTDyldObjectLinkingLayerWithMCJITMemoryManagerLikeCallbacks()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/Targets/
H A DSPIR.cpp355 {!PipeTy->isReadOnly()}); in getOpenCLType()

123