[llvm-commits] CVS: llvm/include/llvm/Reoptimizer/InstrUtils.h
Anand Shukla
ashukla at cs.uiuc.edu
Sat Sep 21 00:06:01 PDT 2002
Changes in directory llvm/include/llvm/Reoptimizer:
InstrUtils.h updated: 1.2 -> 1.3
---
Log message:
added exit stubs for outgoing branches!
---
Diffs of the changes:
Index: llvm/include/llvm/Reoptimizer/InstrUtils.h
diff -u llvm/include/llvm/Reoptimizer/InstrUtils.h:1.2 llvm/include/llvm/Reoptimizer/InstrUtils.h:1.3
--- llvm/include/llvm/Reoptimizer/InstrUtils.h:1.2 Tue Sep 17 12:19:02 2002
+++ llvm/include/llvm/Reoptimizer/InstrUtils.h Sat Sep 21 00:05:32 2002
@@ -10,6 +10,9 @@
#include "Support/DataTypes.h"
#include <algorithm>
+uint64_t getBranchTarget(unsigned int y, uint64_t oldAdd);
+unsigned int getBranchInst(unsigned int a, uint64_t to, uint64_t pc);
+
bool isNonDepJump(unsigned int y);
uint64_t getNonDepJmpTarget(unsigned int y, uint64_t oldAdd);
unsigned int getUndepJumpInstr(unsigned int a, uint64_t to, uint64_t pc);
@@ -29,7 +32,8 @@
//BPR: (b&(2^22+2^23+2^24) == (2^22+2^23)
bool isBPR(unsigned int b);
uint64_t getBPRTarget(unsigned int b, uint64_t oldAdd);
-std::pair<unsigned int, unsigned int> getBPRInstr(unsigned int b, uint64_t to, uint64_t frm);
+
+unsigned int getBPRInstr(unsigned int b, uint64_t to, uint64_t frm);
bool isBranchInstr(unsigned int y);
More information about the llvm-commits
mailing list