/openbsd/gnu/llvm/llvm/lib/Target/PowerPC/ |
H A D | PPCVSXSwapRemoval.cpp | 864 unsigned EltNo; in handleSpecialSwappables() local 866 EltNo = MI->getOperand(2).getImm(); in handleSpecialSwappables() 868 EltNo = MI->getOperand(1).getImm(); in handleSpecialSwappables() 870 EltNo = (EltNo + NElts / 2) % NElts; in handleSpecialSwappables() 872 MI->getOperand(2).setImm(EltNo); in handleSpecialSwappables() 874 MI->getOperand(1).setImm(EltNo); in handleSpecialSwappables()
|
H A D | PPCISelLowering.cpp | 10109 unsigned EltNo = 8; // Start out undef. in LowerVECTOR_SHUFFLE() local 10120 if (EltNo == 8) { in LowerVECTOR_SHUFFLE() 10121 EltNo = ByteSource / 4; in LowerVECTOR_SHUFFLE() 10122 } else if (EltNo != ByteSource / 4) { in LowerVECTOR_SHUFFLE() 10127 PFIndexes[i] = EltNo; in LowerVECTOR_SHUFFLE()
|
/openbsd/gnu/llvm/llvm/lib/Analysis/ |
H A D | VectorUtils.cpp | 285 Value *llvm::findScalarElement(Value *V, unsigned EltNo) { in findScalarElement() argument 291 if (EltNo >= Width) in findScalarElement() 296 return C->getAggregateElement(EltNo); in findScalarElement() 306 if (EltNo == IIElt) in findScalarElement() 315 return findScalarElement(III->getOperand(0), EltNo); in findScalarElement() 323 int InEl = SVI->getMaskValue(EltNo); in findScalarElement() 335 if (Constant *Elt = C->getAggregateElement(EltNo)) in findScalarElement() 337 return findScalarElement(Val, EltNo); in findScalarElement() 342 if (EltNo < VTy->getElementCount().getKnownMinValue()) in findScalarElement()
|
/openbsd/gnu/llvm/clang/include/clang/AST/ |
H A D | ASTVector.h | 234 size_t EltNo = I-this->begin(); in insert() local 236 I = this->begin()+EltNo; in insert()
|
/openbsd/gnu/llvm/llvm/include/llvm/Analysis/ |
H A D | VectorUtils.h | 350 Value *findScalarElement(Value *V, unsigned EltNo);
|
/openbsd/gnu/llvm/llvm/lib/Target/AMDGPU/ |
H A D | R600ISelLowering.cpp | 1772 SDValue EltNo = N->getOperand(2); in PerformDAGCombine() local 1785 if (!isa<ConstantSDNode>(EltNo)) in PerformDAGCombine() 1787 unsigned Elt = cast<ConstantSDNode>(EltNo)->getZExtValue(); in PerformDAGCombine()
|
/openbsd/gnu/llvm/llvm/lib/CodeGen/SelectionDAG/ |
H A D | SelectionDAG.cpp | 3690 SDValue EltNo = Op.getOperand(1); in computeKnownBits() local 3706 auto *ConstEltNo = dyn_cast<ConstantSDNode>(EltNo); in computeKnownBits() 3725 SDValue EltNo = Op.getOperand(2); in computeKnownBits() local 3728 auto *CEltNo = dyn_cast<ConstantSDNode>(EltNo); in computeKnownBits() 4382 SDValue EltNo = Op.getOperand(2); in ComputeNumSignBits() local 4385 auto *CEltNo = dyn_cast<ConstantSDNode>(EltNo); in ComputeNumSignBits() 4409 SDValue EltNo = Op.getOperand(1); in ComputeNumSignBits() local 4427 auto *ConstEltNo = dyn_cast<ConstantSDNode>(EltNo); in ComputeNumSignBits()
|
H A D | DAGCombiner.cpp | 379 SDValue EltNo, 13818 SDValue EltNo = N0->getOperand(1); in visitTRUNCATE() local 13819 if (isa<ConstantSDNode>(EltNo) && isTypeLegal(NVT)) { in visitTRUNCATE() 13820 int Elt = cast<ConstantSDNode>(EltNo)->getZExtValue(); in visitTRUNCATE() 20191 SDValue EltNo = N->getOperand(2); in visitINSERT_VECTOR_ELT() local 20195 auto *IndexC = dyn_cast<ConstantSDNode>(EltNo); in visitINSERT_VECTOR_ELT() 20205 InVec == InVal.getOperand(0) && EltNo == InVal.getOperand(1)) in visitINSERT_VECTOR_ELT() 20246 InVec.getOperand(0), InVal, EltNo); in visitINSERT_VECTOR_ELT() 20380 SDValue EltNo, in scalarizeExtractedVectorLoad() argument 20402 if (auto *ConstEltNo = dyn_cast<ConstantSDNode>(EltNo)) { in scalarizeExtractedVectorLoad() [all …]
|
/openbsd/gnu/llvm/llvm/lib/Target/ARM/ |
H A D | ARMISelLowering.cpp | 8161 unsigned EltNo = cast<ConstantSDNode>(V.getOperand(1))->getZExtValue(); in ReconstructShuffle() local 8162 Source->MinElt = std::min(Source->MinElt, EltNo); in ReconstructShuffle() 8163 Source->MaxElt = std::max(Source->MaxElt, EltNo); in ReconstructShuffle() 8274 int EltNo = cast<ConstantSDNode>(Entry.getOperand(1))->getSExtValue(); in ReconstructShuffle() local 8288 int ExtractBase = EltNo * Src->WindowScale + Src->WindowBase; in ReconstructShuffle()
|
/openbsd/gnu/llvm/llvm/lib/Target/AArch64/ |
H A D | AArch64ISelLowering.cpp | 10359 unsigned EltNo = cast<ConstantSDNode>(V.getOperand(1))->getZExtValue(); in ReconstructShuffle() local 10360 Source->MinElt = std::min(Source->MinElt, EltNo); in ReconstructShuffle() 10361 Source->MaxElt = std::max(Source->MaxElt, EltNo); in ReconstructShuffle() 10549 int EltNo = cast<ConstantSDNode>(Entry.getOperand(1))->getSExtValue(); in ReconstructShuffle() local 10563 int ExtractBase = EltNo * Src->WindowScale + Src->WindowBase; in ReconstructShuffle()
|
/openbsd/gnu/llvm/clang/lib/CodeGen/ |
H A D | CGBuiltin.cpp | 15804 auto StoreSubVec = [&](unsigned Width, unsigned Offset, unsigned EltNo) { in EmitPPCBuiltinExpr() argument 15846 Value *Elt = Builder.CreateExtractElement(Vec, EltNo); in EmitPPCBuiltinExpr()
|
/openbsd/gnu/llvm/llvm/lib/Target/X86/ |
H A D | X86ISelLowering.cpp | 9246 int EltNo = (Offset - StartOffset) >> 2; in LowerAsSplatVectorLoad() local 9253 SmallVector<int, 8> Mask(NumElems, EltNo); in LowerAsSplatVectorLoad()
|