Home
last modified time | relevance | path

Searched refs:getPrefTypeAlign (Results 1 – 25 of 31) sorted by relevance

12

/external/llvm-project/llvm/lib/Target/NVPTX/
DNVPTXLowerArgs.cpp169 .getValueOr(DL.getPrefTypeAlign(StructType))); in handleByValParam()
DNVPTXISelLowering.cpp2308 TD.getPrefTypeAlign(ValVT.getTypeForEVT(*DAG.getContext())); in LowerSTOREVector()
4795 Align PrefAlign = TD.getPrefTypeAlign(ResVT.getTypeForEVT(*DAG.getContext())); in ReplaceLoadVector()
/external/llvm-project/clang/lib/CodeGen/
DCGGPUBuiltin.cpp114 Builder.CreateAlignedStore(Arg, P, DL.getPrefTypeAlign(Arg->getType())); in EmitNVPTXDevicePrintfCallExpr()
/external/llvm-project/llvm/lib/IR/
DDataLayout.cpp829 return getPrefTypeAlign(Ty).value(); in getPrefTypeAlignment()
832 Align DataLayout::getPrefTypeAlign(Type *Ty) const { in getPrefTypeAlign() function in DataLayout
917 Align Alignment = getPrefTypeAlign(ElemType); in getPreferredAlign()
DInstructions.cpp1295 return DL.getPrefTypeAlign(Ty); in computeAllocaDefaultAlign()
/external/llvm-project/llvm/include/llvm/IR/
DDataLayout.h548 Align getPrefTypeAlign(Type *Ty) const;
DIRBuilder.h1617 Align AllocaAlign = DL.getPrefTypeAlign(Ty);
1624 Align AllocaAlign = DL.getPrefTypeAlign(Ty);
/external/llvm-project/llvm/lib/CodeGen/SelectionDAG/
DFunctionLoweringInfo.cpp138 Align TyPrefAlign = MF->getDataLayout().getPrefTypeAlign(Ty); in set()
DSelectionDAG.cpp1534 : getDataLayout().getPrefTypeAlign(C->getType()); in getConstantPool()
1561 Alignment = getDataLayout().getPrefTypeAlign(C->getType()); in getConstantPool()
2051 Align RedAlign = UseABI ? DL.getABITypeAlign(Ty) : DL.getPrefTypeAlign(Ty); in getReducedAlign()
2068 Align RedAlign2 = UseABI ? DL.getABITypeAlign(Ty) : DL.getPrefTypeAlign(Ty); in getReducedAlign()
2092 std::max(getDataLayout().getPrefTypeAlign(Ty), Align(minAlign)); in CreateStackTemporary()
2108 Align Align = std::max(DL.getPrefTypeAlign(Ty1), DL.getPrefTypeAlign(Ty2)); in CreateStackTemporary()
DSelectionDAGBuilder.cpp1802 Align BaseAlign = DL.getPrefTypeAlign(I.getOperand(0)->getType()); in visitRet()
2521 Align Align = DL->getPrefTypeAlign(Type::getInt8PtrTy(M.getContext())); in visitSPDescriptorParent()
3866 MaybeAlign Alignment = std::max(DL.getPrefTypeAlign(Ty), I.getAlign()); in visitAlloca()
6372 Align Align = DL->getPrefTypeAlign(Global->getType()); in visitIntrinsicCall()
7963 TySize, DL.getPrefTypeAlign(Ty), false); in getAddressForMemoryInput()
9152 Align Alignment = DL.getPrefTypeAlign(CLI.RetTy); in LowerCallTo()
DLegalizeDAG.cpp1811 Align SrcAlign = DAG.getDataLayout().getPrefTypeAlign( in EmitStackConvert()
1824 Align DestAlign = DAG.getDataLayout().getPrefTypeAlign(DestType); in EmitStackConvert()
/external/llvm-project/llvm/lib/Transforms/InstCombine/
DInstCombineLoadStoreAlloca.cpp939 Op, DL.getPrefTypeAlign(LI.getType()), DL, &LI, &AC, &DT); in visitLoadInst()
1339 Ptr, DL.getPrefTypeAlign(Val->getType()), DL, &SI, &AC, &DT); in visitStoreInst()
/external/llvm-project/llvm/lib/Target/ARM/
DARMFastISel.cpp446 Align Alignment = DL.getPrefTypeAlign(CFP->getType()); in ARMMaterializeFP()
506 Align Alignment = DL.getPrefTypeAlign(C->getType()); in ARMMaterializeInt()
564 Align Alignment = DL.getPrefTypeAlign(GV->getType()); in ARMMaterializeGV()
2959 MF->getDataLayout().getPrefTypeAlign(Type::getInt32PtrTy(*Context)); in ARMLowerPICELF()
DARMISelLowering.cpp9201 const Align StackAlign = DL.getPrefTypeAlign(RetTy); in LowerFSINCOS()
10234 Align Alignment = MF->getDataLayout().getPrefTypeAlign(Int32Ty); in EmitSjLjDispatchBlock()
10334 Align Alignment = MF->getDataLayout().getPrefTypeAlign(Int32Ty); in EmitSjLjDispatchBlock()
10735 Align Alignment = MF->getDataLayout().getPrefTypeAlign(Int32Ty); in EmitStructByval()
/external/llvm-project/llvm/lib/Transforms/IPO/
DArgumentPromotion.cpp386 I->getParamAlign().getValueOr(DL.getPrefTypeAlign(AgTy)), "", in doPromotion()
/external/llvm-project/llvm/lib/CodeGen/MIRParser/
DMIRParser.cpp880 M.getDataLayout().getPrefTypeAlign(Value->getType()); in initializeConstantPool()
/external/llvm-project/llvm/lib/CodeGen/
DAtomicExpandPass.cpp1655 const Align AllocaAlignment = DL.getPrefTypeAlign(SizedIntTy); in expandAtomicOpToLibcall()
/external/llvm-project/polly/lib/CodeGen/
DBlockGenerators.cpp516 DL.getPrefTypeAlign(Ty), ScalarBase->getName() + NameExt); in getOrCreateAlloca()
/external/llvm-project/llvm/lib/Target/PowerPC/
DPPCFastISel.cpp2010 Align Alignment = DL.getPrefTypeAlign(CFP->getType()); in PPCMaterializeFP()
/external/llvm-project/llvm/lib/CodeGen/GlobalISel/
DIRTranslator.cpp2514 Align Alignment = std::max(AI.getAlign(), DL->getPrefTypeAlign(Ty)); in translateAlloca()
/external/llvm-project/llvm/lib/Target/X86/
DX86FastISel.cpp3794 Align Alignment = DL.getPrefTypeAlign(CFP->getType()); in X86MaterializeFP()
/external/llvm-project/llvm/lib/Transforms/Scalar/
DSROA.cpp4326 IsUnconstrained ? DL.getPrefTypeAlign(SliceTy) : Alignment, in rewritePartition()
/external/llvm-project/llvm/lib/Target/AArch64/
DAArch64FastISel.cpp437 Align Alignment = DL.getPrefTypeAlign(CFP->getType()); in materializeFP()
/external/llvm-project/llvm/lib/Target/AArch64/GISel/
DAArch64InstructionSelector.cpp3930 Align Alignment = MF.getDataLayout().getPrefTypeAlign(CPTy); in emitConstantPoolEntry()
/external/swiftshader/src/Reactor/
DLLVMReactor.cpp636 auto align = jit->module->getDataLayout().getPrefTypeAlign(T(type)); in allocateStackVariable()

12