qzdoom-gpl/src/r_compiler/ssa/ssa_for_block.h
2016-10-08 06:50:33 +02:00

17 lines
286 B
C++

#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;
};