Home
last modified time | relevance | path

Searched refs:addressOfOp (Results 1 – 5 of 5) sorted by relevance

/external/llvm-project/mlir/lib/Dialect/SPIRV/Transforms/
DLowerABIAttributesPass.cpp82 funcOp.walk([&](spirv::AddressOfOp addressOfOp) { in getInterfaceVariables() argument
84 module.lookupSymbol<spirv::GlobalVariableOp>(addressOfOp.variable()); in getInterfaceVariables()
/external/llvm-project/mlir/lib/Target/LLVMIR/
DModuleTranslation.cpp711 if (auto addressOfOp = dyn_cast<LLVM::AddressOfOp>(opInst)) { in convertOperation() local
712 LLVM::GlobalOp global = addressOfOp.getGlobal(); in convertOperation()
713 LLVM::LLVMFuncOp function = addressOfOp.getFunction(); in convertOperation()
719 valueMapping[addressOfOp.getResult()] = in convertOperation()
/external/llvm-project/mlir/lib/Dialect/SPIRV/Serialization/
DSerializer.cpp360 LogicalResult processAddressOfOp(spirv::AddressOfOp addressOfOp);
1876 LogicalResult Serializer::processAddressOfOp(spirv::AddressOfOp addressOfOp) { in processAddressOfOp() argument
1877 auto varName = addressOfOp.variable(); in processAddressOfOp()
1880 return addressOfOp.emitError("unknown result <id> for variable ") in processAddressOfOp()
1883 valueIDMap[addressOfOp.pointer()] = variableID; in processAddressOfOp()
DDeserializer.cpp2339 auto addressOfOp = opBuilder.create<spirv::AddressOfOp>( in getValue() local
2342 return addressOfOp.pointer(); in getValue()
/external/llvm-project/mlir/lib/Dialect/SPIRV/
DSPIRVOps.cpp1047 static LogicalResult verify(spirv::AddressOfOp addressOfOp) { in verify() argument
1049 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()