Home
last modified time | relevance | path

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

/external/swiftshader/third_party/LLVM/lib/Transforms/InstCombine/
DInstCombineVectorOps.cpp277 Value *ScalarOp = IEI->getOperand(1); in CollectSingleShuffleElements() local
284 if (isa<UndefValue>(ScalarOp)) { // inserting undef into vector. in CollectSingleShuffleElements()
292 } else if (ExtractElementInst *EI = dyn_cast<ExtractElementInst>(ScalarOp)){ in CollectSingleShuffleElements()
344 Value *ScalarOp = IEI->getOperand(1); in CollectShuffleElements() local
347 if (ExtractElementInst *EI = dyn_cast<ExtractElementInst>(ScalarOp)) { in CollectShuffleElements()
393 Value *ScalarOp = IE.getOperand(1); in visitInsertElementInst() local
397 if (isa<UndefValue>(ScalarOp) || isa<UndefValue>(IdxOp)) in visitInsertElementInst()
402 if (ExtractElementInst *EI = dyn_cast<ExtractElementInst>(ScalarOp)) { in visitInsertElementInst()
/external/llvm/lib/Transforms/InstCombine/
DInstCombineVectorOps.cpp324 Value *ScalarOp = IEI->getOperand(1); in collectSingleShuffleElements() local
331 if (isa<UndefValue>(ScalarOp)) { // inserting undef into vector. in collectSingleShuffleElements()
339 } else if (ExtractElementInst *EI = dyn_cast<ExtractElementInst>(ScalarOp)){ in collectSingleShuffleElements()
471 Value *ScalarOp = IEI->getOperand(1); in collectShuffleElements() local
474 if (ExtractElementInst *EI = dyn_cast<ExtractElementInst>(ScalarOp)) { in collectShuffleElements()
571 Value *ScalarOp = IE.getOperand(1); in visitInsertElementInst() local
575 if (isa<UndefValue>(ScalarOp) || isa<UndefValue>(IdxOp)) in visitInsertElementInst()
580 if (ExtractElementInst *EI = dyn_cast<ExtractElementInst>(ScalarOp)) { in visitInsertElementInst()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/InstCombine/
DInstCombineVectorOps.cpp317 Value *ScalarOp = IEI->getOperand(1); in collectSingleShuffleElements() local
324 if (isa<UndefValue>(ScalarOp)) { // inserting undef into vector. in collectSingleShuffleElements()
332 } else if (ExtractElementInst *EI = dyn_cast<ExtractElementInst>(ScalarOp)){ in collectSingleShuffleElements()
472 Value *ScalarOp = IEI->getOperand(1); in collectShuffleElements() local
475 if (ExtractElementInst *EI = dyn_cast<ExtractElementInst>(ScalarOp)) { in collectShuffleElements()
783 Value *ScalarOp = IE.getOperand(1); in visitInsertElementInst() local
787 VecOp, ScalarOp, IdxOp, SQ.getWithInstruction(&IE))) in visitInsertElementInst()
791 if (isa<UndefValue>(ScalarOp) || isa<UndefValue>(IdxOp)) in visitInsertElementInst()
796 if (ExtractElementInst *EI = dyn_cast<ExtractElementInst>(ScalarOp)) { in visitInsertElementInst()
DInstCombineCasts.cpp656 Value *ScalarOp = InsElt->getOperand(1); in shrinkInsertElt() local
663 Value *NarrowOp = Builder.CreateCast(Opcode, ScalarOp, DestScalarTy); in shrinkInsertElt()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/SelectionDAG/
DLegalizeVectorOps.cpp1174 SDValue ScalarOp = DAG.getNode(Op->getOpcode(), dl, ValueVTs, Opers); in ExpandStrictFPOp() local
1176 OpValues.push_back(ScalarOp.getValue(0)); in ExpandStrictFPOp()
1177 OpChains.push_back(ScalarOp.getValue(1)); in ExpandStrictFPOp()
DSelectionDAG.cpp4381 SDValue ScalarOp = InBV->getOperand(i); in FoldConstantVectorArithmetic() local
4382 EVT ScalarVT = ScalarOp.getValueType(); in FoldConstantVectorArithmetic()
4387 ScalarOp = getNode(ISD::TRUNCATE, DL, InSVT, ScalarOp); in FoldConstantVectorArithmetic()
4389 ScalarOps.push_back(ScalarOp); in FoldConstantVectorArithmetic()
/external/llvm/lib/CodeGen/SelectionDAG/
DSelectionDAG.cpp3432 SDValue ScalarOp = InBV->getOperand(i); in FoldConstantVectorArithmetic() local
3433 EVT ScalarVT = ScalarOp.getValueType(); in FoldConstantVectorArithmetic()
3438 ScalarOp = getNode(ISD::TRUNCATE, DL, InSVT, ScalarOp); in FoldConstantVectorArithmetic()
3440 ScalarOps.push_back(ScalarOp); in FoldConstantVectorArithmetic()
/external/llvm/lib/Transforms/Vectorize/
DLoopVectorize.cpp2695 auto *ScalarOp = Instr->getOperand(op); in scalarizeInstruction() local
2696 if (ScalarIVMap.count(ScalarOp)) in scalarizeInstruction()
2697 NewOp = ScalarIVMap[ScalarOp][VF * Part + Width]; in scalarizeInstruction()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AArch64/
DAArch64ISelLowering.cpp7640 static SDValue getReductionSDNode(unsigned Op, SDLoc DL, SDValue ScalarOp, in getReductionSDNode() argument
7642 SDValue VecOp = ScalarOp.getOperand(0); in getReductionSDNode()
7644 return DAG.getNode(ISD::EXTRACT_VECTOR_ELT, DL, ScalarOp.getValueType(), Rdx, in getReductionSDNode()