mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-15 04:30:12 +00:00
Move prototype of llvm::ConstantFoldInstruction
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10786 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
8f90b005d6
commit
c4a1509829
@ -223,11 +223,6 @@ inline ConstantBool *operator<=(const Constant &V1,
|
|||||||
// Implement higher level instruction folding type instructions
|
// Implement higher level instruction folding type instructions
|
||||||
//===----------------------------------------------------------------------===//
|
//===----------------------------------------------------------------------===//
|
||||||
|
|
||||||
// ConstantFoldInstruction - Attempt to constant fold the specified instruction.
|
|
||||||
// If successful, the constant result is returned, if not, null is returned.
|
|
||||||
//
|
|
||||||
Constant *ConstantFoldInstruction(Instruction *I);
|
|
||||||
|
|
||||||
// Constant fold various types of instruction...
|
// Constant fold various types of instruction...
|
||||||
Constant *ConstantFoldCastInstruction(const Constant *V, const Type *DestTy);
|
Constant *ConstantFoldCastInstruction(const Constant *V, const Type *DestTy);
|
||||||
Constant *ConstantFoldBinaryInstruction(unsigned Opcode, const Constant *V1,
|
Constant *ConstantFoldBinaryInstruction(unsigned Opcode, const Constant *V1,
|
||||||
|
@ -223,11 +223,6 @@ inline ConstantBool *operator<=(const Constant &V1,
|
|||||||
// Implement higher level instruction folding type instructions
|
// Implement higher level instruction folding type instructions
|
||||||
//===----------------------------------------------------------------------===//
|
//===----------------------------------------------------------------------===//
|
||||||
|
|
||||||
// ConstantFoldInstruction - Attempt to constant fold the specified instruction.
|
|
||||||
// If successful, the constant result is returned, if not, null is returned.
|
|
||||||
//
|
|
||||||
Constant *ConstantFoldInstruction(Instruction *I);
|
|
||||||
|
|
||||||
// Constant fold various types of instruction...
|
// Constant fold various types of instruction...
|
||||||
Constant *ConstantFoldCastInstruction(const Constant *V, const Type *DestTy);
|
Constant *ConstantFoldCastInstruction(const Constant *V, const Type *DestTy);
|
||||||
Constant *ConstantFoldBinaryInstruction(unsigned Opcode, const Constant *V1,
|
Constant *ConstantFoldBinaryInstruction(unsigned Opcode, const Constant *V1,
|
||||||
|
@ -223,11 +223,6 @@ inline ConstantBool *operator<=(const Constant &V1,
|
|||||||
// Implement higher level instruction folding type instructions
|
// Implement higher level instruction folding type instructions
|
||||||
//===----------------------------------------------------------------------===//
|
//===----------------------------------------------------------------------===//
|
||||||
|
|
||||||
// ConstantFoldInstruction - Attempt to constant fold the specified instruction.
|
|
||||||
// If successful, the constant result is returned, if not, null is returned.
|
|
||||||
//
|
|
||||||
Constant *ConstantFoldInstruction(Instruction *I);
|
|
||||||
|
|
||||||
// Constant fold various types of instruction...
|
// Constant fold various types of instruction...
|
||||||
Constant *ConstantFoldCastInstruction(const Constant *V, const Type *DestTy);
|
Constant *ConstantFoldCastInstruction(const Constant *V, const Type *DestTy);
|
||||||
Constant *ConstantFoldBinaryInstruction(unsigned Opcode, const Constant *V1,
|
Constant *ConstantFoldBinaryInstruction(unsigned Opcode, const Constant *V1,
|
||||||
|
Loading…
Reference in New Issue
Block a user