Home
last modified time | relevance | path

Searched refs:getAddressSpace (Results 1 – 25 of 449) sorted by relevance

12345678910>>...18

/external/llvm-project/llvm/unittests/IR/
DDataLayoutTest.cpp74 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/
DAddress.h57 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/
DAddress.h56 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/
DBuiltinGCs.cpp83 return (1 == PT->getAddressSpace()); in isGCManagedPointer()
111 return (1 == PT->getAddressSpace()); in isGCManagedPointer()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DBuiltinGCs.cpp83 return (1 == PT->getAddressSpace()); in isGCManagedPointer()
111 return (1 == PT->getAddressSpace()); in isGCManagedPointer()
/external/llvm/lib/CodeGen/
DBuiltinGCs.cpp88 return (1 == PT->getAddressSpace()); in isGCManagedPointer()
117 return (1 == PT->getAddressSpace()); in isGCManagedPointer()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/
DCloneModule.cpp69 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()
DLowerMemIntrinsics.cpp46 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/
DCloneModule.cpp69 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()
DLowerMemIntrinsics.cpp32 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/
DAMDGPUBaseInfo.cpp101 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/
DAMDGPUInstructions.td180 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/
DLowLevelTypeImpl.h70 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/
DGetElementPtrTypeIterator.h102 ->getAddressSpace(), in gep_type_begin()
113 ->getAddressSpace(), in gep_type_begin()
/external/llvm-project/llvm/include/llvm/Support/
DLowLevelTypeImpl.h71 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/
DConstantMerge.cpp104 GV->getType()->getAddressSpace() != 0 || GV->hasSection() || in mergeConstants()
138 GV->getType()->getAddressSpace() != 0 || GV->hasSection() || in mergeConstants()
/external/llvm/lib/Target/NVPTX/
DNVPTXFavorNonGenericAddrSpaces.cpp144 return (SrcTy->getAddressSpace() != AddressSpace::ADDRESS_SPACE_GENERIC && in isEliminableAddrSpaceCast()
145 DestTy->getAddressSpace() == AddressSpace::ADDRESS_SPACE_GENERIC); in isEliminableAddrSpaceCast()
DNVPTXLowerAggrCopies.cpp76 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/
DAVR.h39 return cast<PointerType>(V->getType())->getAddressSpace() == ProgramMemory; in isProgramMemoryAddress()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AVR/
DAVR.h44 return cast<PointerType>(V->getType())->getAddressSpace() == ProgramMemory; in isProgramMemoryAddress()
/external/llvm-project/llvm/lib/Target/AVR/
DAVR.h44 return cast<PointerType>(V->getType())->getAddressSpace() == ProgramMemory; in isProgramMemoryAddress()
/external/llvm-project/llvm/lib/Target/AMDGPU/
DAMDGPUInline.cpp133 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/
DAMDGPUInline.cpp134 if (!Ty || (Ty->getAddressSpace() != AMDGPUAS::PRIVATE_ADDRESS && in getInlineThreshold()
135 Ty->getAddressSpace() != AMDGPUAS::FLAT_ADDRESS)) in getInlineThreshold()
DAMDGPUPerfHintAnalysis.cpp303 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/
DCloneModule.cpp61 I->getType()->getAddressSpace()); in CloneModule()
91 I->getThreadLocalMode(), I->getType()->getAddressSpace()); in CloneModule()

12345678910>>...18