Home
last modified time | relevance | path

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

12

/external/llvm/lib/Transforms/Instrumentation/
DSafeStack.cpp497 unsigned Align = std::max((unsigned)DL->getPrefTypeAlignment(Ty), in moveStaticAllocasToUnsafeStack()
505 std::max((unsigned)DL->getPrefTypeAlignment(Ty), AI->getAlignment()); in moveStaticAllocasToUnsafeStack()
531 unsigned Align = std::max((unsigned)DL->getPrefTypeAlignment(Ty), in moveStaticAllocasToUnsafeStack()
563 std::max((unsigned)DL->getPrefTypeAlignment(Ty), AI->getAlignment()); in moveStaticAllocasToUnsafeStack()
619 std::max((unsigned)DL->getPrefTypeAlignment(Ty), AI->getAlignment()), in moveDynamicAllocasToUnsafeStack()
/external/llvm/lib/Target/
DTarget.cpp111 return unwrap(TD)->getPrefTypeAlignment(unwrap(Ty)); in LLVMPreferredAlignmentOfType()
/external/llvm/lib/IR/
DDataLayout.cpp689 unsigned DataLayout::getPrefTypeAlignment(Type *Ty) const { in getPrefTypeAlignment() function in DataLayout
694 unsigned Align = getPrefTypeAlignment(Ty); in getPreferredTypeAlignmentShift()
768 unsigned Alignment = getPrefTypeAlignment(ElemType); in getPreferredAlignment()
/external/llvm/lib/Analysis/
DLoads.cpp106 BaseAlign = DL.getPrefTypeAlignment(BaseType); in isSafeToLoadUnconditionally()
/external/llvm/lib/Transforms/InstCombine/
DInstCombineLoadStoreAlloca.cpp231 AI.setAlignment(DL.getPrefTypeAlignment(AI.getAllocatedType())); in visitAllocaInst()
263 DL.getPrefTypeAlignment(EntryAI->getAllocatedType())); in visitAllocaInst()
765 Op, DL.getPrefTypeAlignment(LI.getType()), DL, &LI, AC, DT); in visitLoadInst()
1021 Ptr, DL.getPrefTypeAlignment(Val->getType()), DL, &SI, AC, DT); in visitStoreInst()
/external/llvm/include/llvm/IR/
DDataLayout.h413 unsigned getPrefTypeAlignment(Type *Ty) const;
/external/llvm/lib/Target/NVPTX/
DNVPTXAsmPrinter.cpp1159 O << " .align " << (int)DL.getPrefTypeAlignment(ETy); in printModuleLevelGV()
1350 O << " .align " << (int)DL.getPrefTypeAlignment(ETy); in emitPTXGlobalVariable()
1389 return DL.getPrefTypeAlignment(Ty); in getOpenCLAlignment()
1412 return DL.getPrefTypeAlignment(Ty); in getOpenCLAlignment()
DNVPTXISelLowering.cpp1932 TD.getPrefTypeAlignment(ValVT.getTypeForEVT(*DAG.getContext())); in LowerSTOREVector()
4309 TD.getPrefTypeAlignment(ResVT.getTypeForEVT(*DAG.getContext())); in ReplaceLoadVector()
/external/llvm/lib/CodeGen/
DSjLjEHPrepare.cpp200 unsigned Align = DL.getPrefTypeAlignment(FunctionContextTy); in setupFunctionContext()
/external/llvm/lib/CodeGen/SelectionDAG/
DFunctionLoweringInfo.cpp109 std::max((unsigned)MF->getDataLayout().getPrefTypeAlignment(Ty), in set()
DLegalizeTypesGeneric.cpp165 unsigned Alignment = DAG.getDataLayout().getPrefTypeAlignment( in ExpandRes_BITCAST()
DInstrEmitter.cpp409 Align = MF->getDataLayout().getPrefTypeAlignment(Type); in AddOperand()
DSelectionDAG.cpp1355 Alignment = getDataLayout().getPrefTypeAlignment(C->getType()); in getConstantPool()
1382 Alignment = getDataLayout().getPrefTypeAlignment(C->getType()); in getConstantPool()
1896 std::max((unsigned)getDataLayout().getPrefTypeAlignment(Ty), minAlign); in CreateStackTemporary()
1910 std::max(DL.getPrefTypeAlignment(Ty1), DL.getPrefTypeAlignment(Ty2)); in CreateStackTemporary()
DSelectionDAGBuilder.cpp1918 unsigned Align = DL->getPrefTypeAlignment(IRGuard->getType()); in visitSPDescriptorParent()
3074 std::max((unsigned)DL.getPrefTypeAlignment(Ty), I.getAlignment()); in visitAlloca()
6261 unsigned Align = DL.getPrefTypeAlignment(Ty); in visitInlineAsm()
7008 unsigned Align = DL.getPrefTypeAlignment(CLI.RetTy); in LowerCallTo()
DLegalizeVectorTypes.cpp858 unsigned Alignment = DAG.getDataLayout().getPrefTypeAlignment(VecType); in SplitVecRes_INSERT_SUBVECTOR()
957 unsigned Alignment = DAG.getDataLayout().getPrefTypeAlignment(VecType); in SplitVecRes_INSERT_VECTOR_ELT()
DLegalizeDAG.cpp1926 unsigned SrcAlign = DAG.getDataLayout().getPrefTypeAlignment( in EmitStackConvert()
1939 unsigned DestAlign = DAG.getDataLayout().getPrefTypeAlignment(DestType); in EmitStackConvert()
/external/llvm/lib/Target/ARM/
DARMFastISel.cpp492 unsigned Align = DL.getPrefTypeAlignment(CFP->getType()); in ARMMaterializeFP()
557 unsigned Align = DL.getPrefTypeAlignment(C->getType()); in ARMMaterializeInt()
615 unsigned Align = DL.getPrefTypeAlignment(GV->getType()); in ARMMaterializeGV()
2954 MF->getDataLayout().getPrefTypeAlignment(Type::getInt32PtrTy(*Context)); in ARMLowerPICELF()
/external/llvm/lib/CodeGen/MIRParser/
DMIRParser.cpp600 : M.getDataLayout().getPrefTypeAlignment(Value->getType()); in initializeConstantPool()
/external/lldb/source/Expression/
DIRForTarget.cpp1445 size_t align = m_target_data->getPrefTypeAlignment(initializer_type); in MaterializeInternalVariable()
2054 size_t align = m_target_data->getPrefTypeAlignment(operand_type); in ReplaceStaticLiterals()
DIRInterpreter.cpp358 … return Malloc(m_target_data.getTypeAllocSize(type), m_target_data.getPrefTypeAlignment(type)); in Malloc()
/external/llvm/lib/Target/AMDGPU/
DAMDGPUISelLowering.cpp700 false, TD.getPrefTypeAlignment(InitTy)); in LowerConstantInitializer()
708 false, TD.getPrefTypeAlignment(CFP->getType())); in LowerConstantInitializer()
757 false, TD.getPrefTypeAlignment(InitTy)); in LowerConstantInitializer()
811 unsigned Alignment = DL.getPrefTypeAlignment(EltType); in LowerGlobalAddress()
/external/llvm/lib/Transforms/Utils/
DInlineFunction.cpp883 Caller->getParent()->getDataLayout().getPrefTypeAlignment(AggTy); in HandleByValArgument()
DSimplifyLibCalls.cpp871 unsigned PrefAlignment = DL.getPrefTypeAlignment(IntType); in optimizeMemCmp()
/external/llvm/lib/Target/PowerPC/
DPPCFastISel.cpp1892 unsigned Align = DL.getPrefTypeAlignment(CFP->getType()); in PPCMaterializeFP()
/external/clang/lib/CodeGen/
DCodeGenFunction.h3228 CGF.CGM.getDataLayout().getPrefTypeAlignment(value->getType())); in save()

12