| /llvm-project-15.0.7/clang/test/CodeGenObjC/ |
| H A D | continuation-class.m | 7 @interface ReadOnly : Object interface 16 @interface ReadOnly () interface in readwrite 21 @implementation ReadOnly implementation 30 ReadOnly *test = [ReadOnly new];
|
| /llvm-project-15.0.7/clang/test/SemaObjC/ |
| H A D | property-category-1.m | 7 @interface ReadOnly : Object interface 16 @interface ReadOnly () interface in readwrite 21 @implementation ReadOnly implementation 31 ReadOnly *test = [ReadOnly new];
|
| H A D | continuation-class-err.m | 3 @interface ReadOnly interface 13 @interface ReadOnly () interface in readwrite 15 … expected-error {{illegal redeclaration of property in class extension 'ReadOnly' (attribute must …
|
| /llvm-project-15.0.7/llvm/unittests/IR/ |
| H A D | AttributesTest.cpp | 83 B_align_readonly.addAttribute(Attribute::ReadOnly); in TEST() 94 EXPECT_TRUE(AS.hasAttribute(Attribute::ReadOnly)); in TEST() 97 EXPECT_TRUE(AS.hasAttribute(Attribute::ReadOnly)); in TEST() 101 EXPECT_TRUE(AS.hasAttribute(Attribute::ReadOnly)); in TEST() 112 EXPECT_TRUE(AL.hasParamAttr(0, Attribute::ReadOnly)); in TEST() 117 EXPECT_TRUE(AL.hasParamAttr(0, Attribute::ReadOnly)); in TEST() 124 EXPECT_TRUE(AL.hasParamAttr(0, Attribute::ReadOnly)); in TEST() 134 EXPECT_TRUE(AL2.hasParamAttr(0, Attribute::ReadOnly)); in TEST() 141 EXPECT_TRUE(AL2.hasParamAttr(0, Attribute::ReadOnly)); in TEST() 173 … { AttributeList::FunctionIndex, Attribute::get(C, Attribute::ReadOnly) } }; in TEST()
|
| /llvm-project-15.0.7/clang-tools-extra/docs/clang-tidy/checks/modernize/ |
| H A D | pass-by-value.rst | 48 - Foo(const std::string &Copied, const std::string &ReadOnly) 49 - : Copied(Copied), ReadOnly(ReadOnly) 50 + Foo(std::string Copied, const std::string &ReadOnly) 51 + : Copied(std::move(Copied)), ReadOnly(ReadOnly) 56 const std::string &ReadOnly;
|
| /llvm-project-15.0.7/llvm/include/llvm/MC/ |
| H A D | SectionKind.h | 40 ReadOnly, enumerator 132 return K == ReadOnly || isMergeableCString() || in isReadOnly() 192 static SectionKind getReadOnly() { return get(ReadOnly); } in getReadOnly()
|
| /llvm-project-15.0.7/llvm/include/llvm/IR/ |
| H A D | ModuleSummaryIndex.h | 168 enum Flags { HaveGV = 1, ReadOnly = 2, WriteOnly = 4 }; enumerator 198 return RefAndFlags.getInt() & ReadOnly; in isReadOnly() 206 return RefAndFlags.getInt() & (ReadOnly | WriteOnly); in getAccessSpecifier() 209 unsigned BadAccessMask = ReadOnly | WriteOnly; in isValidAccessSpecifier() 216 RefAndFlags.setInt(RefAndFlags.getInt() | ReadOnly); in setReadOnly() 566 unsigned ReadOnly : 1; 592 this->ReadOnly &= RHS.ReadOnly; 605 return this->ReadNone | this->ReadOnly | this->NoRecurse | 616 OS << ", readOnly: " << this->ReadOnly; 901 GVarFlags(bool ReadOnly, bool WriteOnly, bool Constant, [all …]
|
| H A D | IntrinsicsWebAssembly.td | 126 [IntrInaccessibleMemOrArgMemOnly, ReadOnly<ArgIndex<0>>, 132 [IntrInaccessibleMemOrArgMemOnly, ReadOnly<ArgIndex<0>>,
|
| H A D | Intrinsics.td | 103 // ReadOnly - The specified argument pointer is not written to through the 105 class ReadOnly<AttrIndex idx> : IntrinsicProperty { 564 ReadOnly<ArgIndex<0>>, NoCapture<ArgIndex<0>>, 638 WriteOnly<ArgIndex<0>>, ReadOnly<ArgIndex<1>>, 1302 ReadOnly<ArgIndex<1>>, 1328 [IntrArgMemOnly, ReadOnly<ArgIndex<0>>, 1338 ReadOnly<ArgIndex<0>>, 1791 ReadOnly<ArgIndex<0>>]>; 1796 ReadOnly<ArgIndex<1>>]>; 1808 WriteOnly<ArgIndex<0>>, ReadOnly<ArgIndex<1>>, [all …]
|
| /llvm-project-15.0.7/polly/lib/Support/ |
| H A D | VirtualInstruction.cpp | 91 return VirtualUse(UserStmt, Val, ReadOnly, nullptr, InputMA); in create() 95 return VirtualUse(UserStmt, Val, ReadOnly, nullptr, InputMA); in create() 121 case VirtualUse::ReadOnly: in print() 298 case VirtualUse::ReadOnly: in walkReachable()
|
| /llvm-project-15.0.7/llvm/test/DebugInfo/ |
| H A D | dwarfdump-accel.test | 11 CHECK: DW_AT_name{{.*}}"-[TestInterface ReadOnly]" 36 CHECK: String:{{.*}}"-[TestInterface ReadOnly]"
|
| H A D | dwarfdump-objc.test | 7 CHECK: DW_AT_APPLE_property_name {{.*}} "ReadOnly"
|
| /llvm-project-15.0.7/clang/test/SemaCXX/ |
| H A D | bool.cpp | 8 ReadOnly = true enumerator
|
| /llvm-project-15.0.7/llvm/test/DebugInfo/Inputs/ |
| H A D | dwarfdump-objc.m | 7 @property (readonly) int ReadOnly; property
|
| /llvm-project-15.0.7/polly/include/polly/Support/ |
| H A D | VirtualInstruction.h | 55 ReadOnly, enumerator 133 bool isReadOnly() const { return Kind == ReadOnly; } in isReadOnly()
|
| /llvm-project-15.0.7/llvm/lib/Target/SPIRV/ |
| H A D | SPIRVCallLowering.cpp | 58 if (F.hasFnAttribute(Attribute::AttrKind::ReadOnly)) { in getFunctionControl() 140 AQ = SPIRV::AccessQualifier::ReadOnly; in lowerFormalArguments() 161 if (Arg.hasAttribute(Attribute::ReadOnly)) { in lowerFormalArguments()
|
| /llvm-project-15.0.7/llvm/test/CodeGen/AMDGPU/ |
| H A D | hsa-metadata-deduce-ro-arg.ll | 12 ; CHECK-NEXT: AccQual: ReadOnly
|
| /llvm-project-15.0.7/llvm/unittests/Support/ |
| H A D | Path.cpp | 2148 EXPECT_TRUE(CheckPermissions(ReadOnly)); in TEST_F() 2151 EXPECT_TRUE(CheckPermissions(ReadOnly)); in TEST_F() 2157 EXPECT_TRUE(CheckPermissions(ReadOnly)); in TEST_F() 2163 EXPECT_TRUE(CheckPermissions(ReadOnly)); in TEST_F() 2169 EXPECT_TRUE(CheckPermissions(ReadOnly)); in TEST_F() 2175 EXPECT_TRUE(CheckPermissions(ReadOnly)); in TEST_F() 2181 EXPECT_TRUE(CheckPermissions(ReadOnly)); in TEST_F() 2187 EXPECT_TRUE(CheckPermissions(ReadOnly)); in TEST_F() 2193 EXPECT_TRUE(CheckPermissions(ReadOnly)); in TEST_F() 2196 EXPECT_TRUE(CheckPermissions(ReadOnly)); in TEST_F() [all …]
|
| /llvm-project-15.0.7/llvm/lib/Target/Hexagon/MCTargetDesc/ |
| H A D | HexagonMCChecker.cpp | 41 ReadOnly.insert(Hexagon::PC); in init() 42 ReadOnly.insert(Hexagon::C9_8); in init() 542 if (ReadOnly.find(Register) != ReadOnly.end()) { in checkRegistersReadOnly()
|
| H A D | HexagonMCChecker.h | 73 std::set<unsigned> ReadOnly; variable
|
| /llvm-project-15.0.7/llvm/lib/Transforms/IPO/ |
| H A D | FunctionAttrs.cpp | 326 AttrsToRemove.addAttribute(Attribute::ReadOnly); in addMemoryAttrs() 342 F->addFnAttr(ReadsMemory ? Attribute::ReadOnly : Attribute::ReadNone); in addMemoryAttrs() 791 return Attribute::ReadOnly; in determinePointerAccessAttrs() 889 assert((R == Attribute::ReadOnly || R == Attribute::ReadNone || in addAccessAttr() 901 A->removeAttr(Attribute::ReadOnly); in addAccessAttr() 904 if (R == Attribute::ReadOnly) in addAccessAttr()
|
| /llvm-project-15.0.7/llvm/utils/TableGen/ |
| H A D | CodeGenIntrinsics.h | 158 ReadOnly, enumerator
|
| /llvm-project-15.0.7/clang/lib/CodeGen/ |
| H A D | CGStmt.cpp | 2260 bool HasUnwindClobber, bool ReadOnly, in UpdateAsmCallInst() argument 2275 else if (ReadOnly) in UpdateAsmCallInst() 2276 Result.addFnAttr(llvm::Attribute::ReadOnly); in UpdateAsmCallInst() 2381 bool ReadOnly = true, ReadNone = true; in EmitAsmStmt() local 2487 ReadOnly = ReadNone = false; in EmitAsmStmt() 2640 ReadOnly = ReadNone = false; in EmitAsmStmt() 2718 ReadOnly, ReadNone, InNoMergeAttributedStmt, S, in EmitAsmStmt() 2722 UpdateAsmCallInst(*Result, HasSideEffect, true, ReadOnly, ReadNone, in EmitAsmStmt() 2729 ReadOnly, ReadNone, InNoMergeAttributedStmt, S, in EmitAsmStmt()
|
| /llvm-project-15.0.7/llvm/test/ThinLTO/X86/ |
| H A D | index-const-prop-cache.ll | 1 ; Check that we correctly handle 'ReadOnly' attribute when computing cache key
|
| /llvm-project-15.0.7/llvm/lib/Target/AMDGPU/ |
| H A D | AMDGPUAliasAnalysis.cpp | 172 F->hasParamAttribute(ArgNo, Attribute::ReadOnly))) { in pointsToConstantMemory()
|