Home
last modified time | relevance | path

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

/external/llvm/lib/Target/Hexagon/
DHexagonVarargsCallingConvention.h78 State.getTarget().getTargetData()->getABITypeAlignment(ArgTy); in CC_Hexagon32_VarArgs()
133 State.getTarget().getTargetData()->getABITypeAlignment(ArgTy); in RetCC_Hexagon32_VarArgs()
/external/llvm/include/llvm/Target/
DTargetData.h248 return RoundUpAlignment(getTypeStoreSize(Ty), getABITypeAlignment(Ty)); in getTypeAllocSize()
261 unsigned getABITypeAlignment(Type *Ty) const;
/external/llvm/lib/Target/
DTargetData.cpp53 unsigned TyAlign = ST->isPacked() ? 1 : TD.getABITypeAlignment(Ty); in StructLayout()
561 unsigned TargetData::getABITypeAlignment(Type *Ty) const { in getABITypeAlignment() function in TargetData
577 return getABITypeAlignment(Ty); in getCallFrameTypeAlignment()
644 Alignment = std::max(GVAlignment, getABITypeAlignment(ElemType)); in getPreferredAlignment()
DTarget.cpp78 return unwrap(TD)->getABITypeAlignment(unwrap(Ty)); in LLVMABIAlignmentOfType()
/external/llvm/lib/Transforms/Scalar/
DGlobalMerge.cpp187 if (Alignment > TD->getABITypeAlignment(Ty)) in doInitialization()
DMemCpyOptimizer.cpp453 Alignment = TD->getABITypeAlignment(EltType); in INITIALIZE_PASS_DEPENDENCY()
/external/llvm/lib/Transforms/InstCombine/
DInstCombineLoadStoreAlloca.cpp222 TD->getABITypeAlignment(LI.getType()); in visitLoadInst()
449 TD->getABITypeAlignment(Val->getType()); in visitStoreInst()
DInstCombineCasts.cpp94 unsigned AllocElTyAlign = TD->getABITypeAlignment(AllocElTy); in PromoteCastOfAllocation()
95 unsigned CastElTyAlign = TD->getABITypeAlignment(CastElTy); in PromoteCastOfAllocation()
/external/llvm/lib/Analysis/
DLint.cpp251 TD ? TD->getABITypeAlignment(Ty) : 0, in visitCallSite()
415 if (Align == 0 && Ty) Align = TD->getABITypeAlignment(Ty); in visitMemoryReference()
DValueTracking.cpp287 Align = TD->getABITypeAlignment(ObjectType); in ComputeMaskedBits()
601 Align = TD->getABITypeAlignment(AI->getType()->getElementType()); in ComputeMaskedBits()
/external/clang/lib/CodeGen/
DCGObjCMac.cpp4824 GV->setAlignment(CGM.getTargetData().getABITypeAlignment(Init->getType())); in AddModuleClassList()
5040 CGM.getTargetData().getABITypeAlignment(ObjCTypes.ClassRonfABITy)); in BuildClassRoTInitializer()
5077 CGM.getTargetData().getABITypeAlignment(ObjCTypes.ClassnfABITy)); in BuildClassMetaData()
5333 CGM.getTargetData().getABITypeAlignment(ObjCTypes.CategorynfABITy)); in GenerateCategory()
5392 GV->setAlignment(CGM.getTargetData().getABITypeAlignment(Init->getType())); in EmitMethodList()
5426 CGM.getTargetData().getABITypeAlignment(ObjCTypes.LongTy)); in EmitIvarOffsetVar()
5511 CGM.getTargetData().getABITypeAlignment(Init->getType())); in EmitIvarList()
5652 CGM.getTargetData().getABITypeAlignment(ObjCTypes.ProtocolnfABITy)); in GetOrEmitProtocol()
5667 CGM.getTargetData().getABITypeAlignment(ObjCTypes.ProtocolnfABIPtrTy)); in GetOrEmitProtocol()
5721 CGM.getTargetData().getABITypeAlignment(Init->getType())); in EmitProtocolList()
[all …]
DCGRecordLayoutBuilder.cpp554 Types.getTargetData().getABITypeAlignment(fieldType)); in LayoutUnion()
954 return CharUnits::fromQuantity(Types.getTargetData().getABITypeAlignment(Ty)); in getTypeAlignment()
DCGExprConstant.cpp82 CGM.getTargetData().getABITypeAlignment(C->getType())); in getAlignment()
340 CGM.getTargetData().getABITypeAlignment(C->getType())); in ConvertStructToPacked()
DCGCall.cpp1162 CGM.getTargetData().getABITypeAlignment(ArgI.getCoerceToType()); in EmitFunctionProlog()
DTargetInfo.cpp1763 unsigned HiAlign = TD.getABITypeAlignment(Hi); in GetX86_64ByValArgumentPair()
/external/llvm/lib/Target/XCore/
DXCoreISelLowering.cpp409 getABITypeAlignment(LD->getMemoryVT().getTypeForEVT(*DAG.getContext())); in LowerLOAD()
511 getABITypeAlignment(ST->getMemoryVT().getTypeForEVT(*DAG.getContext())); in LowerSTORE()
1498 unsigned ABIAlignment = getTargetData()->getABITypeAlignment( in PerformDAGCombine()
/external/llvm/lib/Transforms/IPO/
DGlobalOpt.cpp509 StartAlignment = TD.getABITypeAlignment(GV->getType()); in SRAGlobal()
530 if (NewAlign > TD.getABITypeAlignment(STy->getElementType(i))) in SRAGlobal()
545 unsigned EltAlign = TD.getABITypeAlignment(STy->getElementType()); in SRAGlobal()
/external/llvm/lib/Target/X86/
DX86FastISel.cpp692 TD.getABITypeAlignment(S->getValueOperand()->getType()); in X86SelectStore()
1658 unsigned OriginalAlignment = TD.getABITypeAlignment(ArgTy); in DoSelectCall()
DX86ISelLowering.cpp1290 unsigned TyAlign = TD->getABITypeAlignment(Ty); in getByValTypeAlignment()
13167 getABITypeAlignment(VT.getTypeForEVT(*DAG.getContext())); in XFormVExtractWithShuffleIntoLoad()
/external/llvm/lib/CodeGen/SelectionDAG/
DLegalizeDAG.cpp924 unsigned ABIAlignment = TLI.getTargetData()->getABITypeAlignment(Ty); in LegalizeOp()
1108 TLI.getTargetData()->getABITypeAlignment(Ty); in LegalizeOp()
1199 unsigned ABIAlignment= TLI.getTargetData()->getABITypeAlignment(Ty); in LegalizeOp()
1304 unsigned ABIAlignment= TLI.getTargetData()->getABITypeAlignment(Ty); in LegalizeOp()
DSelectionDAG.cpp851 return TLI.getTargetData()->getABITypeAlignment(Ty); in getEVTAlignment()
3448 unsigned NewAlign = (unsigned) TLI.getTargetData()->getABITypeAlignment(Ty); in getMemcpyLoadsAndStores()
3537 unsigned NewAlign = (unsigned) TLI.getTargetData()->getABITypeAlignment(Ty); in getMemmoveLoadsAndStores()
3612 unsigned NewAlign = (unsigned) TLI.getTargetData()->getABITypeAlignment(Ty); in getMemsetStores()
DDAGCombiner.cpp5297 getABITypeAlignment(VT.getTypeForEVT(*DAG.getContext())); in CombineConsecutiveLoads()
5366 getABITypeAlignment(VT.getTypeForEVT(*DAG.getContext())); in visitBITCAST()
6936 if (NewAlign < TLI.getTargetData()->getABITypeAlignment(NewVTTy)) in ReduceLoadOpStoreWidth()
6999 unsigned ABIAlign = TLI.getTargetData()->getABITypeAlignment(IntVTTy); in TransformFPLoadStorePair()
7038 getABITypeAlignment(SVT.getTypeForEVT(*DAG.getContext())); in visitSTORE()
7424 ->getABITypeAlignment(LVT.getTypeForEVT(*DAG.getContext())); in visitEXTRACT_VECTOR_ELT()
DSelectionDAGBuilder.cpp6346 TD.getABITypeAlignment(I.getType())); in visitVAArg()
6394 getTargetData()->getABITypeAlignment(ArgTy); in LowerCallTo()
6619 TD->getABITypeAlignment(ArgTy); in LowerArguments()
/external/llvm/lib/Target/ARM/
DARMFastISel.cpp2161 unsigned OriginalAlignment = TD.getABITypeAlignment(ArgTy); in ARMEmitLibcall()
2286 unsigned OriginalAlignment = TD.getABITypeAlignment(ArgTy); in SelectCall()
DARMLoadStoreOptimizer.cpp1602 ? TD->getABITypeAlignment(Type::getInt64Ty(Func->getContext())) in CanFormLdStDWord()