Home
last modified time | relevance | path

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

/external/llvm/include/llvm/
DConstant.h98 Constant *getAggregateElement(unsigned Elt) const;
99 Constant *getAggregateElement(Constant *Elt) const;
/external/llvm/lib/VMCore/
DConstantFold.cpp61 Constant *C = CV->getAggregateElement(i); in BitCastConstantVector()
558 V->getAggregateElement(i), DstEltTy)); in ConstantFoldCastInstruction()
703 Constant *Res = (Cond->getZExtValue() ? V2 : V1)->getAggregateElement(i); in ConstantFoldSelectInstruction()
750 return Val->getAggregateElement(Index); in ConstantFoldExtractElementInstruction()
769 if (Constant *C = Val->getAggregateElement(i)) in ConstantFoldInsertElementInstruction()
805 InElt = V2->getAggregateElement(Elt - SrcNumElts); in ConstantFoldShuffleVectorInstruction()
807 InElt = V1->getAggregateElement(Elt); in ConstantFoldShuffleVectorInstruction()
821 if (Constant *C = Agg->getAggregateElement(Idxs[0])) in ConstantFoldExtractValueInstruction()
844 Constant *C = Agg->getAggregateElement(i); in ConstantFoldInsertValueInstruction()
1134 Constant *LHS = C1->getAggregateElement(i); in ConstantFoldBinaryInstruction()
[all …]
DConstants.cpp161 Constant *Constant::getAggregateElement(unsigned Elt) const { in getAggregateElement() function in Constant
182 Constant *Constant::getAggregateElement(Constant *Elt) const { in getAggregateElement() function in Constant
185 return getAggregateElement(CI->getZExtValue()); in getAggregateElement()
DAsmWriter.cpp914 WriteAsOperandInternal(Out, CV->getAggregateElement(0U), &TypePrinter, in WriteConstantInternal()
920 WriteAsOperandInternal(Out, CV->getAggregateElement(i), &TypePrinter, in WriteConstantInternal()
DInstructions.cpp1605 Constant *C = Mask->getAggregateElement(i); in getMaskValue()
1623 Constant *C = Mask->getAggregateElement(i); in getShuffleMask()
/external/llvm/lib/Transforms/InstCombine/
DInstCombineVectorOps.cpp26 Constant *Op0 = C->getAggregateElement(0U); in CheapToScalarize()
28 if (C->getAggregateElement(i) != Op0) in CheapToScalarize()
67 return C->getAggregateElement(EltNo); in FindScalarElement()
104 return ReplaceInstUsesWith(EI, C->getAggregateElement(0U)); in visitExtractElementInst()
DInstCombineMulDivRem.cpp694 Constant *Elt = C->getAggregateElement(i); in visitSRem()
708 Elts[i] = C->getAggregateElement(i); // Handle undef, etc. in visitSRem()
DInstCombineCalls.cpp629 Constant *Elt = Mask->getAggregateElement(i); in visitCallInst()
650 if (isa<UndefValue>(Mask->getAggregateElement(i))) in visitCallInst()
653 cast<ConstantInt>(Mask->getAggregateElement(i))->getZExtValue(); in visitCallInst()
DInstCombineSimplifyDemanded.cpp850 Constant *Elt = C->getAggregateElement(i); in SimplifyDemandedVectorElts()
DInstructionCombining.cpp1274 if (Constant *C2 = C->getAggregateElement(*EV.idx_begin())) { in visitExtractValueInst()
DInstCombineCompares.cpp280 Constant *Elt = Init->getAggregateElement(i); in FoldCmpLoadFromIndexedGlobal()
/external/llvm/lib/Analysis/
DConstantFolding.cpp170 Constant *Src =dyn_cast<ConstantInt>(C->getAggregateElement(SrcElt++)); in FoldBitCast()
196 Constant *Src = dyn_cast<ConstantInt>(C->getAggregateElement(i)); in FoldBitCast()
363 if (!ReadDataFromGlobal(C->getAggregateElement(Index), Offset, CurPtr, in ReadDataFromGlobal()
1025 C = C->getAggregateElement(CE->getOperand(i)); in ConstantFoldLoadThroughGEPConstantExpr()
1040 C = C->getAggregateElement(Indices[i]); in ConstantFoldLoadThroughGEPIndices()
1318 dyn_cast_or_null<ConstantFP>(Op->getAggregateElement(0U))) in ConstantFoldCall()
1326 dyn_cast_or_null<ConstantFP>(Op->getAggregateElement(0U))) in ConstantFoldCall()
DValueTracking.cpp1510 C = C->getAggregateElement(idx_range[0]); in FindInsertedValue()
/external/llvm/lib/Transforms/IPO/
DGlobalOpt.cpp515 Constant *In = Init->getAggregateElement(i); in SRAGlobal()
547 Constant *In = Init->getAggregateElement(i); in SRAGlobal()
2214 Elts.push_back(Init->getAggregateElement(i)); in EvaluateStoreInto()
2237 Elts.push_back(Init->getAggregateElement(i)); in EvaluateStoreInto()
/external/llvm/lib/Linker/
DLinkModules.cpp885 Dest.push_back(C->getAggregateElement(i)); in getArrayElements()
/external/llvm/lib/Transforms/Scalar/
DSCCP.cpp411 Constant *Elt = C->getAggregateElement(i); in getStructValueState()
/external/clang/lib/CodeGen/
DCGExpr.cpp515 return cast<llvm::ConstantInt>(Elts->getAggregateElement(Idx)) in getAccessedFieldNo()
1966 CElts.push_back(BaseElts->getAggregateElement(Indices[i])); in EmitExtVectorElementExpr()