Searched refs:LlvmVariable (Results 1 – 2 of 2) sorted by relevance
291 class LlvmVariable {293 LlvmVariable(llvm::Type*, llvm::IRBuilder<>* b);303 class VectorVariable : public LlvmVariable {307 : LlvmVariable(vector_support->vector_type(), vector_support->b()) { in VectorVariable()312 class ScalarVariable : public LlvmVariable {316 : LlvmVariable(vector_support->scalar_type(), vector_support->b()) { in ScalarVariable()
407 LlvmVariable::LlvmVariable(llvm::Type* type, llvm::IRBuilder<>* b) : b_(b) { in LlvmVariable() function in xla::cpu::LlvmVariable411 llvm::Value* LlvmVariable::Get() const { return b_->CreateLoad(alloca_); } in Get()413 void LlvmVariable::Set(llvm::Value* new_value) { in Set()