Lines Matching defs:basePtr
317 Value basePtr, ValueRange indices) {
318 auto type = getElementPtrType(basePtr.getType(), indices, state.location);
319 assert(type && "Unable to deduce return type based on basePtr and indices");
320 build(builder, state, type, basePtr, indices);
358 void LoadOp::build(OpBuilder &builder, OperationState &state, Value basePtr,
360 auto ptrType = llvm::cast<spirv::PointerType>(basePtr.getType());
361 build(builder, state, ptrType.getPointeeType(), basePtr, memoryAccess,
551 Value basePtr, Value element,
553 auto type = getElementPtrType(basePtr.getType(), indices, state.location);
554 assert(type && "Unable to deduce return type based on basePtr and indices");
555 build(builder, state, type, basePtr, element, indices);
567 Value basePtr, Value element, ValueRange indices) {
568 auto type = getElementPtrType(basePtr.getType(), indices, state.location);
569 assert(type && "Unable to deduce return type based on basePtr and indices");
570 build(builder, state, type, basePtr, element, indices);