Searched refs:getAggregateElement (Results 1 – 17 of 17) sorted by relevance
/external/llvm/include/llvm/ |
D | Constant.h | 98 Constant *getAggregateElement(unsigned Elt) const; 99 Constant *getAggregateElement(Constant *Elt) const;
|
/external/llvm/lib/VMCore/ |
D | ConstantFold.cpp | 61 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 …]
|
D | Constants.cpp | 161 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()
|
D | AsmWriter.cpp | 914 WriteAsOperandInternal(Out, CV->getAggregateElement(0U), &TypePrinter, in WriteConstantInternal() 920 WriteAsOperandInternal(Out, CV->getAggregateElement(i), &TypePrinter, in WriteConstantInternal()
|
D | Instructions.cpp | 1605 Constant *C = Mask->getAggregateElement(i); in getMaskValue() 1623 Constant *C = Mask->getAggregateElement(i); in getShuffleMask()
|
/external/llvm/lib/Transforms/InstCombine/ |
D | InstCombineVectorOps.cpp | 26 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()
|
D | InstCombineMulDivRem.cpp | 694 Constant *Elt = C->getAggregateElement(i); in visitSRem() 708 Elts[i] = C->getAggregateElement(i); // Handle undef, etc. in visitSRem()
|
D | InstCombineCalls.cpp | 629 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()
|
D | InstCombineSimplifyDemanded.cpp | 850 Constant *Elt = C->getAggregateElement(i); in SimplifyDemandedVectorElts()
|
D | InstructionCombining.cpp | 1274 if (Constant *C2 = C->getAggregateElement(*EV.idx_begin())) { in visitExtractValueInst()
|
D | InstCombineCompares.cpp | 280 Constant *Elt = Init->getAggregateElement(i); in FoldCmpLoadFromIndexedGlobal()
|
/external/llvm/lib/Analysis/ |
D | ConstantFolding.cpp | 170 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()
|
D | ValueTracking.cpp | 1510 C = C->getAggregateElement(idx_range[0]); in FindInsertedValue()
|
/external/llvm/lib/Transforms/IPO/ |
D | GlobalOpt.cpp | 515 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/ |
D | LinkModules.cpp | 885 Dest.push_back(C->getAggregateElement(i)); in getArrayElements()
|
/external/llvm/lib/Transforms/Scalar/ |
D | SCCP.cpp | 411 Constant *Elt = C->getAggregateElement(i); in getStructValueState()
|
/external/clang/lib/CodeGen/ |
D | CGExpr.cpp | 515 return cast<llvm::ConstantInt>(Elts->getAggregateElement(Idx)) in getAccessedFieldNo() 1966 CElts.push_back(BaseElts->getAggregateElement(Indices[i])); in EmitExtVectorElementExpr()
|