Home
last modified time | relevance | path

Searched refs:AggTy (Results 1 – 7 of 7) sorted by relevance

/external/swiftshader/third_party/LLVM/lib/Transforms/Utils/
DInlineFunction.cpp734 Type *AggTy = cast<PointerType>(Arg->getType())->getElementType(); in HandleByValArgument() local
763 Align = IFI.TD->getPrefTypeAlignment(AggTy); in HandleByValArgument()
772 Value *NewAlloca = new AllocaInst(AggTy, 0, Align, Arg->getName(), in HandleByValArgument()
784 Size = ConstantExpr::getSizeOf(AggTy); in HandleByValArgument()
787 IFI.TD->getTypeStoreSize(AggTy)); in HandleByValArgument()
/external/swiftshader/third_party/LLVM/lib/VMCore/
DConstantFold.cpp928 CompositeType *AggTy = cast<CompositeType>(Agg->getType()); in ConstantFoldInsertValueInstruction() local
930 if (ArrayType *AR = dyn_cast<ArrayType>(AggTy)) in ConstantFoldInsertValueInstruction()
933 numOps = cast<StructType>(AggTy)->getNumElements(); in ConstantFoldInsertValueInstruction()
937 Type *MemberTy = AggTy->getTypeAtIndex(i); in ConstantFoldInsertValueInstruction()
946 if (StructType* ST = dyn_cast<StructType>(AggTy)) in ConstantFoldInsertValueInstruction()
948 return ConstantArray::get(cast<ArrayType>(AggTy), Ops); in ConstantFoldInsertValueInstruction()
959 CompositeType *AggTy = cast<CompositeType>(Agg->getType()); in ConstantFoldInsertValueInstruction() local
961 if (ArrayType *AR = dyn_cast<ArrayType>(AggTy)) in ConstantFoldInsertValueInstruction()
964 numOps = cast<StructType>(AggTy)->getNumElements(); in ConstantFoldInsertValueInstruction()
968 Type *MemberTy = AggTy->getTypeAtIndex(i); in ConstantFoldInsertValueInstruction()
[all …]
/external/llvm/lib/Transforms/Utils/
DInlineFunction.cpp1165 Type *AggTy = cast<PointerType>(Src->getType())->getElementType(); in HandleByValArgumentInit() local
1168 Value *Size = Builder.getInt64(M->getDataLayout().getTypeStoreSize(AggTy)); in HandleByValArgumentInit()
1183 Type *AggTy = ArgTy->getElementType(); in HandleByValArgument() local
1212 Caller->getParent()->getDataLayout().getPrefTypeAlignment(AggTy); in HandleByValArgument()
1219 Value *NewAlloca = new AllocaInst(AggTy, nullptr, Align, Arg->getName(), in HandleByValArgument()
/external/swiftshader/third_party/LLVM/lib/CodeGen/SelectionDAG/
DFastISel.cpp854 Type *AggTy = Op0->getType(); in SelectExtractValue() local
867 unsigned VTIndex = ComputeLinearIndex(AggTy, EVI->getIndices()); in SelectExtractValue()
870 ComputeValueVTs(TLI, AggTy, AggValueVTs); in SelectExtractValue()
DSelectionDAGBuilder.cpp2970 Type *AggTy = I.getType(); in visitInsertValue() local
2975 unsigned LinearIndex = ComputeLinearIndex(AggTy, I.getIndices()); in visitInsertValue()
2978 ComputeValueVTs(TLI, AggTy, AggValueVTs); in visitInsertValue()
3011 Type *AggTy = Op0->getType(); in visitExtractValue() local
3015 unsigned LinearIndex = ComputeLinearIndex(AggTy, I.getIndices()); in visitExtractValue()
/external/llvm/lib/CodeGen/SelectionDAG/
DFastISel.cpp1535 Type *AggTy = Op0->getType(); in selectExtractValue() local
1548 unsigned VTIndex = ComputeLinearIndex(AggTy, EVI->getIndices()); in selectExtractValue()
1551 ComputeValueVTs(TLI, DL, AggTy, AggValueVTs); in selectExtractValue()
DSelectionDAGBuilder.cpp3202 Type *AggTy = I.getType(); in visitInsertValue() local
3207 unsigned LinearIndex = ComputeLinearIndex(AggTy, I.getIndices()); in visitInsertValue()
3211 ComputeValueVTs(TLI, DAG.getDataLayout(), AggTy, AggValueVTs); in visitInsertValue()
3249 Type *AggTy = Op0->getType(); in visitExtractValue() local
3253 unsigned LinearIndex = ComputeLinearIndex(AggTy, I.getIndices()); in visitExtractValue()