Home
last modified time | relevance | path

Searched refs:EltC (Results 1 – 6 of 6) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86LowerAMXIntrinsics.cpp376 Value *EltC = B.CreateExtractElement(VecCPhi, IdxC); in createTileDPLoops() local
404 Value *ResElt = B.CreateAdd(EltC, SubVecR); in createTileDPLoops()
431 Value *EltC = B.CreateExtractElement(VecCPhi, IdxC); in createTileDPLoops() local
432 Value *EltCF32 = B.CreateBitCast(EltC, B.getFloatTy()); in createTileDPLoops()
H A DX86ISelLowering.cpp23914 const APInt &EltC = Elt->getAPIntValue(); in incDecVectorConstant() local
23915 if ((IsInc && EltC.isMaxValue()) || (!IsInc && EltC.isZero())) in incDecVectorConstant()
23917 if (NSW && ((IsInc && EltC.isMaxSignedValue()) || in incDecVectorConstant()
23918 (!IsInc && EltC.isMinSignedValue()))) in incDecVectorConstant()
23921 NewVecC.push_back(DAG.getConstant(EltC + (IsInc ? 1 : -1), DL, EltVT)); in incDecVectorConstant()
/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DConstants.cpp800 Constant *EltC = C->getAggregateElement(i); in replaceUndefsWith() local
801 assert((!EltC || EltC->getType() == Replacement->getType()) && in replaceUndefsWith()
803 NewC[i] = EltC && match(EltC, m_Undef()) ? Replacement : EltC; in replaceUndefsWith()
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DConstantFolding.cpp2030 auto *EltC = dyn_cast<ConstantInt>(Op->getAggregateElement(0U)); in constantFoldVectorReduce() local
2031 if (!EltC) in constantFoldVectorReduce()
2034 APInt Acc = EltC->getValue(); in constantFoldVectorReduce()
2036 if (!(EltC = dyn_cast<ConstantInt>(Op->getAggregateElement(I)))) in constantFoldVectorReduce()
2038 const APInt &X = EltC->getValue(); in constantFoldVectorReduce()
3994 if (auto *EltC = Vec->getSplatValue()) { in ConstantFoldStructCall() local
3996 auto *HalfVec = ConstantVector::getSplat(HalfEC, EltC); in ConstantFoldStructCall()
H A DInstructionSimplify.cpp5610 Constant *EltC = In->getAggregateElement(i); in propagateNaN() local
5613 if (EltC && isa<PoisonValue>(EltC)) in propagateNaN()
5614 NewC[i] = EltC; in propagateNaN()
5615 else if (EltC && EltC->isNaN()) in propagateNaN()
5617 EltC->getType(), cast<ConstantFP>(EltC)->getValue().makeQuiet()); in propagateNaN()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstructionCombining.cpp5116 Constant *EltC = C->getAggregateElement(i); in visitFreeze() local
5117 if (EltC && !match(EltC, m_Undef())) { in visitFreeze()
5118 BestValue = EltC; in visitFreeze()