/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/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/CodeGen/ |
D | BuiltinGCs.cpp | 88 return (1 == PT->getAddressSpace()); in isGCManagedPointer() 117 return (1 == PT->getAddressSpace()); in isGCManagedPointer()
|
/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/spirv-llvm/lib/SPIRV/Mangler/ |
D | ParameterType.cpp | 72 TypeAttributeEnum PointerType::getAddressSpace() const { in getAddressSpace() function in SPIR::PointerType 108 if (getAddressSpace() != p->getAddressSpace()) { in equals()
|
/external/llvm/include/llvm/IR/ |
D | GetElementPtrTypeIterator.h | 102 ->getAddressSpace(), in gep_type_begin() 113 ->getAddressSpace(), in gep_type_begin()
|
D | IntrinsicInst.h | 167 return cast<PointerType>(getRawDest()->getType())->getAddressSpace(); in getDestAddressSpace() 252 return cast<PointerType>(getRawSource()->getType())->getAddressSpace(); in getSourceAddressSpace()
|
D | DerivedTypes.h | 466 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/ |
D | InstCombineLoadStoreAlloca.cpp | 99 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/ |
D | PTXInstrLoadStore.td | 29 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/ |
D | ConstantMerge.cpp | 138 GV->getType()->getAddressSpace() != 0 || GV->hasSection() || in runOnModule() 167 GV->getType()->getAddressSpace() != 0 || GV->hasSection() || in runOnModule()
|
/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()
|
D | MergeFunctions.cpp | 649 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/ |
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()
|
D | NVPTXFavorNonGenericAddrSpaces.cpp | 144 return (SrcTy->getAddressSpace() != AddressSpace::ADDRESS_SPACE_GENERIC && in isEliminableAddrSpaceCast() 145 DestTy->getAddressSpace() == AddressSpace::ADDRESS_SPACE_GENERIC); in isEliminableAddrSpaceCast()
|
D | NVPTXAsmPrinter.cpp | 685 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 …]
|
D | NVPTXGenericToNVVM.cpp | 85 if (GV->getType()->getAddressSpace() == llvm::ADDRESS_SPACE_GENERIC && in runOnModule() 179 unsigned int AddrSpace = GVType->getAddressSpace(); in getOrInsertCVTA()
|
/external/llvm/lib/Transforms/Utils/ |
D | CloneModule.cpp | 61 I->getType()->getAddressSpace()); in CloneModule() 91 I->getThreadLocalMode(), I->getType()->getAddressSpace()); in CloneModule()
|
/external/llvm/lib/Target/AVR/ |
D | AVR.h | 39 return cast<PointerType>(V->getType())->getAddressSpace() == ProgramMemory; in isProgramMemoryAddress()
|
/external/swiftshader/third_party/LLVM/include/llvm/ |
D | IntrinsicInst.h | 143 return cast<PointerType>(getRawDest()->getType())->getAddressSpace(); in getDestAddressSpace() 231 return cast<PointerType>(getRawSource()->getType())->getAddressSpace(); in getSourceAddressSpace()
|
/external/swiftshader/third_party/LLVM/lib/Linker/ |
D | LinkModules.cpp | 138 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/ |
D | Type.h | 198 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/ |
D | IRMover.cpp | 161 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/ |
D | CaptureTracking.cpp | 135 if (CPN->getType()->getAddressSpace() == 0) in PointerMayBeCaptured()
|
/external/swiftshader/third_party/llvm-subzero/include/llvm/IR/ |
D | DerivedTypes.h | 471 inline unsigned getAddressSpace() const { return getSubclassData(); } in getAddressSpace() function 480 return cast<PointerType>(getScalarType())->getAddressSpace(); in getPointerAddressSpace()
|