Searched refs:base_ptr_ (Results 1 – 2 of 2) sorted by relevance
154 : base_ptr_(base_ptr), shape_(std::move(shape)) { in IrArray()156 CHECK(base_ptr_->getType()->isPointerTy()); in IrArray()159 llvm::cast<llvm::PointerType>(base_ptr_->getType())->getElementType(); in IrArray()449 return base_ptr_; in EmitArrayElementAddress()457 b->CreateBitCast(base_ptr_, in EmitArrayElementAddress()485 return b->CreateInBoundsGEP(base_ptr_, gep_indices, in EmitArrayElementAddress()526 b->CreatePointerCast(base_ptr_, new_ir_type->getPointerTo()), new_shape); in CastToShape()
211 IrArray() : base_ptr_(nullptr) {} in IrArray()223 llvm::Value* GetBasePointer() const { return base_ptr_; } in GetBasePointer()317 llvm::Value* base_ptr_; variable