/external/llvm/lib/Target/NVPTX/ |
D | NVPTXFavorNonGenericAddrSpaces.cpp | 107 return (SrcTy->getAddressSpace() != AddressSpace::ADDRESS_SPACE_GENERIC && in IsEliminableAddrSpaceCast() 108 DestTy->getAddressSpace() == AddressSpace::ADDRESS_SPACE_GENERIC); in IsEliminableAddrSpaceCast()
|
D | NVPTXLowerAggrCopies.cpp | 73 unsigned srcAS = cast<PointerType>(srcAddr->getType())->getAddressSpace(); in convertTransferToLoop() 74 unsigned dstAS = cast<PointerType>(dstAddr->getType())->getAddressSpace(); in convertTransferToLoop() 111 unsigned dstAS = cast<PointerType>(dstAddr->getType())->getAddressSpace(); in convertMemSetToLoop()
|
D | NVPTXAsmPrinter.cpp | 685 if (Pty->getAddressSpace() != llvm::ADDRESS_SPACE_SHARED) in canDemoteGlobalVar() 1155 emitPTXAddressSpace(PTy->getAddressSpace(), O); in printModuleLevelGV() 1179 if ((PTy->getAddressSpace() == llvm::ADDRESS_SPACE_GLOBAL) || in printModuleLevelGV() 1180 (PTy->getAddressSpace() == llvm::ADDRESS_SPACE_CONST)) { in printModuleLevelGV() 1194 Twine(llvm::utostr_32(PTy->getAddressSpace())) + ")").str(); in printModuleLevelGV() 1213 if (((PTy->getAddressSpace() == llvm::ADDRESS_SPACE_GLOBAL) || in printModuleLevelGV() 1214 (PTy->getAddressSpace() == llvm::ADDRESS_SPACE_CONST)) && in printModuleLevelGV() 1343 emitPTXAddressSpace(PTy->getAddressSpace(), O); in emitPTXGlobalVariable() 1494 int addrSpace = PTy->getAddressSpace(); in emitFunctionParamList() 1713 if (PTy && PTy->getAddressSpace() != 0) { in printScalarConstant() [all …]
|
D | NVPTXGenericToNVVM.cpp | 85 if (GV->getType()->getAddressSpace() == llvm::ADDRESS_SPACE_GENERIC && in runOnModule() 181 unsigned int AddrSpace = GVType->getAddressSpace(); in getOrInsertCVTA()
|
/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 | 506 unsigned AddrSpaceL = PTyL->getAddressSpace(); in cmpConstants() 507 unsigned AddrSpaceR = PTyR->getAddressSpace(); in cmpConstants() 619 if (PTyL && PTyL->getAddressSpace() == 0) in cmpTypes() 621 if (PTyR && PTyR->getAddressSpace() == 0) in cmpTypes() 651 return cmpNumbers(PTyL->getAddressSpace(), PTyR->getAddressSpace()); in cmpTypes() 1361 auto *GA = GlobalAlias::create(PTy->getElementType(), PTy->getAddressSpace(), in writeAlias()
|
/external/llvm/lib/ExecutionEngine/Orc/ |
D | CloneSubModule.cpp | 46 I->getThreadLocalMode(), I->getType()->getAddressSpace()); in CloneSubModule() 65 GlobalAlias::create(PTy->getElementType(), PTy->getAddressSpace(), in CloneSubModule()
|
/external/llvm/lib/Transforms/Utils/ |
D | CloneModule.cpp | 54 I->getType()->getAddressSpace()); in CloneModule() 73 GlobalAlias::create(PTy->getElementType(), PTy->getAddressSpace(), in CloneModule()
|
/external/llvm/lib/CodeGen/ |
D | StatepointExampleGC.cpp | 45 return (1 == PT->getAddressSpace()); in isGCManagedPointer()
|
D | GlobalMerge.cpp | 234 GlobalAlias::create(PTy->getElementType(), PTy->getAddressSpace(), in doMerge() 306 unsigned AddressSpace = PT->getAddressSpace(); in doInitialization()
|
/external/llvm/lib/Target/R600/ |
D | AMDGPUTargetTransformInfo.cpp | 43 if (!GEP || GEP->getAddressSpace() != AMDGPUAS::PRIVATE_ADDRESS) in getUnrollingPreferences()
|
D | AMDGPUInstructions.td | 154 return cast<MemSDNode>(N)->getAddressSpace() == AMDGPUAS::PRIVATE_ADDRESS; 343 return cast<MemSDNode>(N)->getAddressSpace() == AMDGPUAS::LOCAL_ADDRESS; 361 return cast<MemSDNode>(N)->getAddressSpace() == AMDGPUAS::GLOBAL_ADDRESS; 370 AN->getAddressSpace() == AMDGPUAS::LOCAL_ADDRESS; 378 AN->getAddressSpace() == AMDGPUAS::LOCAL_ADDRESS; 392 return cast<MemSDNode>(N)->getAddressSpace() == AMDGPUAS::FLAT_ADDRESS; 398 [{return cast<MemSDNode>(N)->getAddressSpace() == AMDGPUAS::GLOBAL_ADDRESS;}]
|
D | SIISelLowering.cpp | 528 ParamTy && ParamTy->getAddressSpace() == AMDGPUAS::LOCAL_ADDRESS) { in LowerFormalArguments() 818 if (GSD->getAddressSpace() != AMDGPUAS::CONSTANT_ADDRESS) in LowerGlobalAddress() 823 MVT PtrVT = getPointerTy(GSD->getAddressSpace()); in LowerGlobalAddress() 989 switch (Load->getAddressSpace()) { in LowerLOAD() 1204 if (Store->getAddressSpace() == AMDGPUAS::PRIVATE_ADDRESS) { in LowerSTORE() 1297 unsigned AS = Load->getAddressSpace(); in performUCharToFloatCombine() 1760 unsigned AS = MemNode->getAddressSpace(); in PerformDAGCombine()
|
/external/clang/include/clang/AST/ |
D | Type.h | 194 if (L.getAddressSpace() == R.getAddressSpace()) { 195 Q.setAddressSpace(L.getAddressSpace()); 313 unsigned getAddressSpace() const { return Mask >> AddressSpaceShift; } 367 addAddressSpace(Q.getAddressSpace()); 387 if (getAddressSpace() == Q.getAddressSpace()) 395 assert(getAddressSpace() == qs.getAddressSpace() || 414 getAddressSpace() == other.getAddressSpace() || 417 (getAddressSpace() == LangAS::opencl_generic && 418 other.getAddressSpace() != LangAS::opencl_constant); 942 inline unsigned getAddressSpace() const; [all …]
|
/external/llvm/include/llvm/IR/ |
D | IntrinsicInst.h | 169 return cast<PointerType>(getRawDest()->getType())->getAddressSpace(); in getDestAddressSpace() 259 return cast<PointerType>(getRawSource()->getType())->getAddressSpace(); in getSourceAddressSpace()
|
/external/llvm/lib/Linker/ |
D | LinkModules.cpp | 184 if (PT->getAddressSpace() != cast<PointerType>(SrcTy)->getAddressSpace()) in areTypesIsomorphic() 323 cast<PointerType>(Ty)->getAddressSpace()); in get() 559 SGVar->getType()->getAddressSpace()); in copyGlobalVariableProto() 580 return GlobalAlias::create(PTy->getElementType(), PTy->getAddressSpace(), in copyGlobalAliasProto() 913 GV, GV->getThreadLocalMode(), GV->getType()->getAddressSpace(), in upgradeGlobalArray() 1000 DstGV->getType()->getAddressSpace()); in linkAppendingVarProto()
|
/external/clang/lib/CodeGen/ |
D | CGValue.h | 259 unsigned getAddressSpace() const { return Quals.getAddressSpace(); } in getAddressSpace() function
|
/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/Analysis/ |
D | CaptureTracking.cpp | 253 if (CPN->getType()->getAddressSpace() == 0) in PointerMayBeCaptured()
|
/external/llvm/lib/IR/ |
D | Type.cpp | 96 return PTy->getAddressSpace() == OtherPTy->getAddressSpace(); in canLosslesslyBitCastTo() 217 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() 2038 return UndefValue::get(PointerType::get(Ty, Ptr->getAddressSpace())); in ConstantFoldGetElementPtrImpl() 2054 Ptr->getAddressSpace())); in ConstantFoldGetElementPtrImpl() 2150 && SrcPtrTy->getAddressSpace() == DstPtrTy->getAddressSpace()) in ConstantFoldGetElementPtrImpl()
|
D | Globals.cpp | 276 return create(PTy->getElementType(), PTy->getAddressSpace(), Link, Name, in create()
|
/external/llvm/lib/Transforms/Scalar/ |
D | ScalarReplAggregates.cpp | 711 if (SPTy->getAddressSpace() != AIPTy->getAddressSpace()) { in ConvertUsesToScalar() 713 SPTy->getAddressSpace()); in ConvertUsesToScalar() 728 if (DPTy->getAddressSpace() != AIPTy->getAddressSpace()) { in ConvertUsesToScalar() 730 DPTy->getAddressSpace()); in ConvertUsesToScalar() 2135 unsigned AS = AI->getType()->getAddressSpace(); in RewriteLifetimeIntrinsic() 2198 cast<PointerType>(OtherPtr->getType())->getAddressSpace(); in RewriteMemIntrinUserOfAlloca()
|
/external/mesa3d/src/gallium/state_trackers/clover/llvm/ |
D | invocation.cpp | 228 unsigned address_space = llvm::cast<llvm::PointerType>(arg_type)->getAddressSpace(); in build_module_llvm()
|
/external/llvm/lib/Target/XCore/ |
D | XCoreLowerThreadLocal.cpp | 201 GV->getType()->getAddressSpace(), in lowerGlobal()
|