|
LLVM 24.0.0git
|
#include "NVPTX.h"#include "llvm/IR/Function.h"#include "llvm/IR/InlineAsm.h"#include "llvm/IR/Instructions.h"#include "llvm/IR/Type.h"#include "llvm/Pass.h"Go to the source code of this file.
Functions | |
| static bool | isLoweredToTrap (const UnreachableInst &I, bool TrapUnreachable, bool NoTrapAfterNoreturn) |
| static bool | lowerUnreachable (Function &F, bool TrapUnreachable, bool NoTrapAfterNoreturn) |
| INITIALIZE_PASS (NVPTXLowerUnreachableLegacyPass, "nvptx-lower-unreachable", "Lower Unreachable", false, false) FunctionPass *llvm | |
| INITIALIZE_PASS | ( | NVPTXLowerUnreachableLegacyPass | , |
| "nvptx-lower-unreachable" | , | ||
| "Lower Unreachable" | , | ||
| false | , | ||
| false | ) |
Definition at line 161 of file NVPTXLowerUnreachable.cpp.
References llvm::createNVPTXLowerUnreachableLegacyPass().
|
static |
Definition at line 86 of file NVPTXLowerUnreachable.cpp.
References Call, llvm::dyn_cast_or_null(), and I.
Referenced by lowerUnreachable().
Definition at line 106 of file NVPTXLowerUnreachable.cpp.
References C(), Changed, llvm::CallInst::Create(), llvm::dyn_cast(), F, llvm::FunctionType::get(), llvm::InlineAsm::get(), llvm::Type::getVoidTy(), I, and isLoweredToTrap().
Referenced by llvm::NVPTXLowerUnreachablePass::run().