|
LLVM 23.0.0git
|
#include "DXILDebugInfo.h"#include "llvm/BinaryFormat/Dwarf.h"#include "llvm/IR/DebugInfo.h"#include "llvm/IR/Instructions.h"#include "llvm/IR/IntrinsicsDirectX.h"#include "llvm/IR/Module.h"#include "llvm/Transforms/Utils/BasicBlockUtils.h"Go to the source code of this file.
Macros | |
| #define | DEBUG_TYPE "dx-debug-info" |
Functions | |
| static void | replaceDbgVariableIntr (DbgVariableIntrinsic *DVI, Function *NewF, DXILDebugInfoMap &Res) |
| static void | replaceDbgValue (Module &M, DXILDebugInfoMap &Res) |
| #define DEBUG_TYPE "dx-debug-info" |
Definition at line 17 of file DXILDebugInfo.cpp.
|
static |
Definition at line 45 of file DXILDebugInfo.cpp.
References llvm::cast(), llvm::Function::copyAttributesFrom(), llvm::Function::Create(), F, llvm::dxil::DXILDebugInfoMap::FuncReplace, llvm::FunctionType::get(), llvm::Type::getInt64Ty(), and replaceDbgVariableIntr().
Referenced by llvm::dxil::DXILDebugInfoPass::run().
|
static |
Definition at line 23 of file DXILDebugInfo.cpp.
References llvm::CallInst::Create(), llvm::Value::getContext(), llvm::Instruction::getDebugLoc(), llvm::Function::getFunctionType(), llvm::Type::getInt64Ty(), llvm::IntrinsicInst::getIntrinsicID(), llvm::User::getOperand(), llvm::dxil::DXILDebugInfoMap::InstReplace, llvm::CallInst::isTailCall(), llvm::Instruction::setDebugLoc(), and llvm::CallInst::setTailCall().
Referenced by replaceDbgValue().