summaryrefslogtreecommitdiffstats
path: root/llvm/lib/IR/Instructions.cpp
diff options
context:
space:
mode:
authorSanjay Patel <spatel@rotateright.com>2016-09-02 15:43:25 +0000
committerSanjay Patel <spatel@rotateright.com>2016-09-02 15:43:25 +0000
commitbd51c164d98ab7ed4c6d1a0e1acdabc4c3832835 (patch)
treeab2ff41362f5e4e5ecaf8252df54da8d8d840cb3 /llvm/lib/IR/Instructions.cpp
parent805815f40791e5000e4288eeb0a1bba5d0dfff53 (diff)
downloadbcm5719-llvm-bd51c164d98ab7ed4c6d1a0e1acdabc4c3832835.tar.gz
bcm5719-llvm-bd51c164d98ab7ed4c6d1a0e1acdabc4c3832835.zip
fix documentation comments; NFC
llvm-svn: 280489
Diffstat (limited to 'llvm/lib/IR/Instructions.cpp')
-rw-r--r--llvm/lib/IR/Instructions.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/llvm/lib/IR/Instructions.cpp b/llvm/lib/IR/Instructions.cpp
index 5355f1a617a..89c2caf0dbb 100644
--- a/llvm/lib/IR/Instructions.cpp
+++ b/llvm/lib/IR/Instructions.cpp
@@ -1908,9 +1908,6 @@ bool ShuffleVectorInst::isValidOperands(const Value *V1, const Value *V2,
return false;
}
-/// getMaskValue - Return the index from the shuffle mask for the specified
-/// output result. This is either -1 if the element is undef or a number less
-/// than 2*numelements.
int ShuffleVectorInst::getMaskValue(Constant *Mask, unsigned i) {
assert(i < Mask->getType()->getVectorNumElements() && "Index out of range");
if (ConstantDataSequential *CDS =dyn_cast<ConstantDataSequential>(Mask))
@@ -1921,8 +1918,6 @@ int ShuffleVectorInst::getMaskValue(Constant *Mask, unsigned i) {
return cast<ConstantInt>(C)->getZExtValue();
}
-/// getShuffleMask - Return the full mask for this instruction, where each
-/// element is the element number and undef's are returned as -1.
void ShuffleVectorInst::getShuffleMask(Constant *Mask,
SmallVectorImpl<int> &Result) {
unsigned NumElts = Mask->getType()->getVectorNumElements();
OpenPOWER on IntegriCloud