Home
last modified time | relevance | path

Searched refs:EltNo (Results 1 – 9 of 9) sorted by relevance

/external/llvm/lib/Transforms/InstCombine/
DInstCombineVectorOps.cpp66 static Value *FindScalarElement(Value *V, unsigned EltNo) { in FindScalarElement() argument
70 if (EltNo >= Width) // Out of range access. in FindScalarElement()
74 return C->getAggregateElement(EltNo); in FindScalarElement()
84 if (EltNo == IIElt) in FindScalarElement()
89 return FindScalarElement(III->getOperand(0), EltNo); in FindScalarElement()
94 int InEl = SVI->getMaskValue(EltNo); in FindScalarElement()
105 if (Con->getAggregateElement(EltNo)->isNullValue()) in FindScalarElement()
106 return FindScalarElement(Val, EltNo); in FindScalarElement()
/external/clang/include/clang/AST/
DASTVector.h231 size_t EltNo = I-this->begin(); in insert() local
233 I = this->begin()+EltNo; in insert()
/external/llvm/include/llvm/ADT/
DSmallVector.h489 size_t EltNo = I-this->begin(); in insert() local
491 I = this->begin()+EltNo; in insert()
519 size_t EltNo = I-this->begin(); in insert() local
521 I = this->begin()+EltNo; in insert()
/external/llvm/lib/CodeGen/SelectionDAG/
DDAGCombiner.cpp201 SDNode *EVE, EVT InVecVT, SDValue EltNo, LoadSDNode *OriginalLoad);
6613 SDValue EltNo = N0->getOperand(1); in visitTRUNCATE() local
6614 if (isa<ConstantSDNode>(EltNo) && isTypeLegal(NVT)) { in visitTRUNCATE()
6615 int Elt = cast<ConstantSDNode>(EltNo)->getZExtValue(); in visitTRUNCATE()
10830 SDValue EltNo = N->getOperand(2); in visitINSERT_VECTOR_ELT() local
10844 if (!isa<ConstantSDNode>(EltNo)) in visitINSERT_VECTOR_ELT()
10846 unsigned Elt = cast<ConstantSDNode>(EltNo)->getZExtValue(); in visitINSERT_VECTOR_ELT()
10862 InVec.getOperand(0), InVal, EltNo); in visitINSERT_VECTOR_ELT()
10902 SDNode *EVE, EVT InVecVT, SDValue EltNo, LoadSDNode *OriginalLoad) { in ReplaceExtractVectorEltOfLoadWithNarrowedLoad() argument
10918 if (auto *ConstEltNo = dyn_cast<ConstantSDNode>(EltNo)) { in ReplaceExtractVectorEltOfLoadWithNarrowedLoad()
[all …]
/external/llvm/lib/Target/R600/
DR600ISelLowering.cpp1885 SDValue EltNo = N->getOperand(2); in PerformDAGCombine() local
1899 if (!isa<ConstantSDNode>(EltNo)) in PerformDAGCombine()
1901 unsigned Elt = cast<ConstantSDNode>(EltNo)->getZExtValue(); in PerformDAGCombine()
/external/llvm/lib/Target/ARM/
DARMISelLowering.cpp5215 unsigned EltNo = cast<ConstantSDNode>(V.getOperand(1))->getZExtValue(); in ReconstructShuffle() local
5219 if (MinElts[j] > EltNo) in ReconstructShuffle()
5220 MinElts[j] = EltNo; in ReconstructShuffle()
5221 if (MaxElts[j] < EltNo) in ReconstructShuffle()
5222 MaxElts[j] = EltNo; in ReconstructShuffle()
5231 MinElts.push_back(EltNo); in ReconstructShuffle()
5232 MaxElts.push_back(EltNo); in ReconstructShuffle()
/external/llvm/lib/Target/AArch64/
DAArch64ISelLowering.cpp4575 unsigned EltNo = cast<ConstantSDNode>(V.getOperand(1))->getZExtValue(); in ReconstructShuffle() local
4576 Source->MinElt = std::min(Source->MinElt, EltNo); in ReconstructShuffle()
4577 Source->MaxElt = std::max(Source->MaxElt, EltNo); in ReconstructShuffle()
4686 int EltNo = cast<ConstantSDNode>(Entry.getOperand(1))->getSExtValue(); in ReconstructShuffle() local
4700 int ExtractBase = EltNo * Src->WindowScale + Src->WindowBase; in ReconstructShuffle()
/external/llvm/lib/Target/PowerPC/
DPPCISelLowering.cpp6993 unsigned EltNo = 8; // Start out undef. in LowerVECTOR_SHUFFLE() local
7004 if (EltNo == 8) { in LowerVECTOR_SHUFFLE()
7005 EltNo = ByteSource/4; in LowerVECTOR_SHUFFLE()
7006 } else if (EltNo != ByteSource/4) { in LowerVECTOR_SHUFFLE()
7011 PFIndexes[i] = EltNo; in LowerVECTOR_SHUFFLE()
/external/llvm/lib/Target/X86/
DX86ISelLowering.cpp4735 int EltNo = (Offset - StartOffset) >> 2; in LowerAsSplatVectorLoad() local
4743 SmallVector<int, 8> Mask(NumElems, EltNo); in LowerAsSplatVectorLoad()
20385 SDValue EltNo = N->getOperand(1); in XFormVExtractWithShuffleIntoLoad() local
20387 if (!isa<ConstantSDNode>(EltNo)) in XFormVExtractWithShuffleIntoLoad()
20419 int Elt = cast<ConstantSDNode>(EltNo)->getZExtValue(); in XFormVExtractWithShuffleIntoLoad()
20468 EltNo); in XFormVExtractWithShuffleIntoLoad()