/external/llvm-project/lld/unittests/MachOTests/ |
D | MachONormalizedFileYAMLTests.cpp | 294 const Relocation& reloc1 = sect1.relocations[0]; in TEST() local 295 EXPECT_EQ(reloc1.offset, 0x0eU); in TEST() 296 EXPECT_FALSE(reloc1.scattered); in TEST() 297 EXPECT_EQ((int)reloc1.type, (int)llvm::MachO::X86_64_RELOC_BRANCH); in TEST() 298 EXPECT_EQ(reloc1.length, 2); in TEST() 299 EXPECT_TRUE(reloc1.pcRel); in TEST() 300 EXPECT_TRUE(reloc1.isExtern); in TEST() 301 EXPECT_EQ(reloc1.symbol, 2U); in TEST() 302 EXPECT_EQ((int)(reloc1.value), 0); in TEST() 424 const Relocation& reloc1 = sect1.relocations[0]; in TEST() local [all …]
|
/external/igt-gpu-tools/tests/i915/ |
D | gem_exec_flush.c | 121 struct drm_i915_gem_relocation_entry reloc1[1024]; in run() local 216 memset(reloc1, 0, sizeof(reloc1)); in run() 221 reloc1[i].presumed_offset = obj[0].offset; in run() 222 reloc1[i].offset = (b - ptr + 1) * sizeof(*ptr); in run() 223 reloc1[i].delta = i * sizeof(uint32_t); in run() 224 reloc1[i].read_domains = I915_GEM_DOMAIN_INSTRUCTION; in run() 225 reloc1[i].write_domain = I915_GEM_DOMAIN_INSTRUCTION; in run() 227 offset = obj[0].offset + reloc1[i].delta; in run() 235 reloc1[i].offset += sizeof(*ptr); in run() 252 obj[2].relocs_ptr = to_user_pointer(&reloc1[i]); in run() [all …]
|
/external/llvm-project/llvm/test/CodeGen/X86/ |
D | statepoint-stackmap-size.ll | 15 …%reloc1 = call i32 addrspace(1)* @llvm.experimental.gc.relocate.p1i32(token %safepoint_token, i32… 17 %cmp1 = icmp eq i32 addrspace(1)* %reloc1, null
|
D | statepoint-vreg.ll | 628 …%reloc1 = call coldcc i8 addrspace(1)* @llvm.experimental.gc.relocate.p1i8(token %token0, i32 0, i… 631 …* nonnull @consume1, i32 1, i32 0, i32 undef, i32 0, i32 0) [ "gc-live"(i8 addrspace(1)* %reloc1) ] 632 …addrspace(1)* @llvm.experimental.gc.relocate.p1i8(token %token1, i32 0, i32 0) ; (%reloc1, %reloc1) 633 …addrspace(1)* @llvm.experimental.gc.relocate.p1i8(token %token1, i32 0, i32 0) ; (%reloc1, %reloc1)
|
/external/llvm-project/llvm/test/Transforms/EarlyCSE/ |
D | gc_relocate.ll | 49 …%in1.reloc1 = call i32 addrspace(1)* @llvm.experimental.gc.relocate.p1i32(token %safepoint_token, … 50 …%in2.reloc1 = call i32 addrspace(1)* @llvm.experimental.gc.relocate.p1i32(token %safepoint_token, … 51 …2 0, i32 0, i32 0, i32 0) ["gc-live"(i32 addrspace(1)* %in1.reloc1, i32 addrspace(1)* %in2.reloc1)]
|
/external/llvm-project/lld/lib/ReaderWriter/MachO/ |
D | ArchHandler_arm64.cpp | 147 getPairReferenceInfo(const normalized::Relocation &reloc1, 473 const normalized::Relocation &reloc1, const normalized::Relocation &reloc2, in getPairReferenceInfo() argument 479 switch (relocPattern(reloc1) << 16 | relocPattern(reloc2)) { in getPairReferenceInfo() 486 *addend = reloc1.symbol; in getPairReferenceInfo() 494 *addend = reloc1.symbol; in getPairReferenceInfo() 503 *addend = reloc1.symbol; in getPairReferenceInfo() 520 if (reloc1.offset != reloc2.offset) in getPairReferenceInfo()
|
D | ArchHandler_arm.cpp | 92 getPairReferenceInfo(const normalized::Relocation &reloc1, 636 ArchHandler_arm::getPairReferenceInfo(const normalized::Relocation &reloc1, in getPairReferenceInfo() argument 651 switch(relocPattern(reloc1) << 16 | relocPattern(reloc2)) { in getPairReferenceInfo() 801 toAddress = reloc1.value; in getPairReferenceInfo() 814 toAddress = reloc1.value; in getPairReferenceInfo() 883 if (reloc1.isExtern) { in getPairReferenceInfo() 884 if (auto ec = atomFromSymbolIndex(reloc1.symbol, target)) in getPairReferenceInfo() 888 if (reloc1.scattered) { in getPairReferenceInfo() 889 toAddress = reloc1.value; in getPairReferenceInfo() 893 sectIndex = reloc1.symbol; in getPairReferenceInfo()
|
D | ArchHandler_x86.cpp | 98 getPairReferenceInfo(const normalized::Relocation &reloc1, 348 ArchHandler_x86::getPairReferenceInfo(const normalized::Relocation &reloc1, in getPairReferenceInfo() argument 367 switch (relocPattern(reloc1) << 16 | relocPattern(reloc2)) { in getPairReferenceInfo() 372 toAddress = reloc1.value; in getPairReferenceInfo()
|
D | ArchHandler_x86_64.cpp | 155 getPairReferenceInfo(const normalized::Relocation &reloc1, 473 ArchHandler_x86_64::getPairReferenceInfo(const normalized::Relocation &reloc1, in getPairReferenceInfo() argument 487 if (auto ec = atomFromSymbolIndex(reloc1.symbol, &fromTarget)) in getPairReferenceInfo() 490 switch(relocPattern(reloc1) << 16 | relocPattern(reloc2)) { in getPairReferenceInfo()
|
D | ArchHandler.h | 152 getPairReferenceInfo(const normalized::Relocation &reloc1,
|