Home
last modified time | relevance | path

Searched refs:getVectorOperand (Results 1 – 18 of 18) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/Target/DirectX/
H A DDXILLegalizePass.cpp317 Extract->getVectorOperand(), Idx32, Extract->getName()); in downcastI64toI32InsertExtractElements()
531 if (!dyn_cast<BitCastInst>(Extract->getVectorOperand())) in legalizeGetHighLowi64Bytes()
540 auto *Replacement = ReplacedValues[Extract->getVectorOperand()]; in legalizeGetHighLowi64Bytes()
H A DDXILDataScalarization.cpp283 createArrayFromVector(Builder, EEI.getVectorOperand(), EEI.getName()); in replaceDynamicExtractElementInst()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineVectorOps.cpp186 if (!match(Ext.getVectorOperand(), m_BitCast(m_Value(X))) || in foldBitcastExtElt()
199 assert(isa<FixedVectorType>(Ext.getVectorOperand()->getType()) && in foldBitcastExtElt()
210 Ext.getVectorOperand()->hasOneUse()) { in foldBitcastExtElt()
260 if (X->hasOneUse() && Ext.getVectorOperand()->hasOneUse()) { in foldBitcastExtElt()
296 if (!X->hasOneUse() || !Ext.getVectorOperand()->hasOneUse()) in foldBitcastExtElt()
307 if (!Ext.getVectorOperand()->hasOneUse()) in foldBitcastExtElt()
332 assert(EEI->getVectorOperand() == V); in findDemandedEltsBySingleUser()
399 Value *SrcVec = EI.getVectorOperand(); in visitExtractElementInst()
413 if (SelectInst *SI = dyn_cast<SelectInst>(EI.getVectorOperand())) in visitExtractElementInst()
729 Value *ExtVecOp = ExtElt->getVectorOperand(); in replaceExtractElements()
H A DInstCombineNegator.cpp376 Value *NegVector = negate(EEI->getVectorOperand(), IsNSW, Depth + 1); in visitImpl()
H A DInstCombineLoadStoreAlloca.cpp1168 auto *W = E->getVectorOperand(); in likeBitCastFromVector()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Vectorize/
H A DVectorCombine.cpp393 Type *VecTy = Ext0->getVectorOperand()->getType(); in getShuffleExtract()
394 assert(VecTy == Ext1->getVectorOperand()->getType() && "Need matching types"); in getShuffleExtract()
438 Value *Ext0Src = Ext0->getVectorOperand(); in isExtractExtractCheap()
439 Value *Ext1Src = Ext1->getVectorOperand(); in isExtractExtractCheap()
554 Value *X = ExtElt->getVectorOperand(); in translateExtract()
584 Value *V0 = Ext0->getVectorOperand(), *V1 = Ext1->getVectorOperand(); in foldExtExtCmp()
602 Value *V0 = Ext0->getVectorOperand(), *V1 = Ext1->getVectorOperand(); in foldExtExtBinop()
H A DSLPVectorizer.cpp775 Value *Vec = EE->getVectorOperand(); in isFixedVectorShuffle()
790 auto *Vec = EI->getVectorOperand(); in isFixedVectorShuffle()
8754 if (!isUndefVector(EI->getVectorOperand()).all() && in generateKeySubkey()
8756 SubKey = hash_value(EI->getVectorOperand()); in generateKeySubkey()
12578 VecBase = EE->getVectorOperand(); in adjustExtracts()
12713 return EI->getVectorOperand() == V1 || in add()
12714 EI->getVectorOperand() == V2; in add()
12741 return EI->getVectorOperand() == V1; in add()
15147 if (isUndefVector(EI->getVectorOperand(), ExtractMask).all()) { in tryToGatherSingleRegisterExtractElements()
15151 VectorOpToIdx[EI->getVectorOperand()].push_back(I); in tryToGatherSingleRegisterExtractElements()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUPerfHintAnalysis.cpp186 WorkSet.insert(E->getVectorOperand()); in isIndirectAccess()
H A DAMDGPULowerBufferFatPointers.cpp2082 Value *Vec = I.getVectorOperand(); in visitExtractElementInst()
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86PartialReduction.cpp359 const auto *BO = dyn_cast<BinaryOperator>(EE.getVectorOperand()); in matchAddReduction()
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DInstructions.h1832 Value *getVectorOperand() { return Op<0>(); }
1834 const Value *getVectorOperand() const { return Op<0>(); }
1838 return cast<VectorType>(getVectorOperand()->getType());
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DRewriteStatepointsForGC.cpp872 F(EE->getVectorOperand()); in findBasePointer()
1223 Value *InVal = cast<ExtractElementInst>(BDV)->getVectorOperand(); in findBasePointer()
/freebsd/contrib/llvm-project/llvm/include/llvm/SandboxIR/
H A DInstruction.h516 Value *getVectorOperand() { return getOperand(0); } in getVectorOperand() function
518 const Value *getVectorOperand() const { return getOperand(0); } in getVectorOperand() function
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/
H A DNumericalStabilitySanitizer.cpp1727 Map.getShadow(Extract->getVectorOperand()), Extract->getIndexOperand()); in createShadowValueWithOperandsAvailable()
/freebsd/contrib/llvm-project/llvm/lib/SandboxIR/
H A DInstruction.cpp1524 return cast<VectorType>(Ctx.getType(getVectorOperand()->getType()->LLVMTy)); in getVectorOperandType()
/freebsd/contrib/llvm-project/llvm/lib/Target/SPIRV/
H A DSPIRVEmitIntrinsics.cpp1704 SmallVector<Value *, 2> Args = {I.getVectorOperand(), I.getIndexOperand()}; in visitExtractElementInst()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGExprScalar.cpp2201 LHS = EI->getVectorOperand(); in VisitInitListExpr()
2213 RHS = EI->getVectorOperand(); in VisitInitListExpr()
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DValueTracking.cpp3224 const Value *Vec = EEI->getVectorOperand(); in isKnownNonZeroFromOperator()