/external/llvm/include/llvm/IR/ |
D | Constant.h | 100 Constant *getAggregateElement(unsigned Elt) const; 101 Constant *getAggregateElement(Constant *Elt) const;
|
/external/llvm/lib/Analysis/ |
D | ConstantFolding.cpp | 178 Constant *Src =dyn_cast<ConstantInt>(C->getAggregateElement(SrcElt++)); in FoldBitCast() 204 Constant *Src = dyn_cast<ConstantInt>(C->getAggregateElement(i)); in FoldBitCast() 373 if (!ReadDataFromGlobal(C->getAggregateElement(Index), Offset, CurPtr, in ReadDataFromGlobal() 519 C = C->getAggregateElement(0u); in ConstantFoldLoadThroughBitcast() 1199 C = C->getAggregateElement(CE->getOperand(i)); in ConstantFoldLoadThroughGEPConstantExpr() 1214 C = C->getAggregateElement(Indices[i]); in ConstantFoldLoadThroughGEPIndices() 1625 dyn_cast_or_null<ConstantFP>(Op->getAggregateElement(0U))) in ConstantFoldScalarCall() 1633 dyn_cast_or_null<ConstantFP>(Op->getAggregateElement(0U))) in ConstantFoldScalarCall() 1802 Constant *Agg = Operands[J]->getAggregateElement(I); in ConstantFoldVectorCall()
|
D | VectorUtils.cpp | 375 return C->getAggregateElement(EltNo); in findScalarElement() 406 if (Constant *Elt = Con->getAggregateElement(EltNo)) in findScalarElement()
|
D | Lint.cpp | 534 Constant *Elem = C->getAggregateElement(I); in isZero()
|
D | InstructionSimplify.cpp | 1301 if (!isUndefShift(C->getAggregateElement(I))) in isUndefShift()
|
/external/llvm/lib/Target/X86/Utils/ |
D | X86ShuffleDecode.cpp | 325 Constant *COp = C->getAggregateElement(i); in DecodePSHUFBMask() 560 Constant *COp = C->getAggregateElement(i); in DecodeVPERMVMask() 592 Constant *COp = C->getAggregateElement(i); in DecodeVPERMV3Mask()
|
/external/llvm/lib/Transforms/InstCombine/ |
D | InstCombineCalls.cpp | 399 C0 ? dyn_cast<ConstantInt>(C0->getAggregateElement((unsigned)0)) in SimplifyX86extrq() 538 C0 ? dyn_cast<ConstantInt>(C0->getAggregateElement((unsigned)0)) in SimplifyX86insertq() 541 C1 ? dyn_cast<ConstantInt>(C1->getAggregateElement((unsigned)0)) in SimplifyX86insertq() 1219 C1 ? dyn_cast<ConstantInt>(C1->getAggregateElement((unsigned)0)) in visitCallInst() 1222 C1 ? dyn_cast<ConstantInt>(C1->getAggregateElement((unsigned)1)) in visitCallInst() 1279 C1 ? dyn_cast<ConstantInt>(C1->getAggregateElement((unsigned)1)) in visitCallInst() 1508 Constant *Elt = Mask->getAggregateElement(i); in visitCallInst() 1528 if (isa<UndefValue>(Mask->getAggregateElement(i))) in visitCallInst() 1531 cast<ConstantInt>(Mask->getAggregateElement(i))->getZExtValue(); in visitCallInst()
|
D | InstCombineVectorOps.cpp | 33 if (Constant *Op0 = C->getAggregateElement(0U)) { in cheapToScalarize() 36 if (C->getAggregateElement(i) != Op0) in cheapToScalarize() 140 return ReplaceInstUsesWith(EI, C->getAggregateElement(0U)); in visitExtractElementInst()
|
D | InstCombineMulDivRem.cpp | 436 ConstantFP *CFP = dyn_cast_or_null<ConstantFP>(C->getAggregateElement(I)); in isFiniteNonZeroFp() 451 ConstantFP *CFP = dyn_cast_or_null<ConstantFP>(C->getAggregateElement(I)); in isNormalFp() 1456 Constant *Elt = C->getAggregateElement(i); in visitSRem() 1470 Elts[i] = C->getAggregateElement(i); // Handle undef, etc. in visitSRem()
|
D | InstCombineSimplifyDemanded.cpp | 914 Constant *Elt = C->getAggregateElement(i); in SimplifyDemandedVectorElts() 1060 Constant *CElt = CV->getAggregateElement(i); in SimplifyDemandedVectorElts()
|
D | InstructionCombining.cpp | 1318 C2M[ShMask[I]] = C1->getAggregateElement(I); in SimplifyVectorOp()
|
/external/llvm/lib/Target/X86/ |
D | X86TargetObjectFile.cpp | 151 HexString += scalarConstantToHexString(C->getAggregateElement(I)); in scalarConstantToHexString()
|
/external/llvm/lib/Transforms/Instrumentation/ |
D | InstrProfiling.cpp | 244 assert(isa<ConstantArray>(Init->getAggregateElement(4)) && in lowerCoverageData() 246 ConstantArray *Records = cast<ConstantArray>(Init->getAggregateElement(4)); in lowerCoverageData()
|
D | MemorySanitizer.cpp | 1605 dyn_cast<ConstantInt>(ConstArg->getAggregateElement(Idx))) { in handleMulByConstant()
|
/external/clang/lib/CodeGen/ |
D | CGExprComplex.cpp | 125 return ComplexPairTy(pair->getAggregateElement(0U), in VisitDeclRefExpr() 126 pair->getAggregateElement(1U)); in VisitDeclRefExpr()
|
D | MicrosoftCXXABI.cpp | 2806 Val->getAggregateElement(0U) : Val; in MemberPointerConstantIsNull() 2826 if (Val->getAggregateElement(I) != Fields[I]) in MemberPointerConstantIsNull() 3124 Mapping->getAggregateElement(cast<llvm::Constant>(VBIndex)); in EmitNonNullMemberPointerConversion() 4101 cast<llvm::ConstantInt>(CTA->getInitializer()->getAggregateElement(0U)) in getThrowInfo()
|
D | CGExpr.cpp | 484 return cast<llvm::ConstantInt>(Elts->getAggregateElement(Idx)) in getAccessedFieldNo() 3027 CElts.push_back(BaseElts->getAggregateElement(Indices[i])); in EmitExtVectorElementExpr()
|
/external/llvm/lib/Transforms/IPO/ |
D | GlobalOpt.cpp | 495 Constant *In = Init->getAggregateElement(i); in SRAGlobal() 528 Constant *In = Init->getAggregateElement(i); in SRAGlobal() 2251 Elts.push_back(Init->getAggregateElement(i)); in EvaluateStoreInto() 2274 Elts.push_back(Init->getAggregateElement(i)); in EvaluateStoreInto()
|
/external/llvm/lib/Linker/ |
D | IRMover.cpp | 843 Dest.push_back(C->getAggregateElement(i)); in getArrayElements() 927 E->getAggregateElement(2)->stripPointerCasts()); in linkAppendingVarProto()
|
/external/llvm/lib/IR/ |
D | Constants.cpp | 270 Constant *Constant::getAggregateElement(unsigned Elt) const { in getAggregateElement() function in Constant 292 Constant *Constant::getAggregateElement(Constant *Elt) const { in getAggregateElement() function in Constant 295 return getAggregateElement(CI->getZExtValue()); in getAggregateElement() 1382 const Constant *C = this->getAggregateElement(0U); in getUniqueInteger()
|
D | ConstantFold.cpp | 795 return Val->getAggregateElement(CIdx->getZExtValue()); in ConstantFoldExtractElementInstruction() 877 if (Constant *C = Agg->getAggregateElement(Idxs[0])) in ConstantFoldExtractValueInstruction() 900 Constant *C = Agg->getAggregateElement(i); in ConstantFoldInsertValueInstruction()
|
D | AsmWriter.cpp | 1276 WriteAsOperandInternal(Out, CV->getAggregateElement(0U), &TypePrinter, in WriteConstantInternal() 1282 WriteAsOperandInternal(Out, CV->getAggregateElement(i), &TypePrinter, in WriteConstantInternal()
|
D | Instructions.cpp | 1795 Constant *C = Mask->getAggregateElement(i); in getMaskValue() 1813 Constant *C = Mask->getAggregateElement(i); in getShuffleMask()
|
/external/llvm/lib/Transforms/Scalar/ |
D | SCCP.cpp | 407 Constant *Elt = C->getAggregateElement(i); in getStructValueState()
|
/external/llvm/lib/Target/AMDGPU/ |
D | AMDGPUISelLowering.cpp | 721 Constant *Elt = Init->getAggregateElement(I); in LowerConstantInitializer() 745 Constant *Elt = Init->getAggregateElement(i); in LowerConstantInitializer()
|