Searched refs:addressOfOp (Results 1 – 5 of 5) sorted by relevance
82 funcOp.walk([&](spirv::AddressOfOp addressOfOp) { in getInterfaceVariables() argument84 module.lookupSymbol<spirv::GlobalVariableOp>(addressOfOp.variable()); in getInterfaceVariables()
711 if (auto addressOfOp = dyn_cast<LLVM::AddressOfOp>(opInst)) { in convertOperation() local712 LLVM::GlobalOp global = addressOfOp.getGlobal(); in convertOperation()713 LLVM::LLVMFuncOp function = addressOfOp.getFunction(); in convertOperation()719 valueMapping[addressOfOp.getResult()] = in convertOperation()
360 LogicalResult processAddressOfOp(spirv::AddressOfOp addressOfOp);1876 LogicalResult Serializer::processAddressOfOp(spirv::AddressOfOp addressOfOp) { in processAddressOfOp() argument1877 auto varName = addressOfOp.variable(); in processAddressOfOp()1880 return addressOfOp.emitError("unknown result <id> for variable ") in processAddressOfOp()1883 valueIDMap[addressOfOp.pointer()] = variableID; in processAddressOfOp()
2339 auto addressOfOp = opBuilder.create<spirv::AddressOfOp>( in getValue() local2342 return addressOfOp.pointer(); in getValue()
1047 static LogicalResult verify(spirv::AddressOfOp addressOfOp) { in verify() argument1049 SymbolTable::lookupNearestSymbolFrom(addressOfOp->getParentOp(), in verify()1050 addressOfOp.variable())); in verify()1052 return addressOfOp.emitOpError("expected spv.globalVariable symbol"); in verify()1054 if (addressOfOp.pointer().getType() != varOp.type()) { in verify()1055 return addressOfOp.emitOpError( in verify()