mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-15 00:51:24 +00:00
25 lines
527 B
C
25 lines
527 B
C
|
|
||
|
#pragma once
|
||
|
|
||
|
#include "ssa_int.h"
|
||
|
#include "ssa_vec4f.h"
|
||
|
|
||
|
namespace llvm { class Value; }
|
||
|
namespace llvm { class Type; }
|
||
|
|
||
|
class SSAVec4fPtr
|
||
|
{
|
||
|
public:
|
||
|
SSAVec4fPtr();
|
||
|
explicit SSAVec4fPtr(llvm::Value *v);
|
||
|
static SSAVec4fPtr from_llvm(llvm::Value *v) { return SSAVec4fPtr(v); }
|
||
|
static llvm::Type *llvm_type();
|
||
|
SSAVec4fPtr operator[](SSAInt index) const;
|
||
|
SSAVec4f load() const;
|
||
|
SSAVec4f load_unaligned() const;
|
||
|
void store(const SSAVec4f &new_value);
|
||
|
void store_unaligned(const SSAVec4f &new_value);
|
||
|
|
||
|
llvm::Value *v;
|
||
|
};
|