LLVM 18.0.0git
|
#include "DXILConstants.h"
#include "DXILOpBuilder.h"
#include "DirectX.h"
#include "llvm/ADT/SmallVector.h"
#include "llvm/CodeGen/Passes.h"
#include "llvm/IR/IRBuilder.h"
#include "llvm/IR/Instruction.h"
#include "llvm/IR/Intrinsics.h"
#include "llvm/IR/IntrinsicsDirectX.h"
#include "llvm/IR/Module.h"
#include "llvm/IR/PassManager.h"
#include "llvm/Pass.h"
#include "llvm/Support/ErrorHandling.h"
#include "DXILOperation.inc"
Go to the source code of this file.
Macros | |
#define | DEBUG_TYPE "dxil-op-lower" |
#define | DXIL_OP_INTRINSIC_MAP |
Functions | |
static void | lowerIntrinsic (dxil::OpCode DXILOp, Function &F, Module &M) |
static bool | lowerIntrinsics (Module &M) |
INITIALIZE_PASS_BEGIN (DXILOpLoweringLegacy, DEBUG_TYPE, "DXIL Op Lowering", false, false) INITIALIZE_PASS_END(DXILOpLoweringLegacy | |
Variables | |
DEBUG_TYPE | |
DXIL Op | Lowering |
DXIL Op | false |
#define DEBUG_TYPE "dxil-op-lower" |
Definition at line 27 of file DXILOpLowering.cpp.
#define DXIL_OP_INTRINSIC_MAP |
INITIALIZE_PASS_BEGIN | ( | DXILOpLoweringLegacy | , |
DEBUG_TYPE | , | ||
"DXIL Op Lowering" | , | ||
false | , | ||
false | |||
) |
Definition at line 32 of file DXILOpLowering.cpp.
References llvm::CallBase::arg_begin(), llvm::CallBase::arg_end(), llvm::CallBase::args(), B, llvm::dxil::DXILOpBuilder::createDXILOpCall(), llvm::Instruction::eraseFromParent(), F, llvm::dxil::DXILOpBuilder::getOverloadTy(), llvm::make_early_inc_range(), and llvm::Value::replaceAllUsesWith().
Referenced by lowerIntrinsics().
Definition at line 56 of file DXILOpLowering.cpp.
References F, lowerIntrinsic(), llvm::make_early_inc_range(), and llvm::Intrinsic::not_intrinsic.
DEBUG_TYPE |
Definition at line 105 of file DXILOpLowering.cpp.
DXIL Op false |
Definition at line 105 of file DXILOpLowering.cpp.
DXIL Op Lowering |
Definition at line 105 of file DXILOpLowering.cpp.