Home
last modified time | relevance | path

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

12345

/external/llvm/lib/Target/NVPTX/
DNVPTXFavorNonGenericAddrSpaces.cpp107 return (SrcTy->getAddressSpace() != AddressSpace::ADDRESS_SPACE_GENERIC && in IsEliminableAddrSpaceCast()
108 DestTy->getAddressSpace() == AddressSpace::ADDRESS_SPACE_GENERIC); in IsEliminableAddrSpaceCast()
DNVPTXLowerAggrCopies.cpp73 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()
DNVPTXAsmPrinter.cpp685 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 …]
DNVPTXGenericToNVVM.cpp85 if (GV->getType()->getAddressSpace() == llvm::ADDRESS_SPACE_GENERIC && in runOnModule()
181 unsigned int AddrSpace = GVType->getAddressSpace(); in getOrInsertCVTA()
/external/llvm/lib/Transforms/IPO/
DConstantMerge.cpp133 GV->getType()->getAddressSpace() != 0 || GV->hasSection() || in runOnModule()
167 GV->getType()->getAddressSpace() != 0 || GV->hasSection() || in runOnModule()
DMergeFunctions.cpp506 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/
DCloneSubModule.cpp46 I->getThreadLocalMode(), I->getType()->getAddressSpace()); in CloneSubModule()
65 GlobalAlias::create(PTy->getElementType(), PTy->getAddressSpace(), in CloneSubModule()
/external/llvm/lib/Transforms/Utils/
DCloneModule.cpp54 I->getType()->getAddressSpace()); in CloneModule()
73 GlobalAlias::create(PTy->getElementType(), PTy->getAddressSpace(), in CloneModule()
/external/llvm/lib/CodeGen/
DStatepointExampleGC.cpp45 return (1 == PT->getAddressSpace()); in isGCManagedPointer()
DGlobalMerge.cpp234 GlobalAlias::create(PTy->getElementType(), PTy->getAddressSpace(), in doMerge()
306 unsigned AddressSpace = PT->getAddressSpace(); in doInitialization()
/external/llvm/lib/Target/R600/
DAMDGPUTargetTransformInfo.cpp43 if (!GEP || GEP->getAddressSpace() != AMDGPUAS::PRIVATE_ADDRESS) in getUnrollingPreferences()
DAMDGPUInstructions.td154 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;}]
DSIISelLowering.cpp528 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/
DType.h194 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/
DIntrinsicInst.h169 return cast<PointerType>(getRawDest()->getType())->getAddressSpace(); in getDestAddressSpace()
259 return cast<PointerType>(getRawSource()->getType())->getAddressSpace(); in getSourceAddressSpace()
/external/llvm/lib/Linker/
DLinkModules.cpp184 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/
DCGValue.h259 unsigned getAddressSpace() const { return Quals.getAddressSpace(); } in getAddressSpace() function
/external/mesa3d/src/gallium/drivers/radeon/
DR600KernelParameters.cpp257 if (GEP && GEP->getType()->getAddressSpace() != Addrspace) { in Propagate()
260 if (dyn_cast<PointerType>(Op->getType())->getAddressSpace() != Addrspace) { in Propagate()
/external/llvm/lib/Analysis/
DCaptureTracking.cpp253 if (CPN->getType()->getAddressSpace() == 0) in PointerMayBeCaptured()
/external/llvm/lib/IR/
DType.cpp96 return PTy->getAddressSpace() == OtherPTy->getAddressSpace(); in canLosslesslyBitCastTo()
217 return cast<PointerType>(getScalarType())->getAddressSpace(); in getPointerAddressSpace()
DConstantFold.cpp111 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()
DGlobals.cpp276 return create(PTy->getElementType(), PTy->getAddressSpace(), Link, Name, in create()
/external/llvm/lib/Transforms/Scalar/
DScalarReplAggregates.cpp711 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/
Dinvocation.cpp228 unsigned address_space = llvm::cast<llvm::PointerType>(arg_type)->getAddressSpace(); in build_module_llvm()
/external/llvm/lib/Target/XCore/
DXCoreLowerThreadLocal.cpp201 GV->getType()->getAddressSpace(), in lowerGlobal()

12345