Home
last modified time | relevance | path

Searched refs:ExtractIdx (Results 1 – 13 of 13) sorted by relevance

/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/
DLoopUtils.cpp810 for (unsigned ExtractIdx = 0; ExtractIdx != VF; ++ExtractIdx) { in getOrderedReduction() local
812 Builder.CreateExtractElement(Src, Builder.getInt32(ExtractIdx)); in getOrderedReduction()
/external/llvm-project/llvm/lib/Transforms/Utils/
DLoopUtils.cpp920 for (unsigned ExtractIdx = 0; ExtractIdx != VF; ++ExtractIdx) { in getOrderedReduction() local
922 Builder.CreateExtractElement(Src, Builder.getInt32(ExtractIdx)); in getOrderedReduction()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/IR/
DConstantFold.cpp986 Constant *ExtractIdx = ConstantInt::get(Ty, i); in ConstantFoldUnaryInstruction() local
987 Constant *Elt = ConstantExpr::getExtractElement(C, ExtractIdx); in ConstantFoldUnaryInstruction()
1337 Constant *ExtractIdx = ConstantInt::get(Ty, i); in ConstantFoldBinaryInstruction() local
1338 Constant *LHS = ConstantExpr::getExtractElement(C1, ExtractIdx); in ConstantFoldBinaryInstruction()
1339 Constant *RHS = ConstantExpr::getExtractElement(C2, ExtractIdx); in ConstantFoldBinaryInstruction()
/external/llvm-project/llvm/lib/IR/
DConstantFold.cpp1077 Constant *ExtractIdx = ConstantInt::get(Ty, i); in ConstantFoldUnaryInstruction() local
1078 Constant *Elt = ConstantExpr::getExtractElement(C, ExtractIdx); in ConstantFoldUnaryInstruction()
1457 Constant *ExtractIdx = ConstantInt::get(Ty, i); in ConstantFoldBinaryInstruction() local
1458 Constant *LHS = ConstantExpr::getExtractElement(C1, ExtractIdx); in ConstantFoldBinaryInstruction()
1459 Constant *RHS = ConstantExpr::getExtractElement(C2, ExtractIdx); in ConstantFoldBinaryInstruction()
/external/llvm/lib/CodeGen/
DCodeGenPrepare.cpp4954 unsigned ExtractIdx = UINT_MAX; in getConstantVector() local
4960 ExtractIdx = CstVal->getSExtValue(); in getConstantVector()
4972 if (Idx == ExtractIdx) in getConstantVector()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DCodeGenPrepare.cpp6532 unsigned ExtractIdx = std::numeric_limits<unsigned>::max(); in getConstantVector() local
6538 ExtractIdx = CstVal->getSExtValue(); in getConstantVector()
6550 if (Idx == ExtractIdx) in getConstantVector()
/external/llvm-project/llvm/lib/CodeGen/
DCodeGenPrepare.cpp6986 unsigned ExtractIdx = std::numeric_limits<unsigned>::max(); in getConstantVector() local
6992 ExtractIdx = CstVal->getSExtValue(); in getConstantVector()
7005 if (Idx == ExtractIdx) in getConstantVector()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/GlobalISel/
DLegalizerHelper.cpp4240 int ExtractIdx = Idx < NumElts ? Idx : Idx - NumElts; in lowerShuffleVector() local
4241 auto IdxK = MIRBuilder.buildConstant(IdxTy, ExtractIdx); in lowerShuffleVector()
/external/llvm-project/llvm/lib/CodeGen/GlobalISel/
DLegalizerHelper.cpp5734 int ExtractIdx = Idx < NumElts ? Idx : Idx - NumElts; in lowerShuffleVector() local
5735 auto IdxK = MIRBuilder.buildConstant(IdxTy, ExtractIdx); in lowerShuffleVector()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/
DX86ISelLowering.cpp7256 uint64_t ExtractIdx = Sub.getConstantOperandVal(1); in getFauxShuffleMask() local
7260 Mask[InsertIdx + i] = NumElts + ExtractIdx + i; in getFauxShuffleMask()
12834 unsigned ExtractIdx = BitOffset / V.getScalarValueSizeInBits(); in lowerShuffleAsBroadcast() local
12835 V = extract128BitVector(V, ExtractIdx, DAG, DL); in lowerShuffleAsBroadcast()
37108 int ExtractIdx = (int)N->getConstantOperandVal(1); in combineExtractWithShuffle() local
37110 int Lo = Scale * ExtractIdx; in combineExtractWithShuffle()
37111 int Hi = Scale * (ExtractIdx + 1); in combineExtractWithShuffle()
/external/llvm-project/llvm/lib/Target/X86/
DX86ISelLowering.cpp7512 uint64_t ExtractIdx = Sub.getConstantOperandVal(1); in getFauxShuffleMask() local
7516 Mask[InsertIdx + i] = NumElts + ExtractIdx + i; in getFauxShuffleMask()
13587 unsigned ExtractIdx = BitOffset / V.getScalarValueSizeInBits(); in lowerShuffleAsBroadcast() local
13588 V = extract128BitVector(V, ExtractIdx, DAG, DL); in lowerShuffleAsBroadcast()
39846 int ExtractIdx = (int)N->getConstantOperandVal(1); in combineExtractWithShuffle() local
39848 int Lo = Scale * ExtractIdx; in combineExtractWithShuffle()
39849 int Hi = Scale * (ExtractIdx + 1); in combineExtractWithShuffle()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/SelectionDAG/
DDAGCombiner.cpp17675 const APInt &ExtractIdx = Op.getConstantOperandAPInt(1); in reduceBuildVecToShuffle() local
17676 if (ExtractIdx.uge(ExtractedFromVec.getValueType().getVectorNumElements())) in reduceBuildVecToShuffle()
/external/llvm-project/llvm/lib/CodeGen/SelectionDAG/
DDAGCombiner.cpp18942 const APInt &ExtractIdx = Op.getConstantOperandAPInt(1); in reduceBuildVecToShuffle() local
18943 if (ExtractIdx.uge(ExtractedFromVec.getValueType().getVectorNumElements())) in reduceBuildVecToShuffle()