Home
last modified time | relevance | path

Searched refs:GSD (Results 1 – 3 of 3) sorted by relevance

/external/llvm/lib/Target/AMDGPU/
DR600ISelLowering.cpp919 GlobalAddressSDNode *GSD = cast<GlobalAddressSDNode>(Op); in LowerGlobalAddress() local
920 if (GSD->getAddressSpace() != AMDGPUAS::CONSTANT_ADDRESS) in LowerGlobalAddress()
924 const GlobalValue *GV = GSD->getGlobal(); in LowerGlobalAddress()
927 SDValue GA = DAG.getTargetGlobalAddress(GV, SDLoc(GSD), ConstPtrVT); in LowerGlobalAddress()
928 return DAG.getNode(AMDGPUISD::CONST_DATA_PTR, SDLoc(GSD), ConstPtrVT, GA); in LowerGlobalAddress()
DSIISelLowering.cpp1563 GlobalAddressSDNode *GSD = cast<GlobalAddressSDNode>(Op); in LowerGlobalAddress() local
1565 if (GSD->getAddressSpace() != AMDGPUAS::CONSTANT_ADDRESS && in LowerGlobalAddress()
1566 GSD->getAddressSpace() != AMDGPUAS::GLOBAL_ADDRESS) in LowerGlobalAddress()
1569 SDLoc DL(GSD); in LowerGlobalAddress()
1570 const GlobalValue *GV = GSD->getGlobal(); in LowerGlobalAddress()
1574 return buildPCRelGlobalAddress(DAG, GV, DL, GSD->getOffset(), PtrVT); in LowerGlobalAddress()
/external/llvm/lib/Target/X86/
DX86ISelLowering.cpp18139 GlobalAddressSDNode *GSD = dyn_cast<GlobalAddressSDNode>(FnOp); in LowerINTRINSIC_WO_CHAIN() local
18140 auto *Fn = dyn_cast_or_null<Function>(GSD ? GSD->getGlobal() : nullptr); in LowerINTRINSIC_WO_CHAIN()