|
LLVM 23.0.0git
|
#include "SPIRVRegularizer.h"#include "SPIRV.h"#include "llvm/IR/Constants.h"#include "llvm/IR/IRBuilder.h"#include "llvm/IR/InstIterator.h"#include "llvm/IR/Instructions.h"#include "llvm/IR/PassManager.h"#include <list>Go to the source code of this file.
Macros | |
| #define | DEBUG_TYPE "spirv-regularizer" |
Functions | |
| static bool | runImpl (Function &F) |
| INITIALIZE_PASS (SPIRVRegularizerLegacy, DEBUG_TYPE, "SPIR-V Regularizer", false, false) static void runLowerConstExpr(Function &F) | |
| static void | runLowerI1Comparisons (Function &F) |
| #define DEBUG_TYPE "spirv-regularizer" |
Definition at line 24 of file SPIRVRegularizer.cpp.
| INITIALIZE_PASS | ( | SPIRVRegularizerLegacy | , |
| DEBUG_TYPE | , | ||
| "SPIR-V Regularizer" | , | ||
| false | , | ||
| false | ) & |
Definition at line 46 of file SPIRVRegularizer.cpp.
References llvm::InsertElementInst::Create(), DEBUG_TYPE, llvm::dyn_cast(), F, llvm::PoisonValue::get(), llvm::Type::getInt32Ty(), llvm::ilist_node_impl< OptionsT >::getIterator(), llvm::ConstantVector::getType(), II, instructions, llvm::User::op_begin(), and llvm::User::op_end().
Definition at line 211 of file SPIRVRegularizer.cpp.
References F, and runLowerI1Comparisons().
|
static |
Definition at line 159 of file SPIRVRegularizer.cpp.
References llvm::dyn_cast(), F, I, llvm::CmpInst::ICMP_SGE, llvm::CmpInst::ICMP_SGT, llvm::CmpInst::ICMP_SLE, llvm::CmpInst::ICMP_SLT, llvm::CmpInst::ICMP_UGE, llvm::CmpInst::ICMP_UGT, llvm::CmpInst::ICMP_ULE, llvm::CmpInst::ICMP_ULT, instructions, llvm_unreachable, llvm::make_early_inc_range(), and P.
Referenced by runImpl().