Home
last modified time | relevance | path

Searched refs:TexHandleDef (Results 1 – 2 of 2) sorted by relevance

/external/llvm/lib/Target/NVPTX/
DNVPTXReplaceImageHandles.cpp140 MachineInstr &TexHandleDef = *MRI.getVRegDef(Op.getReg()); in findIndexForHandle() local
142 switch (TexHandleDef.getOpcode()) { in findIndexForHandle()
153 assert(TexHandleDef.getOperand(6).isSymbol() && "Load is not a symbol!"); in findIndexForHandle()
154 StringRef Sym = TexHandleDef.getOperand(6).getSymbolName(); in findIndexForHandle()
163 InstrsToRemove.insert(&TexHandleDef); in findIndexForHandle()
169 assert(TexHandleDef.getOperand(1).isGlobal() && "Load is not a global!"); in findIndexForHandle()
170 const GlobalValue *GV = TexHandleDef.getOperand(1).getGlobal(); in findIndexForHandle()
172 InstrsToRemove.insert(&TexHandleDef); in findIndexForHandle()
178 bool Res = findIndexForHandle(TexHandleDef.getOperand(1), MF, Idx); in findIndexForHandle()
180 InstrsToRemove.insert(&TexHandleDef); in findIndexForHandle()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/NVPTX/
DNVPTXReplaceImageHandles.cpp140 MachineInstr &TexHandleDef = *MRI.getVRegDef(Op.getReg()); in findIndexForHandle() local
142 switch (TexHandleDef.getOpcode()) { in findIndexForHandle()
153 assert(TexHandleDef.getOperand(6).isSymbol() && "Load is not a symbol!"); in findIndexForHandle()
154 StringRef Sym = TexHandleDef.getOperand(6).getSymbolName(); in findIndexForHandle()
163 InstrsToRemove.insert(&TexHandleDef); in findIndexForHandle()
169 assert(TexHandleDef.getOperand(1).isGlobal() && "Load is not a global!"); in findIndexForHandle()
170 const GlobalValue *GV = TexHandleDef.getOperand(1).getGlobal(); in findIndexForHandle()
172 InstrsToRemove.insert(&TexHandleDef); in findIndexForHandle()
178 bool Res = findIndexForHandle(TexHandleDef.getOperand(1), MF, Idx); in findIndexForHandle()
180 InstrsToRemove.insert(&TexHandleDef); in findIndexForHandle()