qzdoom/src/r_compiler/ssa/ssa_for_block.h

18 lines
286 B
C
Raw Normal View History

#pragma once
#include "ssa_bool.h"
class SSAForBlock
{
public:
SSAForBlock();
void loop_block(SSABool true_condition, int unroll_count = 8);
void end_block();
private:
llvm::BasicBlock *if_basic_block;
llvm::BasicBlock *loop_basic_block;
llvm::BasicBlock *end_basic_block;
};