/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 | 48 unsigned srcAS = dyn_cast<PointerType>(srcAddr->getType())->getAddressSpace(); in convertTransferToLoop() 49 unsigned dstAS = dyn_cast<PointerType>(dstAddr->getType())->getAddressSpace(); in convertTransferToLoop() 84 unsigned dstAS = dyn_cast<PointerType>(dstAddr->getType())->getAddressSpace(); in convertMemSetToLoop()
|
D | NVPTXAsmPrinter.cpp | 161 if (SrcTy->getAddressSpace() == 1 && DstTy->getAddressSpace() == 0) { in LowerConstant() 1022 if (Pty->getAddressSpace() != llvm::ADDRESS_SPACE_SHARED) in canDemoteGlobalVar() 1482 emitPTXAddressSpace(PTy->getAddressSpace(), O); in printModuleLevelGV() 1506 if ((PTy->getAddressSpace() == llvm::ADDRESS_SPACE_GLOBAL) || in printModuleLevelGV() 1507 (PTy->getAddressSpace() == llvm::ADDRESS_SPACE_CONST)) { in printModuleLevelGV() 1520 llvm::utostr_32(PTy->getAddressSpace()) + ")"; in printModuleLevelGV() 1539 if (((PTy->getAddressSpace() == llvm::ADDRESS_SPACE_GLOBAL) || in printModuleLevelGV() 1540 (PTy->getAddressSpace() == llvm::ADDRESS_SPACE_CONST)) && in printModuleLevelGV() 1669 emitPTXAddressSpace(PTy->getAddressSpace(), O); in emitPTXGlobalVariable() 1858 int addrSpace = PTy->getAddressSpace(); in emitFunctionParamList() [all …]
|
D | NVPTXGenericToNVVM.cpp | 85 if (GV->getType()->getAddressSpace() == llvm::ADDRESS_SPACE_GENERIC && in runOnModule() 173 unsigned int AddrSpace = GVType->getAddressSpace(); in getOrInsertCVTA() 414 I->second->getType()->getAddressSpace()); in remapMDNode()
|
/external/llvm/lib/Transforms/InstCombine/ |
D | InstCombineLoadStoreAlloca.cpp | 305 if (DestTy->getAddressSpace() != SrcTy->getAddressSpace()) in InstCombineLoadCast() 349 OldTy->getAddressSpace() != NewTy->getAddressSpace()) { in InstCombineLoadCast() 513 SrcTy = PointerType::get(SrcPTy, SrcTy->getAddressSpace()); in InstCombineStoreToCast() 521 if (SrcTy->getAddressSpace() != in InstCombineStoreToCast() 522 cast<PointerType>(CI->getType())->getAddressSpace()) in InstCombineStoreToCast()
|
D | InstructionCombining.cpp | 1528 if (StrippedPtrTy->getAddressSpace() == GEP.getAddressSpace()) in visitGetElementPtrInst() 1548 if (StrippedPtrTy->getAddressSpace() == GEP.getAddressSpace()) { in visitGetElementPtrInst() 1585 if (StrippedPtrTy->getAddressSpace() == GEP.getPointerAddressSpace()) in visitGetElementPtrInst() 1619 if (StrippedPtrTy->getAddressSpace() == GEP.getPointerAddressSpace()) in visitGetElementPtrInst() 1661 if (StrippedPtrTy->getAddressSpace() == GEP.getPointerAddressSpace()) in visitGetElementPtrInst() 1685 StrippedPtrTy->getAddressSpace() == GEP.getPointerAddressSpace()) { in visitGetElementPtrInst()
|
/external/llvm/lib/Transforms/Utils/ |
D | CloneModule.cpp | 53 I->getType()->getAddressSpace()); in CloneModule() 72 GlobalAlias::create(PTy->getElementType(), PTy->getAddressSpace(), in CloneModule()
|
/external/llvm/lib/Transforms/IPO/ |
D | ConstantMerge.cpp | 144 GV->getType()->getAddressSpace() != 0 || GV->hasSection() || in runOnModule() 179 GV->getType()->getAddressSpace() != 0 || GV->hasSection() || in runOnModule()
|
D | MergeFunctions.cpp | 511 unsigned AddrSpaceL = PTyL->getAddressSpace(); in cmpConstants() 512 unsigned AddrSpaceR = PTyR->getAddressSpace(); in cmpConstants() 624 if (PTyL && PTyL->getAddressSpace() == 0) TyL = DL->getIntPtrType(TyL); in cmpType() 625 if (PTyR && PTyR->getAddressSpace() == 0) TyR = DL->getIntPtrType(TyR); in cmpType() 655 return cmpNumbers(PTyL->getAddressSpace(), PTyR->getAddressSpace()); in cmpType() 1362 auto *GA = GlobalAlias::create(PTy->getElementType(), PTy->getAddressSpace(), in writeAlias()
|
/external/llvm/include/llvm/IR/ |
D | IntrinsicInst.h | 144 return cast<PointerType>(getRawDest()->getType())->getAddressSpace(); in getDestAddressSpace() 234 return cast<PointerType>(getRawSource()->getType())->getAddressSpace(); in getSourceAddressSpace()
|
D | Operator.h | 405 return cast<PointerType>(getPointerOperandType())->getAddressSpace(); in getPointerAddressSpace() 505 return cast<PointerType>(getPointerOperandType())->getAddressSpace(); in getPointerAddressSpace()
|
/external/llvm/lib/CodeGen/ |
D | GlobalMerge.cpp | 229 GlobalAlias::create(PTy->getElementType(), PTy->getAddressSpace(), in doMerge() 304 unsigned AddressSpace = PT->getAddressSpace(); in doInitialization()
|
/external/llvm/lib/Analysis/ |
D | CaptureTracking.cpp | 166 if (CPN->getType()->getAddressSpace() == 0) in PointerMayBeCaptured()
|
/external/clang/include/clang/AST/ |
D | Type.h | 193 if (L.getAddressSpace() == R.getAddressSpace()) { 194 Q.setAddressSpace(L.getAddressSpace()); 312 unsigned getAddressSpace() const { return Mask >> AddressSpaceShift; } 366 addAddressSpace(Q.getAddressSpace()); 386 if (getAddressSpace() == Q.getAddressSpace()) 394 assert(getAddressSpace() == qs.getAddressSpace() || 409 getAddressSpace() == other.getAddressSpace() && 926 inline unsigned getAddressSpace() const; 1101 unsigned getAddressSpace() const { return Quals.getAddressSpace(); } 4775 inline unsigned QualType::getAddressSpace() const { [all …]
|
/external/llvm/lib/Target/R600/ |
D | AMDGPUInstructions.td | 259 return cast<MemSDNode>(N)->getAddressSpace() == AMDGPUAS::LOCAL_ADDRESS; 277 return dyn_cast<MemSDNode>(N)->getAddressSpace() == AMDGPUAS::GLOBAL_ADDRESS; 285 AN->getAddressSpace() == AMDGPUAS::LOCAL_ADDRESS; 293 AN->getAddressSpace() == AMDGPUAS::LOCAL_ADDRESS;
|
D | SIISelLowering.cpp | 611 if (Load->getAddressSpace() == AMDGPUAS::LOCAL_ADDRESS && in LowerOperation() 617 (Load->getAddressSpace() == AMDGPUAS::LOCAL_ADDRESS || in LowerOperation() 618 Load->getAddressSpace() == AMDGPUAS::PRIVATE_ADDRESS || in LowerOperation() 619 (Load->getAddressSpace() == AMDGPUAS::GLOBAL_ADDRESS && in LowerOperation() 848 if (Load->getAddressSpace() != AMDGPUAS::PRIVATE_ADDRESS) { in LowerLOAD() 935 if (Store->getAddressSpace() == AMDGPUAS::LOCAL_ADDRESS && in LowerSTORE() 952 if (Store->getAddressSpace() != AMDGPUAS::PRIVATE_ADDRESS) in LowerSTORE()
|
/external/llvm/lib/Linker/ |
D | LinkModules.cpp | 171 if (PT->getAddressSpace() != cast<PointerType>(SrcTy)->getAddressSpace()) in areTypesIsomorphic() 299 cast<PointerType>(Ty)->getAddressSpace()); in getImpl() 858 DstGV->getType()->getAddressSpace()); in linkAppendingVarProto() 955 SGV->getType()->getAddressSpace()); in linkGlobalProto() 1110 GlobalAlias::create(PTy->getElementType(), PTy->getAddressSpace(), in linkAliasProto()
|
/external/clang/lib/CodeGen/ |
D | CGValue.h | 258 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/chromium_org/third_party/mesa/src/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/IR/ |
D | ConstantFold.cpp | 109 if (PTy->getAddressSpace() == DPTy->getAddressSpace() in FoldBitCast() 373 PTy->getAddressSpace()), in getFoldedSizeOf() 439 PTy->getAddressSpace()), in getFoldedAlignOf() 1973 return UndefValue::get(PointerType::get(Ty, Ptr->getAddressSpace())); in ConstantFoldGetElementPtrImpl() 1988 Ptr->getAddressSpace())); in ConstantFoldGetElementPtrImpl() 2080 && SrcPtrTy->getAddressSpace() == DstPtrTy->getAddressSpace()) in ConstantFoldGetElementPtrImpl()
|
D | IRBuilder.cpp | 48 PT = getInt8PtrTy(PT->getAddressSpace()); in getCastedInt8PtrValue()
|
/external/llvm/lib/Transforms/Scalar/ |
D | ScalarReplAggregates.cpp | 706 if (SPTy->getAddressSpace() != AIPTy->getAddressSpace()) { in ConvertUsesToScalar() 708 SPTy->getAddressSpace()); in ConvertUsesToScalar() 723 if (DPTy->getAddressSpace() != AIPTy->getAddressSpace()) { in ConvertUsesToScalar() 725 DPTy->getAddressSpace()); in ConvertUsesToScalar() 2113 unsigned AS = AI->getType()->getAddressSpace(); in RewriteLifetimeIntrinsic() 2176 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 | 200 GV->getType()->getAddressSpace(), in lowerGlobal()
|