projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
add a new code
[oota-llvm.git]
/
include
/
llvm
/
IntrinsicInst.h
diff --git
a/include/llvm/IntrinsicInst.h
b/include/llvm/IntrinsicInst.h
index 146ce1db080aac4c2f3dba484d3e11305866129f..4e4d47513dd005046d335d0fa6dd9bbcb24d5a21 100644
(file)
--- a/
include/llvm/IntrinsicInst.h
+++ b/
include/llvm/IntrinsicInst.h
@@
-28,6
+28,7
@@
#include "llvm/Function.h"
#include "llvm/Instructions.h"
#include "llvm/Intrinsics.h"
#include "llvm/Function.h"
#include "llvm/Instructions.h"
#include "llvm/Intrinsics.h"
+#include "llvm/System/IncludeFile.h"
namespace llvm {
/// IntrinsicInst - A useful wrapper class for inspecting calls to intrinsic
namespace llvm {
/// IntrinsicInst - A useful wrapper class for inspecting calls to intrinsic
@@
-96,10
+97,10
@@
namespace llvm {
}
unsigned getLine() const {
}
unsigned getLine() const {
- return unsigned(cast<ConstantInt>(getOperand(1))->get
Raw
Value());
+ return unsigned(cast<ConstantInt>(getOperand(1))->get
ZExt
Value());
}
unsigned getColumn() const {
}
unsigned getColumn() const {
- return unsigned(cast<ConstantInt>(getOperand(2))->get
Raw
Value());
+ return unsigned(cast<ConstantInt>(getOperand(2))->get
ZExt
Value());
}
std::string getFileName() const;
}
std::string getFileName() const;
@@
-312,6
+313,11
@@
namespace llvm {
return isa<IntrinsicInst>(V) && classof(cast<IntrinsicInst>(V));
}
};
return isa<IntrinsicInst>(V) && classof(cast<IntrinsicInst>(V));
}
};
+
}
}
+// Ensure that the IntrinsicInst.cpp file gets added as a dependency of any
+// file that includes this header
+FORCE_DEFINING_FILE_TO_BE_LINKED(IntrinsicInst)
+
#endif
#endif