File tree Expand file tree Collapse file tree 2 files changed +0
-9
lines changed Expand file tree Collapse file tree 2 files changed +0
-9
lines changed Original file line number Diff line number Diff line change 21
21
22
22
namespace llvm {
23
23
24
- // / Create a replacement instruction for constant expression \p CE and insert
25
- // / it before \p Instr.
26
- Instruction *createReplacementInstr (ConstantExpr *CE, Instruction *Instr);
27
-
28
24
// / The given instruction \p I contains given constant expression \p CE as one
29
25
// / of its operands, possibly nested within constant expression trees. Convert
30
26
// / all reachable paths from contant expression operands of \p I to \p CE into
Original file line number Diff line number Diff line change 17
17
#include " llvm/IR/NoFolder.h"
18
18
19
19
namespace llvm {
20
- // Replace a constant expression by instructions with equivalent operations at
21
- // a specified location.
22
- Instruction *createReplacementInstr (ConstantExpr *CE, Instruction *Instr) {
23
- return CE->getAsInstruction (Instr);
24
- }
25
20
26
21
void convertConstantExprsToInstructions (Instruction *I, ConstantExpr *CE,
27
22
SmallPtrSetImpl<Instruction *> *Insts) {
You can’t perform that action at this time.
0 commit comments