/external/swiftshader/third_party/LLVM/lib/Transforms/Utils/ |
D | InlineFunction.cpp | 734 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/ |
D | ConstantFold.cpp | 928 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/ |
D | InlineFunction.cpp | 1165 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-7.0/llvm/lib/Transforms/Utils/ |
D | InlineFunction.cpp | 1243 Type *AggTy = cast<PointerType>(Src->getType())->getElementType(); in HandleByValArgumentInit() local 1246 Value *Size = Builder.getInt64(M->getDataLayout().getTypeStoreSize(AggTy)); in HandleByValArgumentInit() 1261 Type *AggTy = ArgTy->getElementType(); in HandleByValArgument() local 1290 unsigned Align = DL.getPrefTypeAlignment(AggTy); in HandleByValArgument() 1297 Value *NewAlloca = new AllocaInst(AggTy, DL.getAllocaAddrSpace(), in HandleByValArgument()
|
/external/swiftshader/third_party/LLVM/lib/CodeGen/SelectionDAG/ |
D | FastISel.cpp | 854 Type *AggTy = Op0->getType(); in SelectExtractValue() local 867 unsigned VTIndex = ComputeLinearIndex(AggTy, EVI->getIndices()); in SelectExtractValue() 870 ComputeValueVTs(TLI, AggTy, AggValueVTs); in SelectExtractValue()
|
D | SelectionDAGBuilder.cpp | 2970 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/ |
D | FastISel.cpp | 1535 Type *AggTy = Op0->getType(); in selectExtractValue() local 1548 unsigned VTIndex = ComputeLinearIndex(AggTy, EVI->getIndices()); in selectExtractValue() 1551 ComputeValueVTs(TLI, DL, AggTy, AggValueVTs); in selectExtractValue()
|
D | SelectionDAGBuilder.cpp | 3202 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()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/SelectionDAG/ |
D | FastISel.cpp | 1740 Type *AggTy = Op0->getType(); in selectExtractValue() local 1753 unsigned VTIndex = ComputeLinearIndex(AggTy, EVI->getIndices()); in selectExtractValue() 1756 ComputeValueVTs(TLI, DL, AggTy, AggValueVTs); in selectExtractValue()
|
D | SelectionDAGBuilder.cpp | 3377 Type *AggTy = I.getType(); in visitInsertValue() local 3382 unsigned LinearIndex = ComputeLinearIndex(AggTy, Indices); in visitInsertValue() 3386 ComputeValueVTs(TLI, DAG.getDataLayout(), AggTy, AggValueVTs); in visitInsertValue() 3430 Type *AggTy = Op0->getType(); in visitExtractValue() local 3434 unsigned LinearIndex = ComputeLinearIndex(AggTy, Indices); in visitExtractValue()
|