/freebsd/contrib/llvm-project/llvm/include/llvm/IR/ |
H A D | Constant.h | 146 Constant *getAggregateElement(unsigned Elt) const; 147 Constant *getAggregateElement(Constant *Elt) const;
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
H A D | ScalarizeMaskedMemIntrin.cpp | 98 Constant *CElt = C->getAggregateElement(i); in isConstantIntVector() 180 if (cast<Constant>(Mask)->getAggregateElement(Idx)->isNullValue()) in scalarizeMaskedLoad() 312 if (cast<Constant>(Mask)->getAggregateElement(Idx)->isNullValue()) in scalarizeMaskedStore() 430 if (cast<Constant>(Mask)->getAggregateElement(Idx)->isNullValue()) in scalarizeMaskedGather() 560 if (cast<Constant>(Mask)->getAggregateElement(Idx)->isNullValue()) in scalarizeMaskedScatter() 661 if (cast<Constant>(Mask)->getAggregateElement(Idx)->isNullValue()) { in scalarizeMaskedExpandLoad() 786 if (cast<Constant>(Mask)->getAggregateElement(Idx)->isNullValue()) in scalarizeMaskedCompressStore() 890 if (cast<Constant>(Mask)->getAggregateElement(Idx)->isNullValue()) in scalarizeMaskedVectorHistogram()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/ |
H A D | X86ShuffleDecodeConstantPool.cpp | 62 Constant *COp = C->getAggregateElement(i); in extractConstantMask() 82 Constant *COp = C->getAggregateElement(i); in extractConstantMask()
|
H A D | X86InstCombineIntrinsic.cpp | 377 auto *CElt = CShift->getAggregateElement(I); in simplifyX86varShift() 1813 C0 ? dyn_cast_or_null<ConstantInt>(C0->getAggregateElement((unsigned)0)) in simplifyX86extrq() 1947 C0 ? dyn_cast_or_null<ConstantInt>(C0->getAggregateElement((unsigned)0)) in simplifyX86insertq() 1950 C1 ? dyn_cast_or_null<ConstantInt>(C1->getAggregateElement((unsigned)0)) in simplifyX86insertq() 2001 Constant *COp = V->getAggregateElement(I); in simplifyX86pshufb() 2046 Constant *COp = V->getAggregateElement(I); in simplifyX86vpermilvar() 2091 Constant *COp = V->getAggregateElement(I); in simplifyX86vpermv() 2126 Constant *COp = V->getAggregateElement(I); in simplifyX86vpermv3() 2731 C1 ? dyn_cast_or_null<ConstantInt>(C1->getAggregateElement((unsigned)0)) in instCombineIntrinsic() 2734 C1 ? dyn_cast_or_null<ConstantInt>(C1->getAggregateElement((unsigned)1)) in instCombineIntrinsic() [all …]
|
H A D | X86FixupVectorConstants.cpp | 171 if (Constant *Elt = CV->getAggregateElement(Idx)) { in getSplatableConstant()
|
/freebsd/contrib/llvm-project/llvm/lib/Analysis/ |
H A D | ConstantFolding.cpp | 81 Element = C->getAggregateElement(NumSrcElts - i - 1); in foldConstVectorToAPInt() 83 Element = C->getAggregateElement(i); in foldConstVectorToAPInt() 220 Constant *Src = C->getAggregateElement(SrcElt++); in FoldBitCast() 257 auto *Element = C->getAggregateElement(i); in FoldBitCast() 394 ElemC = C->getAggregateElement(Elem++); in ConstantFoldLoadThroughBitcast() 404 C = C->getAggregateElement(0u); in ConstantFoldLoadThroughBitcast() 518 if (!ReadDataFromGlobal(C->getAggregateElement(Index), Offset, CurPtr, in ReadDataFromGlobal() 690 C = C->getAggregateElement(Index.getZExtValue()); in getConstantAtOffset() 1830 auto *EltC = dyn_cast<ConstantInt>(Op->getAggregateElement(0U)); in constantFoldVectorReduce() 1836 if (!(EltC = dyn_cast<ConstantInt>(Op->getAggregateElement(I)))) in constantFoldVectorReduce() [all …]
|
H A D | VectorUtils.cpp | 176 return C->getAggregateElement(EltNo); in findScalarElement() 215 if (Constant *Elt = C->getAggregateElement(EltNo)) in findScalarElement() 1040 if (auto *MaskElt = ConstMask->getAggregateElement(I)) in maskIsAllZeroOrUndef() 1066 if (auto *MaskElt = ConstMask->getAggregateElement(I)) in maskIsAllOneOrUndef() 1092 if (auto *MaskElt = ConstMask->getAggregateElement(I)) in maskContainsAllOneOrUndef() 1113 if (CV->getAggregateElement(i)->isNullValue()) in possiblyDemandedEltsInMask()
|
H A D | Lint.cpp | 537 Constant *Elem = C->getAggregateElement(I); in isZero()
|
/freebsd/contrib/llvm-project/llvm/lib/IR/ |
H A D | Constants.cpp | 153 Constant *Elt = getAggregateElement(I); in isNotOneValue() 198 Constant *Elt = getAggregateElement(I); in isNotMinSignedValue() 220 auto *CFP = dyn_cast_or_null<ConstantFP>(getAggregateElement(I)); in isFiniteNonZeroFP() 241 auto *CFP = dyn_cast_or_null<ConstantFP>(getAggregateElement(I)); in isNormalFP() 262 auto *CFP = dyn_cast_or_null<ConstantFP>(getAggregateElement(I)); in hasExactInverseFP() 283 auto *CFP = dyn_cast_or_null<ConstantFP>(getAggregateElement(I)); in isNaN() 335 if (Constant *Elem = C->getAggregateElement(i)) in containsUndefinedElement() 363 if (isa<ConstantExpr>(getAggregateElement(i))) in containsConstantExpression() 432 Constant *Constant::getAggregateElement(unsigned Elt) const { in getAggregateElement() function in Constant 461 Constant *Constant::getAggregateElement(Constant *Elt) const { in getAggregateElement() function in Constant [all …]
|
H A D | ConstantFold.cpp | 397 if (Constant *C = Val->getAggregateElement(CIdx)) in ConstantFoldExtractElementInstruction() 517 if (Constant *C = Agg->getAggregateElement(Idxs[0])) in ConstantFoldExtractValueInstruction() 538 Constant *C = Agg->getAggregateElement(i); in ConstantFoldInsertValueInstruction()
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Coroutines/ |
H A D | CoroElide.cpp | 409 Resumers->getAggregateElement(CoroSubFnInst::ResumeIndex); in attemptElide() 415 auto *DestroyAddrConstant = Resumers->getAggregateElement( in attemptElide()
|
/freebsd/contrib/llvm-project/llvm/tools/llvm-diff/lib/ |
H A D | DifferenceEngine.cpp | 604 if (!equivalentAsOperands(CAL->getAggregateElement(I), in equivalentAsOperands() 605 CAR->getAggregateElement(I), AC)) in equivalentAsOperands() 628 const Value *LAgg = CSL->getAggregateElement(I); in equivalentAsOperands() 629 const Value *RAgg = CSR->getAggregateElement(I); in equivalentAsOperands()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/DirectX/DirectXIRPasses/ |
H A D | PointerTypeAnalysis.cpp | 147 const Constant *Elt = C->getAggregateElement(I); in classifyConstantWithOpaquePtr()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/ |
H A D | RISCVGatherScatterLowering.cpp | 98 dyn_cast_or_null<ConstantInt>(StartC->getAggregateElement((unsigned)0)); in matchStridedConstant() 104 auto *C = dyn_cast_or_null<ConstantInt>(StartC->getAggregateElement(i)); in matchStridedConstant()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/PowerPC/ |
H A D | PPCTargetTransformInfo.cpp | 118 Constant *Elt = Mask->getAggregateElement(i); in instCombineIntrinsic() 138 if (isa<UndefValue>(Mask->getAggregateElement(i))) in instCombineIntrinsic() 141 cast<ConstantInt>(Mask->getAggregateElement(i))->getZExtValue(); in instCombineIntrinsic()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/ARM/ |
H A D | MVEGatherScatterLowering.cpp | 216 if (!CheckValueSize(ConstOff->getAggregateElement(i))) in checkOffsetSize() 1162 dyn_cast<ConstantInt>(ConstX->getAggregateElement(i)); in CheckAndCreateOffsetAdd() 1164 dyn_cast<ConstantInt>(ConstY->getAggregateElement(i)); in CheckAndCreateOffsetAdd()
|
/freebsd/contrib/llvm-project/clang/lib/CodeGen/ |
H A D | CGExprComplex.cpp | 112 return ComplexPairTy(Result->getAggregateElement(0U), in VisitConstantExpr() 113 Result->getAggregateElement(1U)); in VisitConstantExpr() 143 return ComplexPairTy(pair->getAggregateElement(0U), in emitConstant() 144 pair->getAggregateElement(1U)); in emitConstant()
|
H A D | CGDecl.cpp | 1077 CurOp = cast<llvm::Constant>(constant->getAggregateElement(i)); in constStructWithPadding() 1115 OpValue = constant->getAggregateElement(Op); in constWithPadding() 1263 constant->getAggregateElement(i), IsAutoInit); in emitStoresForConstant() 1274 constant->getAggregateElement(i), IsAutoInit); in emitStoresForConstant()
|
/freebsd/contrib/llvm-project/llvm/include/llvm/Transforms/InstCombine/ |
H A D | InstCombiner.h | 330 Constant *C = In->getAggregateElement(i); in getSafeVectorConstantForBinop()
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/ |
H A D | InstCombineSimplifyDemanded.cpp | 1436 Constant *Elt = C->getAggregateElement(i); in SimplifyDemandedVectorElts() 1741 Constant *CElt = CV->getAggregateElement(i); in SimplifyDemandedVectorElts() 1840 Constant *CElt = CV->getAggregateElement(i); in SimplifyDemandedVectorElts()
|
H A D | InstCombineAndOrXor.cpp | 1014 const auto *BElt = BConst->getAggregateElement(I); in foldNegativePower2AndShiftedMask() 1015 const auto *DElt = DConst->getAggregateElement(I); in foldNegativePower2AndShiftedMask() 1016 const auto *EElt = EConst->getAggregateElement(I); in foldNegativePower2AndShiftedMask() 3095 Constant *EltC1 = C1->getAggregateElement(i); in areInverseVectorBitmasks() 3096 Constant *EltC2 = C2->getAggregateElement(i); in areInverseVectorBitmasks()
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
H A D | Evaluator.cpp | 162 MA->Elements.push_back(C->getAggregateElement(I)); in makeMutable()
|
H A D | SCCPSolver.cpp | 510 Constant *Elt = C->getAggregateElement(i); in getStructValueState() 1006 NewValue.markConstant(Iter->Actual->getAggregateElement(I)); in setLatticeValueForSpecializationArguments()
|
/freebsd/contrib/llvm-project/llvm/lib/Linker/ |
H A D | IRMover.cpp | 882 Dest.push_back(C->getAggregateElement(i)); in getArrayElements() 965 dyn_cast<GlobalValue>(E->getAggregateElement(2)->stripPointerCasts()); in linkAppendingVarProto()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
H A D | AMDGPULowerBufferFatPointers.cpp | 584 return std::make_pair(C->getAggregateElement(0u), C->getAggregateElement(1u)); in splitLoweredFatBufferConst()
|