| /freebsd-13.1/contrib/llvm-project/llvm/include/llvm/IR/ |
| H A D | Constant.h | 145 Constant *getAggregateElement(unsigned Elt) const; 146 Constant *getAggregateElement(Constant *Elt) const;
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
| H A D | ScalarizeMaskedMemIntrin.cpp | 100 Constant *CElt = C->getAggregateElement(i); in isConstantIntVector() 186 if (cast<Constant>(Mask)->getAggregateElement(Idx)->isNullValue()) in scalarizeMaskedLoad() 322 if (cast<Constant>(Mask)->getAggregateElement(Idx)->isNullValue()) in scalarizeMaskedStore() 440 if (cast<Constant>(Mask)->getAggregateElement(Idx)->isNullValue()) in scalarizeMaskedGather() 570 if (cast<Constant>(Mask)->getAggregateElement(Idx)->isNullValue()) in scalarizeMaskedScatter() 666 if (cast<Constant>(Mask)->getAggregateElement(Idx)->isNullValue()) { in scalarizeMaskedExpandLoad() 786 if (cast<Constant>(Mask)->getAggregateElement(Idx)->isNullValue()) in scalarizeMaskedCompressStore()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Analysis/ |
| H A D | ConstantFolding.cpp | 86 Element = C->getAggregateElement(NumSrcElts - i - 1); in foldConstVectorToAPInt() 88 Element = C->getAggregateElement(i); in foldConstVectorToAPInt() 228 Constant *Src = C->getAggregateElement(SrcElt++); in FoldBitCast() 259 auto *Element = C->getAggregateElement(i); in FoldBitCast() 411 ElemC = C->getAggregateElement(Elem++); in ConstantFoldLoadThroughBitcast() 415 C = C->getAggregateElement(0u); in ConstantFoldLoadThroughBitcast() 1442 C = C->getAggregateElement(CE->getOperand(i)); in ConstantFoldLoadThroughGEPConstantExpr() 1455 C = C->getAggregateElement(Index); in ConstantFoldLoadThroughGEPIndices() 3022 auto *MaskElt = Mask->getAggregateElement(I); in ConstantFoldFixedVectorCall() 3025 auto *PassthruElt = Passthru->getAggregateElement(I); in ConstantFoldFixedVectorCall() [all …]
|
| H A D | VectorUtils.cpp | 291 return C->getAggregateElement(EltNo); in findScalarElement() 330 if (Constant *Elt = C->getAggregateElement(EltNo)) in findScalarElement() 898 if (auto *MaskElt = ConstMask->getAggregateElement(I)) in maskIsAllZeroOrUndef() 924 if (auto *MaskElt = ConstMask->getAggregateElement(I)) in maskIsAllOneOrUndef() 946 if (CV->getAggregateElement(i)->isNullValue()) in possiblyDemandedEltsInMask()
|
| H A D | ValueTracking.cpp | 1912 Constant *Element = CV->getAggregateElement(i); in computeKnownBits() 2310 Constant *Elt = C->getAggregateElement(i); in isKnownNonZero() 2862 auto *Elt = dyn_cast_or_null<ConstantInt>(CV->getAggregateElement(i)); in computeNumSignBitsVectorConstant() 3500 auto *CFP = dyn_cast_or_null<ConstantFP>(CV->getAggregateElement(i)); in cannotBeOrderedLessThanZeroImpl() 3700 Constant *Elt = cast<Constant>(V)->getAggregateElement(i); in isKnownNeverInfinity() 3805 Constant *Elt = cast<Constant>(V)->getAggregateElement(i); in isKnownNeverNaN() 4019 C = C->getAggregateElement(idx_range[0]); in FindInsertedValue() 4953 ShiftAmounts.push_back(C->getAggregateElement(i)); in canCreateUndefOrPoison()
|
| H A D | Lint.cpp | 544 Constant *Elem = C->getAggregateElement(I); in isZero()
|
| /freebsd-13.1/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 | 376 auto *CElt = CShift->getAggregateElement(I); in simplifyX86varShift() 633 C0 ? dyn_cast_or_null<ConstantInt>(C0->getAggregateElement((unsigned)0)) in simplifyX86extrq() 767 C0 ? dyn_cast_or_null<ConstantInt>(C0->getAggregateElement((unsigned)0)) in simplifyX86insertq() 770 C1 ? dyn_cast_or_null<ConstantInt>(C1->getAggregateElement((unsigned)0)) in simplifyX86insertq() 821 Constant *COp = V->getAggregateElement(I); in simplifyX86pshufb() 866 Constant *COp = V->getAggregateElement(I); in simplifyX86vpermilvar() 911 Constant *COp = V->getAggregateElement(I); in simplifyX86vpermv() 1477 C1 ? dyn_cast_or_null<ConstantInt>(C1->getAggregateElement((unsigned)0)) in instCombineIntrinsic() 1480 C1 ? dyn_cast_or_null<ConstantInt>(C1->getAggregateElement((unsigned)1)) in instCombineIntrinsic() 1542 C1 ? dyn_cast_or_null<ConstantInt>(C1->getAggregateElement((unsigned)1)) in instCombineIntrinsic()
|
| /freebsd-13.1/contrib/llvm-project/llvm/tools/llvm-diff/ |
| H A D | DifferenceEngine.cpp | 466 if (!equivalentAsOperands(CAL->getAggregateElement(I), in equivalentAsOperands() 467 CAR->getAggregateElement(I))) in equivalentAsOperands() 490 const Value *LAgg = CSL->getAggregateElement(I); in equivalentAsOperands() 491 const Value *RAgg = CSR->getAggregateElement(I); in equivalentAsOperands()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/IR/ |
| H A D | Constants.cpp | 137 Constant *Elt = getAggregateElement(I); in isNotOneValue() 182 Constant *Elt = getAggregateElement(I); in isNotMinSignedValue() 319 if (Constant *Elem = C->getAggregateElement(i)) in containsUndefinedElement() 341 if (isa<ConstantExpr>(getAggregateElement(i))) in containsConstantExpression() 422 Constant *Constant::getAggregateElement(unsigned Elt) const { in getAggregateElement() function in Constant 457 return getAggregateElement(CI->getZExtValue()); in getAggregateElement() 785 Constant *EltC = C->getAggregateElement(i); in replaceUndefsWith() 815 NewC[I] = C->getAggregateElement(I); in mergeUndefsWith() 816 Constant *OtherEltC = Other->getAggregateElement(I); in mergeUndefsWith() 1764 const Constant *C = this->getAggregateElement(0U); in getUniqueInteger() [all …]
|
| H A D | ConstantFold.cpp | 676 return Val->getAggregateElement(CIdx); in ConstantFoldExtractElementInstruction() 777 if (Constant *C = Agg->getAggregateElement(Idxs[0])) in ConstantFoldExtractValueInstruction() 798 Constant *C = Agg->getAggregateElement(i); in ConstantFoldInsertValueInstruction()
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/CodeGen/ |
| H A D | CGExprComplex.cpp | 107 return ComplexPairTy(Result->getAggregateElement(0U), in VisitConstantExpr() 108 Result->getAggregateElement(1U)); in VisitConstantExpr() 138 return ComplexPairTy(pair->getAggregateElement(0U), in emitConstant() 139 pair->getAggregateElement(1U)); in emitConstant()
|
| H A D | MicrosoftCXXABI.cpp | 2984 Val->getAggregateElement(0U) : Val; in MemberPointerConstantIsNull() 3004 if (Val->getAggregateElement(I) != Fields[I]) in MemberPointerConstantIsNull() 3306 Mapping->getAggregateElement(cast<llvm::Constant>(VBIndex)); in EmitNonNullMemberPointerConversion() 4292 cast<llvm::ConstantInt>(CTA->getInitializer()->getAggregateElement(0U)) in getThrowInfo()
|
| H A D | CGDecl.cpp | 1047 CurOp = cast<llvm::Constant>(constant->getAggregateElement(i)); in constStructWithPadding() 1085 OpValue = constant->getAggregateElement(Op); in constWithPadding()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Target/PowerPC/ |
| H A D | PPCTargetTransformInfo.cpp | 123 Constant *Elt = Mask->getAggregateElement(i); in instCombineIntrinsic() 143 if (isa<UndefValue>(Mask->getAggregateElement(i))) in instCombineIntrinsic() 146 cast<ConstantInt>(Mask->getAggregateElement(i))->getZExtValue(); in instCombineIntrinsic()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Target/ARM/ |
| H A D | MVEGatherScatterLowering.cpp | 214 if (!CheckValueSize(ConstOff->getAggregateElement(i))) in checkOffsetSize() 1136 dyn_cast<ConstantInt>(ConstX->getAggregateElement(i)); in CheckAndCreateOffsetAdd() 1138 dyn_cast<ConstantInt>(ConstY->getAggregateElement(i)); in CheckAndCreateOffsetAdd()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/InstCombine/ |
| H A D | InstCombineSimplifyDemanded.cpp | 1123 Constant *Elt = C->getAggregateElement(i); in SimplifyDemandedVectorElts() 1423 Constant *CElt = CV->getAggregateElement(i); in SimplifyDemandedVectorElts() 1522 Constant *CElt = CV->getAggregateElement(i); in SimplifyDemandedVectorElts()
|
| H A D | InstCombineMulDivRem.cpp | 1568 Constant *Elt = C->getAggregateElement(i); in visitSRem() 1582 Elts[i] = C->getAggregateElement(i); // Handle undef, etc. in visitSRem()
|
| H A D | InstCombineCompares.cpp | 186 Constant *Elt = Init->getAggregateElement(i); in foldCmpLoadFromIndexedGlobal() 3491 if (!isa<UndefValue>(VecC->getAggregateElement(i))) { in foldICmpWithLowBitMaskedVal() 3492 SafeReplacementConstant = VecC->getAggregateElement(i); in foldICmpWithLowBitMaskedVal() 5397 Constant *Elt = C->getAggregateElement(i); in getFlippedStrictnessPredicateAndConstant()
|
| /freebsd-13.1/contrib/llvm-project/llvm/include/llvm/Transforms/InstCombine/ |
| H A D | InstCombiner.h | 351 Constant *C = In->getAggregateElement(i); in getSafeVectorConstantForBinop()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/IPO/ |
| H A D | GlobalOpt.cpp | 541 Constant *In = Init->getAggregateElement(ElementIdx); in SRAGlobal() 2059 Elts.push_back(Init->getAggregateElement(i)); in EvaluateStoreInto() 2080 Elts.push_back(Init->getAggregateElement(i)); in EvaluateStoreInto() 2214 Elts.push_back(Init->getAggregateElement(i)); in BatchCommitValueTo()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Linker/ |
| H A D | IRMover.cpp | 849 Dest.push_back(C->getAggregateElement(i)); in getArrayElements() 928 dyn_cast<GlobalValue>(E->getAggregateElement(2)->stripPointerCasts()); in linkAppendingVarProto()
|
| /freebsd-13.1/contrib/llvm-project/llvm/include/llvm/Analysis/ |
| H A D | TargetTransformInfoImpl.h | 785 dyn_cast<ConstantInt>(VectorValue->getAggregateElement(i))) { in minRequiredElementSize()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
| H A D | ValueMapper.cpp | 1007 Elements.push_back(InitPrefix->getAggregateElement(I)); in mapAppendingVariable()
|
| H A D | SCCPSolver.cpp | 209 Constant *Elt = C->getAggregateElement(i); in getStructValueState()
|