/external/llvm-project/llvm/unittests/IR/ |
D | DataLayoutTest.cpp | 74 EXPECT_EQ(DefaultGlobal1->getAddressSpace(), 0u); in TEST() 78 EXPECT_EQ(ExplicitGlobal1->getAddressSpace(), 123u); in TEST() 85 EXPECT_EQ(DefaultGlobal2->getAddressSpace(), 200u); in TEST() 89 EXPECT_EQ(ExplicitGlobal2->getAddressSpace(), 123u); in TEST()
|
/external/clang/lib/CodeGen/ |
D | Address.h | 57 unsigned getAddressSpace() const { in getAddressSpace() function 58 return getType()->getAddressSpace(); in getAddressSpace() 94 return getBitCast(ty->getPointerTo(getAddressSpace())); in getElementBitCast()
|
/external/llvm-project/clang/lib/CodeGen/ |
D | Address.h | 56 unsigned getAddressSpace() const { in getAddressSpace() function 57 return getType()->getAddressSpace(); in getAddressSpace() 93 return getBitCast(ty->getPointerTo(getAddressSpace())); in getElementBitCast()
|
/external/llvm-project/llvm/lib/CodeGen/ |
D | BuiltinGCs.cpp | 83 return (1 == PT->getAddressSpace()); in isGCManagedPointer() 111 return (1 == PT->getAddressSpace()); in isGCManagedPointer()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/ |
D | BuiltinGCs.cpp | 83 return (1 == PT->getAddressSpace()); in isGCManagedPointer() 111 return (1 == PT->getAddressSpace()); in isGCManagedPointer()
|
/external/llvm/lib/CodeGen/ |
D | BuiltinGCs.cpp | 88 return (1 == PT->getAddressSpace()); in isGCManagedPointer() 117 return (1 == PT->getAddressSpace()); in isGCManagedPointer()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/ |
D | CloneModule.cpp | 69 I->getType()->getAddressSpace()); in CloneModule() 78 I.getAddressSpace(), I.getName(), New.get()); in CloneModule() 95 I->getAddressSpace(), I->getName(), New.get()); in CloneModule() 100 I->getThreadLocalMode(), I->getType()->getAddressSpace()); in CloneModule()
|
D | LowerMemIntrinsics.cpp | 46 unsigned SrcAS = cast<PointerType>(SrcAddr->getType())->getAddressSpace(); in createMemCpyLoopKnownSize() 47 unsigned DstAS = cast<PointerType>(DstAddr->getType())->getAddressSpace(); in createMemCpyLoopKnownSize() 154 unsigned SrcAS = cast<PointerType>(SrcAddr->getType())->getAddressSpace(); in createMemCpyLoopUnknownSize() 155 unsigned DstAS = cast<PointerType>(DstAddr->getType())->getAddressSpace(); in createMemCpyLoopUnknownSize() 382 unsigned dstAS = cast<PointerType>(DstAddr->getType())->getAddressSpace(); in createMemSetLoop()
|
/external/llvm-project/llvm/lib/Transforms/Utils/ |
D | CloneModule.cpp | 69 I->getType()->getAddressSpace()); in CloneModule() 78 I.getAddressSpace(), I.getName(), New.get()); in CloneModule() 95 I->getAddressSpace(), I->getName(), New.get()); in CloneModule() 100 I->getThreadLocalMode(), I->getType()->getAddressSpace()); in CloneModule()
|
D | LowerMemIntrinsics.cpp | 32 unsigned SrcAS = cast<PointerType>(SrcAddr->getType())->getAddressSpace(); in createMemCpyLoopKnownSize() 33 unsigned DstAS = cast<PointerType>(DstAddr->getType())->getAddressSpace(); in createMemCpyLoopKnownSize() 146 unsigned SrcAS = cast<PointerType>(SrcAddr->getType())->getAddressSpace(); in createMemCpyLoopUnknownSize() 147 unsigned DstAS = cast<PointerType>(DstAddr->getType())->getAddressSpace(); in createMemCpyLoopUnknownSize() 393 unsigned dstAS = cast<PointerType>(DstAddr->getType())->getAddressSpace(); in createMemSetLoop()
|
/external/llvm/lib/Target/AMDGPU/Utils/ |
D | AMDGPUBaseInfo.cpp | 101 return GV->getType()->getAddressSpace() == AMDGPUAS::LOCAL_ADDRESS; in isGroupSegment() 105 return GV->getType()->getAddressSpace() == AMDGPUAS::GLOBAL_ADDRESS; in isGlobalSegment() 109 return GV->getType()->getAddressSpace() == AMDGPUAS::CONSTANT_ADDRESS; in isReadOnlySegment()
|
/external/llvm/lib/Target/AMDGPU/ |
D | AMDGPUInstructions.td | 180 return cast<MemSDNode>(N)->getAddressSpace() == AMDGPUAS::PRIVATE_ADDRESS; 198 return cast<MemSDNode>(N)->getAddressSpace() == AMDGPUAS::GLOBAL_ADDRESS; 218 return cast<MemSDNode>(N)->getAddressSpace() == AMDGPUAS::CONSTANT_ADDRESS; 229 return cast<MemSDNode>(N)->getAddressSpace() == AMDGPUAS::LOCAL_ADDRESS; 324 return cast<MemSDNode>(N)->getAddressSpace() == AMDGPUAS::LOCAL_ADDRESS; 342 return cast<MemSDNode>(N)->getAddressSpace() == AMDGPUAS::GLOBAL_ADDRESS; 352 AN->getAddressSpace() == AMDGPUAS::LOCAL_ADDRESS; 360 AN->getAddressSpace() == AMDGPUAS::LOCAL_ADDRESS; 368 return cast<MemSDNode>(N)->getAddressSpace() == AMDGPUAS::FLAT_ADDRESS; 374 [{return cast<MemSDNode>(N)->getAddressSpace() == AMDGPUAS::GLOBAL_ADDRESS;}] [all …]
|
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/ |
D | LowLevelTypeImpl.h | 70 ScalarTy.isPointer() ? ScalarTy.getAddressSpace() : 0}; in vector() 157 unsigned getAddressSpace() const { in getAddressSpace() function 170 return pointer(getAddressSpace(), getScalarSizeInBits()); in getElementType()
|
/external/llvm/include/llvm/IR/ |
D | GetElementPtrTypeIterator.h | 102 ->getAddressSpace(), in gep_type_begin() 113 ->getAddressSpace(), in gep_type_begin()
|
/external/llvm-project/llvm/include/llvm/Support/ |
D | LowLevelTypeImpl.h | 71 ScalarTy.isPointer() ? ScalarTy.getAddressSpace() : 0}; in vector() 178 unsigned getAddressSpace() const { in getAddressSpace() function 191 return pointer(getAddressSpace(), getScalarSizeInBits()); in getElementType()
|
/external/llvm/lib/Transforms/IPO/ |
D | ConstantMerge.cpp | 104 GV->getType()->getAddressSpace() != 0 || GV->hasSection() || in mergeConstants() 138 GV->getType()->getAddressSpace() != 0 || GV->hasSection() || in mergeConstants()
|
/external/llvm/lib/Target/NVPTX/ |
D | NVPTXFavorNonGenericAddrSpaces.cpp | 144 return (SrcTy->getAddressSpace() != AddressSpace::ADDRESS_SPACE_GENERIC && in isEliminableAddrSpaceCast() 145 DestTy->getAddressSpace() == AddressSpace::ADDRESS_SPACE_GENERIC); in isEliminableAddrSpaceCast()
|
D | NVPTXLowerAggrCopies.cpp | 76 unsigned SrcAS = cast<PointerType>(SrcAddr->getType())->getAddressSpace(); in convertMemCpyToLoop() 77 unsigned DstAS = cast<PointerType>(DstAddr->getType())->getAddressSpace(); in convertMemCpyToLoop() 220 unsigned dstAS = cast<PointerType>(DstAddr->getType())->getAddressSpace(); in convertMemSetToLoop()
|
/external/llvm/lib/Target/AVR/ |
D | AVR.h | 39 return cast<PointerType>(V->getType())->getAddressSpace() == ProgramMemory; in isProgramMemoryAddress()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AVR/ |
D | AVR.h | 44 return cast<PointerType>(V->getType())->getAddressSpace() == ProgramMemory; in isProgramMemoryAddress()
|
/external/llvm-project/llvm/lib/Target/AVR/ |
D | AVR.h | 44 return cast<PointerType>(V->getType())->getAddressSpace() == ProgramMemory; in isProgramMemoryAddress()
|
/external/llvm-project/llvm/lib/Target/AMDGPU/ |
D | AMDGPUInline.cpp | 133 if (!Ty || (Ty->getAddressSpace() != AMDGPUAS::PRIVATE_ADDRESS && in getInlineThreshold() 134 Ty->getAddressSpace() != AMDGPUAS::FLAT_ADDRESS)) in getInlineThreshold()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/ |
D | AMDGPUInline.cpp | 134 if (!Ty || (Ty->getAddressSpace() != AMDGPUAS::PRIVATE_ADDRESS && in getInlineThreshold() 135 Ty->getAddressSpace() != AMDGPUAS::FLAT_ADDRESS)) in getInlineThreshold()
|
D | AMDGPUPerfHintAnalysis.cpp | 303 unsigned As = PT->getAddressSpace(); in isGlobalAddr() 312 return PT->getAddressSpace() == AMDGPUAS::LOCAL_ADDRESS; in isLocalAddr() 344 unsigned As = PT->getAddressSpace(); in isConstantAddr()
|
/external/llvm/lib/Transforms/Utils/ |
D | CloneModule.cpp | 61 I->getType()->getAddressSpace()); in CloneModule() 91 I->getThreadLocalMode(), I->getType()->getAddressSpace()); in CloneModule()
|