/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()
|
D | CGValue.h | 314 unsigned getAddressSpace() const { return Quals.getAddressSpace(); } in getAddressSpace() function
|
/external/llvm/lib/Target/AMDGPU/Utils/ |
D | AMDGPUBaseInfo.cpp | 98 return GV->getType()->getAddressSpace() == AMDGPUAS::LOCAL_ADDRESS; in isGroupSegment() 102 return GV->getType()->getAddressSpace() == AMDGPUAS::GLOBAL_ADDRESS; in isGlobalSegment() 106 return GV->getType()->getAddressSpace() == AMDGPUAS::CONSTANT_ADDRESS; in isReadOnlySegment()
|
/external/llvm/include/llvm/IR/ |
D | GetElementPtrTypeIterator.h | 108 ->getAddressSpace(), in gep_type_begin() 119 ->getAddressSpace(), in gep_type_begin()
|
D | IntrinsicInst.h | 169 return cast<PointerType>(getRawDest()->getType())->getAddressSpace(); in getDestAddressSpace() 259 return cast<PointerType>(getRawSource()->getType())->getAddressSpace(); in getSourceAddressSpace()
|
/external/llvm/lib/Transforms/IPO/ |
D | ConstantMerge.cpp | 133 GV->getType()->getAddressSpace() != 0 || GV->hasSection() || in runOnModule() 167 GV->getType()->getAddressSpace() != 0 || GV->hasSection() || in runOnModule()
|
D | MergeFunctions.cpp | 641 unsigned AddrSpaceL = PTyL->getAddressSpace(); in cmpConstants() 642 unsigned AddrSpaceR = PTyR->getAddressSpace(); in cmpConstants() 808 if (PTyL && PTyL->getAddressSpace() == 0) in cmpTypes() 810 if (PTyR && PTyR->getAddressSpace() == 0) in cmpTypes() 846 return cmpNumbers(PTyL->getAddressSpace(), PTyR->getAddressSpace()); in cmpTypes()
|
/external/llvm/lib/CodeGen/ |
D | CoreCLRGC.cpp | 45 return (1 == PT->getAddressSpace()); in isGCManagedPointer()
|
D | StatepointExampleGC.cpp | 45 return (1 == PT->getAddressSpace()); in isGCManagedPointer()
|
/external/llvm/lib/Target/NVPTX/ |
D | NVPTXFavorNonGenericAddrSpaces.cpp | 141 return (SrcTy->getAddressSpace() != AddressSpace::ADDRESS_SPACE_GENERIC && in isEliminableAddrSpaceCast() 142 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()
|
D | NVPTXAsmPrinter.cpp | 684 if (Pty->getAddressSpace() != llvm::ADDRESS_SPACE_SHARED) in canDemoteGlobalVar() 1152 emitPTXAddressSpace(PTy->getAddressSpace(), O); in printModuleLevelGV() 1176 if ((PTy->getAddressSpace() == llvm::ADDRESS_SPACE_GLOBAL) || in printModuleLevelGV() 1177 (PTy->getAddressSpace() == llvm::ADDRESS_SPACE_CONST)) { in printModuleLevelGV() 1192 Twine(PTy->getAddressSpace()) + ")"); in printModuleLevelGV() 1210 if (((PTy->getAddressSpace() == llvm::ADDRESS_SPACE_GLOBAL) || in printModuleLevelGV() 1211 (PTy->getAddressSpace() == llvm::ADDRESS_SPACE_CONST)) && in printModuleLevelGV() 1348 emitPTXAddressSpace(PTy->getAddressSpace(), O); in emitPTXGlobalVariable() 1501 int addrSpace = PTy->getAddressSpace(); in emitFunctionParamList() 1720 if (PTy && PTy->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() 92 I->getThreadLocalMode(), I->getType()->getAddressSpace()); in CloneModule()
|
/external/llvm/lib/Target/AMDGPU/ |
D | AMDGPUInstructions.td | 154 return cast<MemSDNode>(N)->getAddressSpace() == AMDGPUAS::PRIVATE_ADDRESS; 346 return cast<MemSDNode>(N)->getAddressSpace() == AMDGPUAS::LOCAL_ADDRESS; 364 return cast<MemSDNode>(N)->getAddressSpace() == AMDGPUAS::GLOBAL_ADDRESS; 374 AN->getAddressSpace() == AMDGPUAS::LOCAL_ADDRESS; 382 AN->getAddressSpace() == AMDGPUAS::LOCAL_ADDRESS; 399 return cast<MemSDNode>(N)->getAddressSpace() == AMDGPUAS::FLAT_ADDRESS; 405 [{return cast<MemSDNode>(N)->getAddressSpace() == AMDGPUAS::GLOBAL_ADDRESS;}]
|
D | AMDGPUTargetTransformInfo.cpp | 43 if (!GEP || GEP->getAddressSpace() != AMDGPUAS::PRIVATE_ADDRESS) in getUnrollingPreferences()
|
/external/clang/include/clang/AST/ |
D | Type.h | 197 if (L.getAddressSpace() == R.getAddressSpace()) { 198 Q.setAddressSpace(L.getAddressSpace()); 316 unsigned getAddressSpace() const { return Mask >> AddressSpaceShift; } 370 addAddressSpace(Q.getAddressSpace()); 390 if (getAddressSpace() == Q.getAddressSpace()) 398 assert(getAddressSpace() == qs.getAddressSpace() || 417 getAddressSpace() == other.getAddressSpace() || 420 (getAddressSpace() == LangAS::opencl_generic && 421 other.getAddressSpace() != LangAS::opencl_constant); 964 inline unsigned getAddressSpace() const; [all …]
|
/external/mesa3d/src/gallium/drivers/radeon/ |
D | R600KernelParameters.cpp | 257 if (GEP && GEP->getType()->getAddressSpace() != Addrspace) { in Propagate() 260 if (dyn_cast<PointerType>(Op->getType())->getAddressSpace() != Addrspace) { in Propagate()
|
/external/llvm/lib/Linker/ |
D | IRMover.cpp | 158 if (PT->getAddressSpace() != cast<PointerType>(SrcTy)->getAddressSpace()) in areTypesIsomorphic() 297 cast<PointerType>(Ty)->getAddressSpace()); in get() 709 SGVar->getType()->getAddressSpace()); in copyGlobalVariableProto() 749 SGV->getType()->getAddressSpace()); in copyGlobalValueProto() 941 SrcGV->getType()->getAddressSpace()); in linkAppendingVarProto()
|
/external/llvm/lib/IR/ |
D | Type.cpp | 91 return PTy->getAddressSpace() == OtherPTy->getAddressSpace(); in canLosslesslyBitCastTo() 210 return cast<PointerType>(getScalarType())->getAddressSpace(); in getPointerAddressSpace()
|
D | ConstantFold.cpp | 111 if (PTy->getAddressSpace() == DPTy->getAddressSpace() in FoldBitCast() 387 PTy->getAddressSpace()), in getFoldedSizeOf() 453 PTy->getAddressSpace()), in getFoldedAlignOf() 2047 return UndefValue::get(PointerType::get(Ty, Ptr->getAddressSpace())); in ConstantFoldGetElementPtrImpl() 2063 Ptr->getAddressSpace())); in ConstantFoldGetElementPtrImpl() 2159 && SrcPtrTy->getAddressSpace() == DstPtrTy->getAddressSpace()) in ConstantFoldGetElementPtrImpl()
|
/external/llvm/lib/Analysis/ |
D | CaptureTracking.cpp | 298 if (CPN->getType()->getAddressSpace() == 0) in PointerMayBeCaptured()
|
/external/llvm/include/llvm/ExecutionEngine/Orc/ |
D | CompileOnDemandLayer.h | 295 F->getType()->getAddressSpace(), in addLogicalModule() 433 A->getType()->getAddressSpace()); in emitPartition()
|
/external/llvm/lib/Transforms/Scalar/ |
D | ScalarReplAggregates.cpp | 712 if (SPTy->getAddressSpace() != AIPTy->getAddressSpace()) { in ConvertUsesToScalar() 714 SPTy->getAddressSpace()); in ConvertUsesToScalar() 729 if (DPTy->getAddressSpace() != AIPTy->getAddressSpace()) { in ConvertUsesToScalar() 731 DPTy->getAddressSpace()); in ConvertUsesToScalar() 2136 unsigned AS = AI->getType()->getAddressSpace(); in RewriteLifetimeIntrinsic() 2199 cast<PointerType>(OtherPtr->getType())->getAddressSpace(); in RewriteMemIntrinUserOfAlloca()
|
/external/llvm/lib/ExecutionEngine/Orc/ |
D | IndirectionUtils.cpp | 159 GV.getThreadLocalMode(), GV.getType()->getAddressSpace()); in cloneGlobalVariableDecl()
|