| /netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/IR/ |
| H A D | Constant.h | 145 Constant *getAggregateElement(unsigned Elt) const; 146 Constant *getAggregateElement(Constant *Elt) const;
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/Analysis/ |
| H A D | ConstantFolding.cpp | 81 Element = C->getAggregateElement(NumSrcElts - i - 1); in foldConstVectorToAPInt() 83 Element = C->getAggregateElement(i); in foldConstVectorToAPInt() 223 Constant *Src = C->getAggregateElement(SrcElt++); in FoldBitCast() 254 auto *Element = C->getAggregateElement(i); in FoldBitCast() 406 ElemC = C->getAggregateElement(Elem++); in ConstantFoldLoadThroughBitcast() 410 C = C->getAggregateElement(0u); in ConstantFoldLoadThroughBitcast() 520 if (!ReadDataFromGlobal(C->getAggregateElement(Index), Offset, CurPtr, in ReadDataFromGlobal() 1404 C = C->getAggregateElement(CE->getOperand(i)); in ConstantFoldLoadThroughGEPConstantExpr() 1417 C = C->getAggregateElement(Index); in ConstantFoldLoadThroughGEPIndices() 1725 auto *EltC = dyn_cast<ConstantInt>(Op->getAggregateElement(0U)); in constantFoldVectorReduce() [all …]
|
| H A D | VectorUtils.cpp | 281 return C->getAggregateElement(EltNo); in findScalarElement() 320 if (Constant *Elt = C->getAggregateElement(EltNo)) in findScalarElement() 888 if (auto *MaskElt = ConstMask->getAggregateElement(I)) in maskIsAllZeroOrUndef() 915 if (auto *MaskElt = ConstMask->getAggregateElement(I)) in maskIsAllOneOrUndef() 937 if (CV->getAggregateElement(i)->isNullValue()) in possiblyDemandedEltsInMask()
|
| H A D | ValueTracking.cpp | 1870 Constant *Element = CV->getAggregateElement(i); in computeKnownBits() 2268 Constant *Elt = C->getAggregateElement(i); in isKnownNonZero() 2820 auto *Elt = dyn_cast_or_null<ConstantInt>(CV->getAggregateElement(i)); in computeNumSignBitsVectorConstant() 3458 auto *CFP = dyn_cast_or_null<ConstantFP>(CV->getAggregateElement(i)); in cannotBeOrderedLessThanZeroImpl() 3658 Constant *Elt = cast<Constant>(V)->getAggregateElement(i); in isKnownNeverInfinity() 3763 Constant *Elt = cast<Constant>(V)->getAggregateElement(i); in isKnownNeverNaN() 3977 C = C->getAggregateElement(idx_range[0]); in FindInsertedValue() 4911 ShiftAmounts.push_back(C->getAggregateElement(i)); in canCreateUndefOrPoison()
|
| H A D | Lint.cpp | 544 Constant *Elem = C->getAggregateElement(I); in isZero()
|
| H A D | InstructionSimplify.cpp | 948 Constant *Elt = Op1C->getAggregateElement(i); in simplifyDivRem() 1223 if (!isPoisonShift(C->getAggregateElement(I), Q)) in isPoisonShift() 4196 Constant *TEltC = TrueC->getAggregateElement(i); in SimplifySelectInst() 4197 Constant *FEltC = FalseC->getAggregateElement(i); in SimplifySelectInst()
|
| /netbsd-src/external/apache2/llvm/dist/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()
|
| /netbsd-src/external/apache2/llvm/dist/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()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/IR/ |
| H A D | Constants.cpp | 166 Constant *Elt = this->getAggregateElement(i); in isNotOneValue() 216 Constant *Elt = this->getAggregateElement(i); in isNotMinSignedValue() 234 auto *CFP = dyn_cast_or_null<ConstantFP>(this->getAggregateElement(i)); in isFiniteNonZeroFP() 248 auto *CFP = dyn_cast_or_null<ConstantFP>(this->getAggregateElement(i)); in isNormalFP() 262 auto *CFP = dyn_cast_or_null<ConstantFP>(this->getAggregateElement(i)); in hasExactInverseFP() 276 auto *CFP = dyn_cast_or_null<ConstantFP>(this->getAggregateElement(i)); in isNaN() 320 if (HasFn(C->getAggregateElement(i))) in containsUndefinedElement() 340 if (isa<ConstantExpr>(getAggregateElement(i))) in containsConstantExpression() 421 Constant *Constant::getAggregateElement(unsigned Elt) const { in getAggregateElement() function in Constant 449 Constant *Constant::getAggregateElement(Constant *Elt) const { in getAggregateElement() function in Constant [all …]
|
| H A D | ConstantFold.cpp | 920 return Val->getAggregateElement(CIdx); in ConstantFoldExtractElementInstruction() 1021 if (Constant *C = Agg->getAggregateElement(Idxs[0])) in ConstantFoldExtractValueInstruction() 1042 Constant *C = Agg->getAggregateElement(i); in ConstantFoldInsertValueInstruction()
|
| /netbsd-src/external/apache2/llvm/dist/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 | 1042 CurOp = cast<llvm::Constant>(constant->getAggregateElement(i)); in constStructWithPadding() 1080 OpValue = constant->getAggregateElement(Op); in constWithPadding()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/ARM/ |
| H A D | MVEGatherScatterLowering.cpp | 206 if (!CheckValueSize(ConstOff->getAggregateElement(i))) in checkOffsetSize() 1084 dyn_cast<ConstantInt>(ConstX->getAggregateElement(i)); in CheckAndCreateOffsetAdd() 1086 dyn_cast<ConstantInt>(ConstY->getAggregateElement(i)); in CheckAndCreateOffsetAdd()
|
| /netbsd-src/external/apache2/llvm/dist/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()
|
| /netbsd-src/external/apache2/llvm/dist/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 | 1559 Constant *Elt = C->getAggregateElement(i); in visitSRem() 1573 Elts[i] = C->getAggregateElement(i); // Handle undef, etc. in visitSRem()
|
| H A D | InstCombineCompares.cpp | 186 Constant *Elt = Init->getAggregateElement(i); in foldCmpLoadFromIndexedGlobal() 3423 if (!isa<UndefValue>(VecC->getAggregateElement(i))) { in foldICmpWithLowBitMaskedVal() 3424 SafeReplacementConstant = VecC->getAggregateElement(i); in foldICmpWithLowBitMaskedVal() 5288 Constant *Elt = C->getAggregateElement(i); in getFlippedStrictnessPredicateAndConstant()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/Transforms/InstCombine/ |
| H A D | InstCombiner.h | 351 Constant *C = In->getAggregateElement(i); in getSafeVectorConstantForBinop()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/IPO/ |
| H A D | GlobalOpt.cpp | 541 Constant *In = Init->getAggregateElement(ElementIdx); in SRAGlobal() 2049 Elts.push_back(Init->getAggregateElement(i)); in EvaluateStoreInto() 2070 Elts.push_back(Init->getAggregateElement(i)); in EvaluateStoreInto() 2204 Elts.push_back(Init->getAggregateElement(i)); in BatchCommitValueTo()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/Linker/ |
| H A D | IRMover.cpp | 848 Dest.push_back(C->getAggregateElement(i)); in getArrayElements() 927 dyn_cast<GlobalValue>(E->getAggregateElement(2)->stripPointerCasts()); in linkAppendingVarProto()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/Analysis/ |
| H A D | TargetTransformInfoImpl.h | 781 dyn_cast<ConstantInt>(VectorValue->getAggregateElement(i))) { in minRequiredElementSize()
|
| /netbsd-src/external/apache2/llvm/dist/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()
|