Home
last modified time | relevance | path

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

/external/llvm/lib/Transforms/InstCombine/
DInstCombineLoadStoreAlloca.cpp202 AI.setAlignment(TD->getPrefTypeAlignment(AI.getAllocatedType())); in visitAllocaInst()
234 TD->getPrefTypeAlignment(EntryAI->getAllocatedType())); in visitAllocaInst()
343 getOrEnforceKnownAlignment(Op, TD->getPrefTypeAlignment(LI.getType()),TD); in visitLoadInst()
569 getOrEnforceKnownAlignment(Ptr, TD->getPrefTypeAlignment(Val->getType()), in visitStoreInst()
/external/llvm/lib/IR/
DDataLayout.cpp600 unsigned DataLayout::getPrefTypeAlignment(Type *Ty) const { in getPrefTypeAlignment() function in DataLayout
605 unsigned Align = getPrefTypeAlignment(Ty); in getPreferredTypeAlignmentShift()
674 unsigned Alignment = getPrefTypeAlignment(ElemType); in getPreferredAlignment()
/external/llvm/lib/Target/
DTarget.cpp112 return unwrap(TD)->getPrefTypeAlignment(unwrap(Ty)); in LLVMPreferredAlignmentOfType()
/external/llvm/lib/Analysis/
DLoads.cpp82 BaseAlign = TD->getPrefTypeAlignment(BaseType); in isSafeToLoadUnconditionally()
/external/llvm/lib/Target/ARM/
DARMInstrInfo.cpp116 ->getPrefTypeAlignment(Type::getInt32PtrTy(*Context)); in runOnMachineFunction()
DARMFastISel.cpp542 unsigned Align = TD.getPrefTypeAlignment(CFP->getType()); in ARMMaterializeFP()
600 unsigned Align = TD.getPrefTypeAlignment(C->getType()); in ARMMaterializeInt()
659 unsigned Align = TD.getPrefTypeAlignment(GV->getType()); in ARMMaterializeGV()
DARMISelLowering.cpp6776 unsigned Align = getDataLayout()->getPrefTypeAlignment(Int32Ty); in EmitSjLjDispatchBlock()
6868 unsigned Align = getDataLayout()->getPrefTypeAlignment(Int32Ty); in EmitSjLjDispatchBlock()
7197 unsigned Align = getDataLayout()->getPrefTypeAlignment(Int32Ty); in EmitStructByval()
/external/llvm/lib/Transforms/Instrumentation/
DDebugIR.cpp405 Layout.getPrefTypeAlignment(T), getTypeName(T)); in getOrCreateType()
412 Layout.getPrefTypeAlignment(T), in getOrCreateType()
/external/llvm/include/llvm/IR/
DDataLayout.h353 unsigned getPrefTypeAlignment(Type *Ty) const;
/external/llvm/lib/Target/NVPTX/
DNVPTXAsmPrinter.cpp1181 O << " .align " << (int) TD->getPrefTypeAlignment(ETy); in printModuleLevelGV()
1352 O << " .align " << (int) TD->getPrefTypeAlignment(ETy); in emitPTXGlobalVariable()
1389 return TD->getPrefTypeAlignment(Ty); in getOpenCLAlignment()
1399 unsigned int alignE = TD->getPrefTypeAlignment(ETy); in getOpenCLAlignment()
1423 return TD->getPrefTypeAlignment(Ty); in getOpenCLAlignment()
/external/llvm/lib/Target/PowerPC/
DPPCFastISel.cpp123 unsigned Align = TD.getPrefTypeAlignment(CFP->getType()); in PPCMaterializeFP()
/external/llvm/lib/CodeGen/SelectionDAG/
DFunctionLoweringInfo.cpp82 std::max((unsigned)TLI->getDataLayout()->getPrefTypeAlignment(Ty), in set()
DLegalizeTypesGeneric.cpp155 TLI.getDataLayout()->getPrefTypeAlignment(NOutVT. in ExpandRes_BITCAST()
DInstrEmitter.cpp393 Align = TM->getDataLayout()->getPrefTypeAlignment(Type); in AddOperand()
DSelectionDAG.cpp1160 TM.getTargetLowering()->getDataLayout()->getPrefTypeAlignment(C->getType()); in getConstantPool()
1188 TM.getTargetLowering()->getDataLayout()->getPrefTypeAlignment(C->getType()); in getConstantPool()
1533 std::max((unsigned)TLI->getDataLayout()->getPrefTypeAlignment(Ty), minAlign); in CreateStackTemporary()
1548 unsigned Align = std::max(TD->getPrefTypeAlignment(Ty1), in CreateStackTemporary()
1549 TD->getPrefTypeAlignment(Ty2)); in CreateStackTemporary()
DLegalizeDAG.cpp1696 TLI.getDataLayout()->getPrefTypeAlignment(SrcOp.getValueType(). in EmitStackConvert()
1708 unsigned DestAlign = TLI.getDataLayout()->getPrefTypeAlignment(DestType); in EmitStackConvert()
DSelectionDAGBuilder.cpp3238 std::max((unsigned)TLI->getDataLayout()->getPrefTypeAlignment(Ty), in visitAlloca()
5245 unsigned Align = TLI->getDataLayout()->getPrefTypeAlignment( in LowerCallTo()
6019 unsigned Align = TLI->getDataLayout()->getPrefTypeAlignment(Ty); in visitInlineAsm()
DLegalizeVectorTypes.cpp775 TLI.getDataLayout()->getPrefTypeAlignment(VecType); in SplitVecRes_INSERT_VECTOR_ELT()
DDAGCombiner.cpp9839 TD.getPrefTypeAlignment(FPTy)); in SimplifySelectCC()
/external/llvm/lib/CodeGen/
DSjLjEHPrepare.cpp195 TLI->getDataLayout()->getPrefTypeAlignment(FunctionContextTy); in setupFunctionContext()
/external/llvm/lib/Transforms/Utils/
DInlineFunction.cpp373 Align = IFI.TD->getPrefTypeAlignment(AggTy); in HandleByValArgument()
/external/llvm/lib/Target/X86/
DX86FastISel.cpp2388 unsigned Align = TD.getPrefTypeAlignment(C->getType()); in TargetMaterializeConstant()
/external/llvm/lib/Transforms/Vectorize/
DBBVectorize.cpp972 unsigned VecAlignment = TD->getPrefTypeAlignment(VType); in areInstsCompatible()