Home
last modified time | relevance | path

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

12

/external/llvm/lib/Target/
DTarget.cpp111 return unwrap(TD)->getPrefTypeAlignment(unwrap(Ty)); in LLVMPreferredAlignmentOfType()
/external/llvm/lib/IR/
DDataLayout.cpp684 unsigned DataLayout::getPrefTypeAlignment(Type *Ty) const { in getPrefTypeAlignment() function in DataLayout
689 unsigned Align = getPrefTypeAlignment(Ty); in getPreferredTypeAlignmentShift()
763 unsigned Alignment = getPrefTypeAlignment(ElemType); in getPreferredAlignment()
/external/llvm/lib/Transforms/InstCombine/
DInstCombineLoadStoreAlloca.cpp230 AI.setAlignment(DL.getPrefTypeAlignment(AI.getAllocatedType())); in visitAllocaInst()
262 DL.getPrefTypeAlignment(EntryAI->getAllocatedType())); in visitAllocaInst()
684 Op, DL.getPrefTypeAlignment(LI.getType()), DL, &LI, AC, DT); in visitLoadInst()
886 Ptr, DL.getPrefTypeAlignment(Val->getType()), DL, &SI, AC, DT); in visitStoreInst()
/external/llvm/lib/Analysis/
DLoads.cpp100 BaseAlign = DL.getPrefTypeAlignment(BaseType); in isSafeToLoadUnconditionally()
/external/llvm/lib/Target/ARM/
DARMInstrInfo.cpp162 unsigned Align = TM.getDataLayout()->getPrefTypeAlignment( in runOnMachineFunction()
DARMFastISel.cpp494 unsigned Align = DL.getPrefTypeAlignment(CFP->getType()); in ARMMaterializeFP()
559 unsigned Align = DL.getPrefTypeAlignment(C->getType()); in ARMMaterializeInt()
617 unsigned Align = DL.getPrefTypeAlignment(GV->getType()); in ARMMaterializeGV()
DARMISelLowering.cpp6168 const unsigned StackAlign = TLI.getDataLayout()->getPrefTypeAlignment(RetTy); in LowerFSINCOS()
6662 unsigned Align = getDataLayout()->getPrefTypeAlignment(Int32Ty); in EmitSjLjDispatchBlock()
6754 unsigned Align = getDataLayout()->getPrefTypeAlignment(Int32Ty); in EmitSjLjDispatchBlock()
7137 unsigned Align = getDataLayout()->getPrefTypeAlignment(Int32Ty); in EmitStructByval()
/external/llvm/include/llvm/IR/
DDataLayout.h411 unsigned getPrefTypeAlignment(Type *Ty) const;
/external/llvm/lib/CodeGen/SelectionDAG/
DFunctionLoweringInfo.cpp133 std::max((unsigned)TLI->getDataLayout()->getPrefTypeAlignment(Ty), in set()
144 (unsigned)TLI->getDataLayout()->getPrefTypeAlignment( in set()
DLegalizeTypesGeneric.cpp159 TLI.getDataLayout()->getPrefTypeAlignment(NOutVT. in ExpandRes_BITCAST()
DInstrEmitter.cpp409 Align = MF->getTarget().getDataLayout()->getPrefTypeAlignment(Type); in AddOperand()
DSelectionDAG.cpp1336 Alignment = TLI->getDataLayout()->getPrefTypeAlignment(C->getType()); in getConstantPool()
1363 Alignment = TLI->getDataLayout()->getPrefTypeAlignment(C->getType()); in getConstantPool()
1811 std::max((unsigned)TLI->getDataLayout()->getPrefTypeAlignment(Ty), minAlign); in CreateStackTemporary()
1825 unsigned Align = std::max(TD->getPrefTypeAlignment(Ty1), in CreateStackTemporary()
1826 TD->getPrefTypeAlignment(Ty2)); in CreateStackTemporary()
DSelectionDAGBuilder.cpp1819 TLI.getDataLayout()->getPrefTypeAlignment(IRGuard->getType()); in visitSPDescriptorParent()
3456 std::max((unsigned)TLI.getDataLayout()->getPrefTypeAlignment(Ty), in visitAlloca()
6443 unsigned Align = TLI.getDataLayout()->getPrefTypeAlignment(Ty); in visitInlineAsm()
7176 unsigned Align = getDataLayout()->getPrefTypeAlignment(CLI.RetTy); in LowerCallTo()
DLegalizeVectorTypes.cpp836 unsigned Alignment = TLI.getDataLayout()->getPrefTypeAlignment(VecType); in SplitVecRes_INSERT_SUBVECTOR()
916 TLI.getDataLayout()->getPrefTypeAlignment(VecType); in SplitVecRes_INSERT_VECTOR_ELT()
DLegalizeDAG.cpp1781 TLI.getDataLayout()->getPrefTypeAlignment(SrcOp.getValueType(). in EmitStackConvert()
1793 unsigned DestAlign = TLI.getDataLayout()->getPrefTypeAlignment(DestType); in EmitStackConvert()
/external/llvm/lib/Target/NVPTX/
DNVPTXAsmPrinter.cpp1162 O << " .align " << (int) TD->getPrefTypeAlignment(ETy); in printModuleLevelGV()
1345 O << " .align " << (int) TD->getPrefTypeAlignment(ETy); in emitPTXGlobalVariable()
1382 return TD->getPrefTypeAlignment(Ty); in getOpenCLAlignment()
1405 return TD->getPrefTypeAlignment(Ty); in getOpenCLAlignment()
DNVPTXISelLowering.cpp1895 TD->getPrefTypeAlignment(ValVT.getTypeForEVT(*DAG.getContext())); in LowerSTOREVector()
4252 TD->getPrefTypeAlignment(ResVT.getTypeForEVT(*DAG.getContext())); in ReplaceLoadVector()
/external/llvm/lib/CodeGen/
DSjLjEHPrepare.cpp201 TLI->getDataLayout()->getPrefTypeAlignment(FunctionContextTy); in setupFunctionContext()
/external/llvm/lib/Target/R600/
DAMDGPUISelLowering.cpp685 TD->getPrefTypeAlignment(InitTy)); in LowerConstantInitializer()
693 TD->getPrefTypeAlignment(CFP->getType())); in LowerConstantInitializer()
742 TD->getPrefTypeAlignment(InitTy)); in LowerConstantInitializer()
795 unsigned Alignment = TD->getPrefTypeAlignment(EltType); in LowerGlobalAddress()
/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/Transforms/Utils/
DInlineFunction.cpp780 Caller->getParent()->getDataLayout().getPrefTypeAlignment(AggTy); in HandleByValArgument()
/external/clang/lib/CodeGen/
DCGOpenMPRuntime.cpp352 AI->setAlignment(CGM.getDataLayout().getPrefTypeAlignment(IdentTy)); in emitUpdateLocation()
/external/llvm/lib/Target/PowerPC/
DPPCFastISel.cpp1872 unsigned Align = DL.getPrefTypeAlignment(CFP->getType()); in PPCMaterializeFP()
/external/llvm/lib/Target/X86/
DX86FastISel.cpp3332 unsigned Align = DL.getPrefTypeAlignment(CFP->getType()); in X86MaterializeFP()

12