/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-7.0/llvm/lib/Analysis/ |
D | VectorUtils.cpp | 236 Value *llvm::findScalarElement(Value *V, unsigned EltNo) { in findScalarElement() argument 240 if (EltNo >= Width) // Out of range access. in findScalarElement() 244 return C->getAggregateElement(EltNo); in findScalarElement() 254 if (EltNo == IIElt) in findScalarElement() 259 return findScalarElement(III->getOperand(0), EltNo); in findScalarElement() 264 int InEl = SVI->getMaskValue(EltNo); in findScalarElement() 275 if (Constant *Elt = Con->getAggregateElement(EltNo)) in findScalarElement() 277 return findScalarElement(Val, EltNo); in findScalarElement()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/PowerPC/ |
D | PPCVSXSwapRemoval.cpp | 842 unsigned EltNo; in handleSpecialSwappables() local 844 EltNo = MI->getOperand(2).getImm(); in handleSpecialSwappables() 846 EltNo = MI->getOperand(1).getImm(); in handleSpecialSwappables() 848 EltNo = (EltNo + NElts / 2) % NElts; in handleSpecialSwappables() 850 MI->getOperand(2).setImm(EltNo); in handleSpecialSwappables() 852 MI->getOperand(1).setImm(EltNo); in handleSpecialSwappables()
|
D | PPCISelLowering.cpp | 8557 unsigned EltNo = 8; // Start out undef. in LowerVECTOR_SHUFFLE() local 8568 if (EltNo == 8) { in LowerVECTOR_SHUFFLE() 8569 EltNo = ByteSource/4; in LowerVECTOR_SHUFFLE() 8570 } else if (EltNo != ByteSource/4) { in LowerVECTOR_SHUFFLE() 8575 PFIndexes[i] = EltNo; in LowerVECTOR_SHUFFLE()
|
/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/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Analysis/ |
D | VectorUtils.h | 72 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-7.0/llvm/include/llvm/ADT/ |
D | SmallVector.h | 488 size_t EltNo = I-this->begin(); in insert() local 490 I = this->begin()+EltNo; in insert() 518 size_t EltNo = I-this->begin(); in insert() local 520 I = this->begin()+EltNo; in insert()
|
/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/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/SelectionDAG/ |
D | DAGCombiner.cpp | 261 SDNode *EVE, EVT InVecVT, SDValue EltNo, LoadSDNode *OriginalLoad); 9430 SDValue EltNo = N0->getOperand(1); in visitTRUNCATE() local 9431 if (isa<ConstantSDNode>(EltNo) && isTypeLegal(NVT)) { in visitTRUNCATE() 9432 int Elt = cast<ConstantSDNode>(EltNo)->getZExtValue(); in visitTRUNCATE() 14971 SDValue EltNo = N->getOperand(2); in visitINSERT_VECTOR_ELT() local 14983 InVec == InVal.getOperand(0) && EltNo == InVal.getOperand(1)) in visitINSERT_VECTOR_ELT() 14987 auto *IndexC = dyn_cast<ConstantSDNode>(EltNo); in visitINSERT_VECTOR_ELT() 15008 InVec.getOperand(0), InVal, EltNo); in visitINSERT_VECTOR_ELT() 15048 SDNode *EVE, EVT InVecVT, SDValue EltNo, LoadSDNode *OriginalLoad) { in ReplaceExtractVectorEltOfLoadWithNarrowedLoad() argument 15072 if (auto *ConstEltNo = dyn_cast<ConstantSDNode>(EltNo)) { in ReplaceExtractVectorEltOfLoadWithNarrowedLoad() [all …]
|
D | SelectionDAG.cpp | 2885 SDValue EltNo = Op.getOperand(1); in computeKnownBits() local 2894 ConstantSDNode *ConstEltNo = dyn_cast<ConstantSDNode>(EltNo); in computeKnownBits() 2911 SDValue EltNo = Op.getOperand(2); in computeKnownBits() local 2913 ConstantSDNode *CEltNo = dyn_cast<ConstantSDNode>(EltNo); in computeKnownBits() 3468 SDValue EltNo = Op.getOperand(2); in ComputeNumSignBits() local 3471 ConstantSDNode *CEltNo = dyn_cast<ConstantSDNode>(EltNo); in ComputeNumSignBits() 3505 SDValue EltNo = Op.getOperand(1); in ComputeNumSignBits() local 3520 ConstantSDNode *ConstEltNo = dyn_cast<ConstantSDNode>(EltNo); in ComputeNumSignBits()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AMDGPU/ |
D | R600ISelLowering.cpp | 1891 SDValue EltNo = N->getOperand(2); in PerformDAGCombine() local 1904 if (!isa<ConstantSDNode>(EltNo)) in PerformDAGCombine() 1906 unsigned Elt = cast<ConstantSDNode>(EltNo)->getZExtValue(); in PerformDAGCombine()
|
/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/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/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AArch64/ |
D | AArch64ISelLowering.cpp | 5752 unsigned EltNo = cast<ConstantSDNode>(V.getOperand(1))->getZExtValue(); in ReconstructShuffle() local 5753 Source->MinElt = std::min(Source->MinElt, EltNo); in ReconstructShuffle() 5754 Source->MaxElt = std::max(Source->MaxElt, EltNo); in ReconstructShuffle() 5866 int EltNo = cast<ConstantSDNode>(Entry.getOperand(1))->getSExtValue(); in ReconstructShuffle() local 5880 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/swiftshader/third_party/llvm-7.0/llvm/lib/Target/ARM/ |
D | ARMISelLowering.cpp | 6736 unsigned EltNo = cast<ConstantSDNode>(V.getOperand(1))->getZExtValue(); in ReconstructShuffle() local 6737 Source->MinElt = std::min(Source->MinElt, EltNo); in ReconstructShuffle() 6738 Source->MaxElt = std::max(Source->MaxElt, EltNo); in ReconstructShuffle() 6847 int EltNo = cast<ConstantSDNode>(Entry.getOperand(1))->getSExtValue(); in ReconstructShuffle() local 6861 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()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/X86/ |
D | X86ISelLowering.cpp | 6761 int EltNo = (Offset - StartOffset) >> 2; in LowerAsSplatVectorLoad() local 6768 SmallVector<int, 8> Mask(NumElems, EltNo); in LowerAsSplatVectorLoad() 31306 SDValue EltNo = N->getOperand(1); in XFormVExtractWithShuffleIntoLoad() local 31309 if (!isa<ConstantSDNode>(EltNo)) in XFormVExtractWithShuffleIntoLoad() 31338 int Elt = cast<ConstantSDNode>(EltNo)->getZExtValue(); in XFormVExtractWithShuffleIntoLoad() 31392 EltNo); in XFormVExtractWithShuffleIntoLoad()
|