Home
last modified time | relevance | path

Searched refs:getAggregateElement (Results 1 – 25 of 27) sorted by relevance

12

/external/llvm/include/llvm/IR/
DConstant.h100 Constant *getAggregateElement(unsigned Elt) const;
101 Constant *getAggregateElement(Constant *Elt) const;
/external/llvm/lib/Analysis/
DConstantFolding.cpp178 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()
DVectorUtils.cpp375 return C->getAggregateElement(EltNo); in findScalarElement()
406 if (Constant *Elt = Con->getAggregateElement(EltNo)) in findScalarElement()
DLint.cpp534 Constant *Elem = C->getAggregateElement(I); in isZero()
DInstructionSimplify.cpp1301 if (!isUndefShift(C->getAggregateElement(I))) in isUndefShift()
/external/llvm/lib/Target/X86/Utils/
DX86ShuffleDecode.cpp325 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/
DInstCombineCalls.cpp399 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()
DInstCombineVectorOps.cpp33 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()
DInstCombineMulDivRem.cpp436 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()
DInstCombineSimplifyDemanded.cpp914 Constant *Elt = C->getAggregateElement(i); in SimplifyDemandedVectorElts()
1060 Constant *CElt = CV->getAggregateElement(i); in SimplifyDemandedVectorElts()
DInstructionCombining.cpp1318 C2M[ShMask[I]] = C1->getAggregateElement(I); in SimplifyVectorOp()
/external/llvm/lib/Target/X86/
DX86TargetObjectFile.cpp151 HexString += scalarConstantToHexString(C->getAggregateElement(I)); in scalarConstantToHexString()
/external/llvm/lib/Transforms/Instrumentation/
DInstrProfiling.cpp244 assert(isa<ConstantArray>(Init->getAggregateElement(4)) && in lowerCoverageData()
246 ConstantArray *Records = cast<ConstantArray>(Init->getAggregateElement(4)); in lowerCoverageData()
DMemorySanitizer.cpp1605 dyn_cast<ConstantInt>(ConstArg->getAggregateElement(Idx))) { in handleMulByConstant()
/external/clang/lib/CodeGen/
DCGExprComplex.cpp125 return ComplexPairTy(pair->getAggregateElement(0U), in VisitDeclRefExpr()
126 pair->getAggregateElement(1U)); in VisitDeclRefExpr()
DMicrosoftCXXABI.cpp2806 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()
DCGExpr.cpp484 return cast<llvm::ConstantInt>(Elts->getAggregateElement(Idx)) in getAccessedFieldNo()
3027 CElts.push_back(BaseElts->getAggregateElement(Indices[i])); in EmitExtVectorElementExpr()
/external/llvm/lib/Transforms/IPO/
DGlobalOpt.cpp495 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/
DIRMover.cpp843 Dest.push_back(C->getAggregateElement(i)); in getArrayElements()
927 E->getAggregateElement(2)->stripPointerCasts()); in linkAppendingVarProto()
/external/llvm/lib/IR/
DConstants.cpp270 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()
DConstantFold.cpp795 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()
DAsmWriter.cpp1276 WriteAsOperandInternal(Out, CV->getAggregateElement(0U), &TypePrinter, in WriteConstantInternal()
1282 WriteAsOperandInternal(Out, CV->getAggregateElement(i), &TypePrinter, in WriteConstantInternal()
DInstructions.cpp1795 Constant *C = Mask->getAggregateElement(i); in getMaskValue()
1813 Constant *C = Mask->getAggregateElement(i); in getShuffleMask()
/external/llvm/lib/Transforms/Scalar/
DSCCP.cpp407 Constant *Elt = C->getAggregateElement(i); in getStructValueState()
/external/llvm/lib/Target/AMDGPU/
DAMDGPUISelLowering.cpp721 Constant *Elt = Init->getAggregateElement(I); in LowerConstantInitializer()
745 Constant *Elt = Init->getAggregateElement(i); in LowerConstantInitializer()

12