summaryrefslogtreecommitdiffstats
path: root/llvm/lib/VMCore/Instructions.cpp
diff options
context:
space:
mode:
authorReid Spencer <rspencer@reidspencer.com>2006-12-18 08:52:59 +0000
committerReid Spencer <rspencer@reidspencer.com>2006-12-18 08:52:59 +0000
commite45ac2ab119fc37c24634d3111b52023aaa18cee (patch)
treef4819ac2115a508ab3c001ff6a82cb716a29a461 /llvm/lib/VMCore/Instructions.cpp
parent668d90f2892ed5700faa78951c5686923f2a9d6e (diff)
downloadbcm5719-llvm-e45ac2ab119fc37c24634d3111b52023aaa18cee.tar.gz
bcm5719-llvm-e45ac2ab119fc37c24634d3111b52023aaa18cee.zip
Remove the createInferredCast methods now that their last uses have been
removed. All casting is now explicit and not inferred by VMCore. llvm-svn: 32655
Diffstat (limited to 'llvm/lib/VMCore/Instructions.cpp')
-rw-r--r--llvm/lib/VMCore/Instructions.cpp14
1 files changed, 0 insertions, 14 deletions
diff --git a/llvm/lib/VMCore/Instructions.cpp b/llvm/lib/VMCore/Instructions.cpp
index 07a44ee750f..cf1e5e91e54 100644
--- a/llvm/lib/VMCore/Instructions.cpp
+++ b/llvm/lib/VMCore/Instructions.cpp
@@ -1782,20 +1782,6 @@ checkCast(Instruction::CastOps op, Value *S, const Type *DstTy) {
}
}
-CastInst *CastInst::createInferredCast(
- Value *S, const Type *Ty, const std::string &Name, Instruction *InsertBefore)
-{
- return createInferredCast(S, S->getType()->isSigned(), Ty, Ty->isSigned(),
- Name, InsertBefore);
-}
-
-CastInst *CastInst::createInferredCast(
- Value *S, const Type *Ty, const std::string &Name, BasicBlock *InsertAtEnd)
-{
- return createInferredCast(S, S->getType()->isSigned(), Ty, Ty->isSigned(),
- Name, InsertAtEnd);
-}
-
TruncInst::TruncInst(
Value *S, const Type *Ty, const std::string &Name, Instruction *InsertBefore
) : CastInst(Ty, Trunc, S, Name, InsertBefore) {
OpenPOWER on IntegriCloud