|
LLVM
4.0.0
|
This pass does misc. More...
#include "AMDGPU.h"#include "AMDGPUIntrinsicInfo.h"#include "AMDGPUSubtarget.h"#include "AMDGPUTargetMachine.h"#include "llvm/Analysis/DivergenceAnalysis.h"#include "llvm/CodeGen/Passes.h"#include "llvm/IR/InstVisitor.h"#include "llvm/IR/IRBuilder.h"#include "llvm/Support/Debug.h"#include "llvm/Support/raw_ostream.h"Go to the source code of this file.
Macros | |
| #define | DEBUG_TYPE "amdgpu-codegenprepare" |
Functions | |
| static bool | shouldKeepFDivF32 (Value *Num, bool UnsafeDiv) |
| static bool | hasUnsafeFPMath (const Function &F) |
| INITIALIZE_TM_PASS_BEGIN (AMDGPUCodeGenPrepare, DEBUG_TYPE,"AMDGPU IR optimizations", false, false) INITIALIZE_TM_PASS_END(AMDGPUCodeGenPrepare | |
Variables | |
| DEBUG_TYPE | |
| AMDGPU IR | optimizations |
| AMDGPU IR | false |
This pass does misc.
AMDGPU optimizations on IR before instruction selection.
Definition in file AMDGPUCodeGenPrepare.cpp.
| #define DEBUG_TYPE "amdgpu-codegenprepare" |
Definition at line 28 of file AMDGPUCodeGenPrepare.cpp.
Definition at line 390 of file AMDGPUCodeGenPrepare.cpp.
References llvm::Function::getFnAttribute(), and llvm::Attribute::getValueAsString().
| INITIALIZE_TM_PASS_BEGIN | ( | AMDGPUCodeGenPrepare | , |
| DEBUG_TYPE | , | ||
| "AMDGPU IR optimizations" | , | ||
| false | , | ||
| false | |||
| ) |
Definition at line 312 of file AMDGPUCodeGenPrepare.cpp.
References llvm::dyn_cast(), and llvm::ConstantFP::isExactlyValue().
| DEBUG_TYPE |
Definition at line 473 of file AMDGPUCodeGenPrepare.cpp.
| AMDGPU IR false |
Definition at line 473 of file AMDGPUCodeGenPrepare.cpp.
| AMDGPU IR optimizations |
Definition at line 473 of file AMDGPUCodeGenPrepare.cpp.
1.8.6