/external/llvm/lib/Analysis/ |
D | VectorUtils.cpp | 234 Value *llvm::findScalarElement(Value *V, unsigned EltNo) { in findScalarElement() argument 238 if (EltNo >= Width) // Out of range access. in findScalarElement() 242 return C->getAggregateElement(EltNo); in findScalarElement() 252 if (EltNo == IIElt) in findScalarElement() 257 return findScalarElement(III->getOperand(0), EltNo); in findScalarElement() 262 int InEl = SVI->getMaskValue(EltNo); in findScalarElement() 273 if (Constant *Elt = Con->getAggregateElement(EltNo)) in findScalarElement() 275 return findScalarElement(Val, EltNo); in findScalarElement()
|
/external/swiftshader/third_party/LLVM/lib/Transforms/InstCombine/ |
D | InstCombineVectorOps.cpp | 78 static Value *FindScalarElement(Value *V, unsigned EltNo) { in FindScalarElement() argument 82 if (EltNo >= Width) // Out of range access. in FindScalarElement() 90 return CP->getOperand(EltNo); in FindScalarElement() 100 if (EltNo == IIElt) in FindScalarElement() 105 return FindScalarElement(III->getOperand(0), EltNo); in FindScalarElement() 111 int InEl = getShuffleMask(SVI)[EltNo]; in FindScalarElement()
|
/external/llvm/lib/Target/PowerPC/ |
D | PPCVSXSwapRemoval.cpp | 832 unsigned EltNo; in handleSpecialSwappables() local 834 EltNo = MI->getOperand(2).getImm(); in handleSpecialSwappables() 836 EltNo = MI->getOperand(1).getImm(); in handleSpecialSwappables() 838 EltNo = (EltNo + NElts / 2) % NElts; in handleSpecialSwappables() 840 MI->getOperand(2).setImm(EltNo); in handleSpecialSwappables() 842 MI->getOperand(1).setImm(EltNo); in handleSpecialSwappables()
|
D | PPCISelLowering.cpp | 7568 unsigned EltNo = 8; // Start out undef. in LowerVECTOR_SHUFFLE() local 7579 if (EltNo == 8) { in LowerVECTOR_SHUFFLE() 7580 EltNo = ByteSource/4; in LowerVECTOR_SHUFFLE() 7581 } else if (EltNo != ByteSource/4) { in LowerVECTOR_SHUFFLE() 7586 PFIndexes[i] = EltNo; in LowerVECTOR_SHUFFLE()
|
/external/llvm/include/llvm/Analysis/ |
D | VectorUtils.h | 71 Value *findScalarElement(Value *V, unsigned EltNo);
|
/external/clang/include/clang/AST/ |
D | ASTVector.h | 231 size_t EltNo = I-this->begin(); in insert() local 233 I = this->begin()+EltNo; in insert()
|
/external/llvm/include/llvm/ADT/ |
D | SmallVector.h | 471 size_t EltNo = I-this->begin(); in insert() local 473 I = this->begin()+EltNo; in insert() 501 size_t EltNo = I-this->begin(); in insert() local 503 I = this->begin()+EltNo; in insert()
|
/external/swiftshader/third_party/llvm-subzero/include/llvm/ADT/ |
D | SmallVector.h | 474 size_t EltNo = I-this->begin(); in insert() local 476 I = this->begin()+EltNo; in insert() 504 size_t EltNo = I-this->begin(); in insert() local 506 I = this->begin()+EltNo; in insert()
|
/external/swiftshader/third_party/LLVM/include/llvm/ADT/ |
D | SmallVector.h | 423 size_t EltNo = I-this->begin(); in insert() local 425 I = this->begin()+EltNo; in insert()
|
/external/swiftshader/third_party/LLVM/lib/Target/CellSPU/ |
D | SPUISelLowering.cpp | 2001 int EltNo = (int) C->getZExtValue(); in LowerEXTRACT_VECTOR_ELT() local 2004 if (VT == MVT::i8 && EltNo >= 16) in LowerEXTRACT_VECTOR_ELT() 2006 else if (VT == MVT::i16 && EltNo >= 8) in LowerEXTRACT_VECTOR_ELT() 2008 else if (VT == MVT::i32 && EltNo >= 4) in LowerEXTRACT_VECTOR_ELT() 2010 else if (VT == MVT::i64 && EltNo >= 2) in LowerEXTRACT_VECTOR_ELT() 2013 if (EltNo == 0 && (VT == MVT::i32 || VT == MVT::i64)) { in LowerEXTRACT_VECTOR_ELT() 2020 int elt_byte = EltNo * VT.getSizeInBits() / 8; in LowerEXTRACT_VECTOR_ELT()
|
/external/swiftshader/third_party/LLVM/lib/Target/X86/ |
D | X86ISelLowering.cpp | 4408 static SDValue PromoteSplati8i16(SDValue V, SelectionDAG &DAG, int &EltNo) { in PromoteSplati8i16() argument 4414 if (EltNo < NumElems/2) { in PromoteSplati8i16() 4418 EltNo -= NumElems/2; in PromoteSplati8i16() 4426 static SDValue getLegalSplat(SelectionDAG &DAG, SDValue V, int EltNo) { in getLegalSplat() argument 4434 int SplatMask[4] = { EltNo, EltNo, EltNo, EltNo }; in getLegalSplat() 4441 int SplatMask[8] = { EltNo, EltNo, EltNo, EltNo, in getLegalSplat() 4442 EltNo+4, EltNo+4, EltNo+4, EltNo+4 }; in getLegalSplat() 4458 int EltNo = SV->getSplatIndex(); in PromoteSplat() local 4468 unsigned Idx = (EltNo > NumElems/2) ? NumElems/2 : 0; in PromoteSplat() 4471 EltNo -= NumElems/2; in PromoteSplat() [all …]
|
/external/llvm/lib/CodeGen/SelectionDAG/ |
D | DAGCombiner.cpp | 205 SDNode *EVE, EVT InVecVT, SDValue EltNo, LoadSDNode *OriginalLoad); 7127 SDValue EltNo = N0->getOperand(1); in visitTRUNCATE() local 7128 if (isa<ConstantSDNode>(EltNo) && isTypeLegal(NVT)) { in visitTRUNCATE() 7129 int Elt = cast<ConstantSDNode>(EltNo)->getZExtValue(); in visitTRUNCATE() 12184 SDValue EltNo = N->getOperand(2); in visitINSERT_VECTOR_ELT() local 12198 if (!isa<ConstantSDNode>(EltNo)) in visitINSERT_VECTOR_ELT() 12200 unsigned Elt = cast<ConstantSDNode>(EltNo)->getZExtValue(); in visitINSERT_VECTOR_ELT() 12216 InVec.getOperand(0), InVal, EltNo); in visitINSERT_VECTOR_ELT() 12256 SDNode *EVE, EVT InVecVT, SDValue EltNo, LoadSDNode *OriginalLoad) { in ReplaceExtractVectorEltOfLoadWithNarrowedLoad() argument 12275 if (auto *ConstEltNo = dyn_cast<ConstantSDNode>(EltNo)) { in ReplaceExtractVectorEltOfLoadWithNarrowedLoad() [all …]
|
/external/llvm/lib/Target/AMDGPU/ |
D | R600ISelLowering.cpp | 1999 SDValue EltNo = N->getOperand(2); in PerformDAGCombine() local 2013 if (!isa<ConstantSDNode>(EltNo)) in PerformDAGCombine() 2015 unsigned Elt = cast<ConstantSDNode>(EltNo)->getZExtValue(); in PerformDAGCombine()
|
/external/swiftshader/third_party/LLVM/lib/VMCore/ |
D | ConstantFold.cpp | 836 static Constant *GetVectorElement(Constant *C, unsigned EltNo) { in GetVectorElement() argument 838 return CV->getOperand(EltNo); in GetVectorElement()
|
/external/swiftshader/third_party/LLVM/lib/Target/PowerPC/ |
D | PPCISelLowering.cpp | 4245 unsigned EltNo = 8; // Start out undef. in LowerVECTOR_SHUFFLE() local 4256 if (EltNo == 8) { in LowerVECTOR_SHUFFLE() 4257 EltNo = ByteSource/4; in LowerVECTOR_SHUFFLE() 4258 } else if (EltNo != ByteSource/4) { in LowerVECTOR_SHUFFLE() 4263 PFIndexes[i] = EltNo; in LowerVECTOR_SHUFFLE()
|
/external/swiftshader/third_party/LLVM/lib/Target/ARM/ |
D | ARMISelLowering.cpp | 4074 unsigned EltNo = cast<ConstantSDNode>(V.getOperand(1))->getZExtValue(); in ReconstructShuffle() local 4078 if (MinElts[j] > EltNo) in ReconstructShuffle() 4079 MinElts[j] = EltNo; in ReconstructShuffle() 4080 if (MaxElts[j] < EltNo) in ReconstructShuffle() 4081 MaxElts[j] = EltNo; in ReconstructShuffle() 4090 MinElts.push_back(EltNo); in ReconstructShuffle() 4091 MaxElts.push_back(EltNo); in ReconstructShuffle()
|
/external/swiftshader/third_party/LLVM/lib/CodeGen/SelectionDAG/ |
D | DAGCombiner.cpp | 6774 SDValue EltNo = N->getOperand(2); in visitINSERT_VECTOR_ELT() local 6788 if (!isa<ConstantSDNode>(EltNo)) in visitINSERT_VECTOR_ELT() 6790 unsigned Elt = cast<ConstantSDNode>(EltNo)->getZExtValue(); in visitINSERT_VECTOR_ELT() 6847 SDValue EltNo = N->getOperand(1); in visitEXTRACT_VECTOR_ELT() local 6849 if (isa<ConstantSDNode>(EltNo)) { in visitEXTRACT_VECTOR_ELT() 6850 int Elt = cast<ConstantSDNode>(EltNo)->getZExtValue(); in visitEXTRACT_VECTOR_ELT()
|
/external/llvm/lib/Target/AArch64/ |
D | AArch64ISelLowering.cpp | 4976 unsigned EltNo = cast<ConstantSDNode>(V.getOperand(1))->getZExtValue(); in ReconstructShuffle() local 4977 Source->MinElt = std::min(Source->MinElt, EltNo); in ReconstructShuffle() 4978 Source->MaxElt = std::max(Source->MaxElt, EltNo); in ReconstructShuffle() 5088 int EltNo = cast<ConstantSDNode>(Entry.getOperand(1))->getSExtValue(); in ReconstructShuffle() local 5102 int ExtractBase = EltNo * Src->WindowScale + Src->WindowBase; in ReconstructShuffle()
|
/external/llvm/lib/Target/ARM/ |
D | ARMISelLowering.cpp | 5908 unsigned EltNo = cast<ConstantSDNode>(V.getOperand(1))->getZExtValue(); in ReconstructShuffle() local 5909 Source->MinElt = std::min(Source->MinElt, EltNo); in ReconstructShuffle() 5910 Source->MaxElt = std::max(Source->MaxElt, EltNo); in ReconstructShuffle() 6020 int EltNo = cast<ConstantSDNode>(Entry.getOperand(1))->getSExtValue(); in ReconstructShuffle() local 6034 int ExtractBase = EltNo * Src->WindowScale + Src->WindowBase; in ReconstructShuffle()
|
/external/llvm/lib/Target/X86/ |
D | X86ISelLowering.cpp | 5541 int EltNo = (Offset - StartOffset) >> 2; in LowerAsSplatVectorLoad() local 5549 SmallVector<int, 8> Mask(NumElems, EltNo); in LowerAsSplatVectorLoad() 26157 SDValue EltNo = N->getOperand(1); in XFormVExtractWithShuffleIntoLoad() local 26160 if (!isa<ConstantSDNode>(EltNo)) in XFormVExtractWithShuffleIntoLoad() 26194 int Elt = cast<ConstantSDNode>(EltNo)->getZExtValue(); in XFormVExtractWithShuffleIntoLoad() 26248 EltNo); in XFormVExtractWithShuffleIntoLoad()
|