Searched refs:base_ptr_ (Results 1 – 2 of 2) sorted by relevance
102 : base_ptr_(base_ptr), shape_(std::move(shape)) { in IrArray()104 CHECK(base_ptr_->getType()->isPointerTy()); in IrArray()107 llvm::cast<llvm::PointerType>(base_ptr_->getType())->getElementType(); in IrArray()340 return base_ptr_; in EmitArrayElementAddress()347 b->CreateBitCast(base_ptr_, in EmitArrayElementAddress()375 return b->CreateInBoundsGEP(base_ptr_, gep_indices, in EmitArrayElementAddress()416 b->CreatePointerCast(base_ptr_, new_ir_type->getPointerTo()), new_shape); in CastToShape()
204 IrArray() : base_ptr_(nullptr) {} in IrArray()216 llvm::Value* GetBasePointer() const { return base_ptr_; } in GetBasePointer()310 llvm::Value* base_ptr_; variable