Home
last modified time | relevance | path

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

1234567

/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/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/CodeGen/
DBuiltinGCs.cpp88 return (1 == PT->getAddressSpace()); in isGCManagedPointer()
117 return (1 == PT->getAddressSpace()); in isGCManagedPointer()
/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/spirv-llvm/lib/SPIRV/Mangler/
DParameterType.cpp72 TypeAttributeEnum PointerType::getAddressSpace() const { in getAddressSpace() function in SPIR::PointerType
108 if (getAddressSpace() != p->getAddressSpace()) { in equals()
/external/llvm/include/llvm/IR/
DGetElementPtrTypeIterator.h102 ->getAddressSpace(), in gep_type_begin()
113 ->getAddressSpace(), in gep_type_begin()
DIntrinsicInst.h167 return cast<PointerType>(getRawDest()->getType())->getAddressSpace(); in getDestAddressSpace()
252 return cast<PointerType>(getRawSource()->getType())->getAddressSpace(); in getSourceAddressSpace()
DDerivedTypes.h466 inline unsigned getAddressSpace() const { return getSubclassData(); } in getAddressSpace() function
475 return cast<PointerType>(getScalarType())->getAddressSpace(); in getPointerAddressSpace()
/external/swiftshader/third_party/LLVM/lib/Transforms/InstCombine/
DInstCombineLoadStoreAlloca.cpp99 if (DestTy->getAddressSpace() != SrcTy->getAddressSpace()) in InstCombineLoadCast()
297 SrcTy = PointerType::get(SrcPTy, SrcTy->getAddressSpace()); in InstCombineStoreToCast()
306 SrcTy->getAddressSpace() != in InstCombineStoreToCast()
307 cast<PointerType>(CI->getType())->getAddressSpace() || in InstCombineStoreToCast()
/external/swiftshader/third_party/LLVM/lib/Target/PTX/
DPTXInstrLoadStore.td29 return PT->getAddressSpace() == PTXStateSpace::Global;
38 return PT->getAddressSpace() == PTXStateSpace::Constant;
47 return PT->getAddressSpace() == PTXStateSpace::Shared;
57 return PT->getAddressSpace() == PTXStateSpace::Global;
67 return PT->getAddressSpace() == PTXStateSpace::Shared;
/external/swiftshader/third_party/LLVM/lib/Transforms/IPO/
DConstantMerge.cpp138 GV->getType()->getAddressSpace() != 0 || GV->hasSection() || in runOnModule()
167 GV->getType()->getAddressSpace() != 0 || GV->hasSection() || in runOnModule()
/external/llvm/lib/Transforms/IPO/
DConstantMerge.cpp104 GV->getType()->getAddressSpace() != 0 || GV->hasSection() || in mergeConstants()
138 GV->getType()->getAddressSpace() != 0 || GV->hasSection() || in mergeConstants()
DMergeFunctions.cpp649 unsigned AddrSpaceL = PTyL->getAddressSpace(); in cmpConstants()
650 unsigned AddrSpaceR = PTyR->getAddressSpace(); in cmpConstants()
816 if (PTyL && PTyL->getAddressSpace() == 0) in cmpTypes()
818 if (PTyR && PTyR->getAddressSpace() == 0) in cmpTypes()
854 return cmpNumbers(PTyL->getAddressSpace(), PTyR->getAddressSpace()); in cmpTypes()
/external/llvm/lib/Target/NVPTX/
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()
DNVPTXFavorNonGenericAddrSpaces.cpp144 return (SrcTy->getAddressSpace() != AddressSpace::ADDRESS_SPACE_GENERIC && in isEliminableAddrSpaceCast()
145 DestTy->getAddressSpace() == AddressSpace::ADDRESS_SPACE_GENERIC); in isEliminableAddrSpaceCast()
DNVPTXAsmPrinter.cpp685 if (Pty->getAddressSpace() != llvm::ADDRESS_SPACE_SHARED) in canDemoteGlobalVar()
1176 emitPTXAddressSpace(PTy->getAddressSpace(), O); in printModuleLevelGV()
1200 if ((PTy->getAddressSpace() == llvm::ADDRESS_SPACE_GLOBAL) || in printModuleLevelGV()
1201 (PTy->getAddressSpace() == llvm::ADDRESS_SPACE_CONST)) { in printModuleLevelGV()
1216 Twine(PTy->getAddressSpace()) + ")"); in printModuleLevelGV()
1234 if (((PTy->getAddressSpace() == llvm::ADDRESS_SPACE_GLOBAL) || in printModuleLevelGV()
1235 (PTy->getAddressSpace() == llvm::ADDRESS_SPACE_CONST)) && in printModuleLevelGV()
1371 emitPTXAddressSpace(GVar->getType()->getAddressSpace(), O); in emitPTXGlobalVariable()
1529 int addrSpace = PTy->getAddressSpace(); in emitFunctionParamList()
1747 if (GVar->getType()->getAddressSpace() != 0) { in printScalarConstant()
[all …]
DNVPTXGenericToNVVM.cpp85 if (GV->getType()->getAddressSpace() == llvm::ADDRESS_SPACE_GENERIC && in runOnModule()
179 unsigned int AddrSpace = GVType->getAddressSpace(); in getOrInsertCVTA()
/external/llvm/lib/Transforms/Utils/
DCloneModule.cpp61 I->getType()->getAddressSpace()); in CloneModule()
91 I->getThreadLocalMode(), I->getType()->getAddressSpace()); in CloneModule()
/external/llvm/lib/Target/AVR/
DAVR.h39 return cast<PointerType>(V->getType())->getAddressSpace() == ProgramMemory; in isProgramMemoryAddress()
/external/swiftshader/third_party/LLVM/include/llvm/
DIntrinsicInst.h143 return cast<PointerType>(getRawDest()->getType())->getAddressSpace(); in getDestAddressSpace()
231 return cast<PointerType>(getRawSource()->getType())->getAddressSpace(); in getSourceAddressSpace()
/external/swiftshader/third_party/LLVM/lib/Linker/
DLinkModules.cpp138 if (PT->getAddressSpace() != cast<PointerType>(SrcTy)->getAddressSpace()) in areTypesIsomorphic()
264 cast<PointerType>(Ty)->getAddressSpace()); in getImpl()
590 DstGV->getType()->getAddressSpace()); in linkAppendingVarProto()
661 SGV->getType()->getAddressSpace()); in linkGlobalProto()
/external/clang/include/clang/AST/
DType.h198 if (L.getAddressSpace() == R.getAddressSpace()) {
199 Q.setAddressSpace(L.getAddressSpace());
334 unsigned getAddressSpace() const { return Mask >> AddressSpaceShift; }
388 addAddressSpace(Q.getAddressSpace());
408 if (getAddressSpace() == Q.getAddressSpace())
416 assert(getAddressSpace() == qs.getAddressSpace() ||
435 getAddressSpace() == other.getAddressSpace() ||
438 (getAddressSpace() == LangAS::opencl_generic &&
439 other.getAddressSpace() != LangAS::opencl_constant);
993 inline unsigned getAddressSpace() const;
[all …]
/external/llvm/lib/Linker/
DIRMover.cpp161 if (PT->getAddressSpace() != cast<PointerType>(SrcTy)->getAddressSpace()) in areTypesIsomorphic()
300 cast<PointerType>(Ty)->getAddressSpace()); in get()
591 SGVar->getType()->getAddressSpace()); in copyGlobalVariableProto()
631 SGV->getType()->getAddressSpace()); in copyGlobalValueProto()
827 SrcGV->getType()->getAddressSpace()); in linkAppendingVarProto()
/external/swiftshader/third_party/LLVM/lib/Analysis/
DCaptureTracking.cpp135 if (CPN->getType()->getAddressSpace() == 0) in PointerMayBeCaptured()
/external/swiftshader/third_party/llvm-subzero/include/llvm/IR/
DDerivedTypes.h471 inline unsigned getAddressSpace() const { return getSubclassData(); } in getAddressSpace() function
480 return cast<PointerType>(getScalarType())->getAddressSpace(); in getPointerAddressSpace()

1234567