reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

Declarations

include/llvm/IR/DataLayout.h
  521   unsigned getPrefTypeAlignment(Type *Ty) const;

References

lib/CodeGen/AtomicExpandPass.cpp
 1624   unsigned AllocaAlignment = DL.getPrefTypeAlignment(SizedIntTy);
lib/CodeGen/GlobalISel/IRTranslator.cpp
 1805       std::max((unsigned)DL->getPrefTypeAlignment(Ty), AI.getAlignment());
lib/CodeGen/MIRParser/MIRParser.cpp
  827             : M.getDataLayout().getPrefTypeAlignment(Value->getType());
lib/CodeGen/SafeStack.cpp
  504         std::max(DL.getPrefTypeAlignment(Ty), StackGuardSlot->getAlignment());
  516     unsigned Align = std::max((unsigned)DL.getPrefTypeAlignment(Ty),
  529         std::max((unsigned)DL.getPrefTypeAlignment(Ty), AI->getAlignment());
  661         std::max((unsigned)DL.getPrefTypeAlignment(Ty), AI->getAlignment()),
lib/CodeGen/SelectionDAG/DAGCombiner.cpp
20007                                       TD.getPrefTypeAlignment(FPTy));
lib/CodeGen/SelectionDAG/FunctionLoweringInfo.cpp
  138           std::max((unsigned)MF->getDataLayout().getPrefTypeAlignment(Ty),
lib/CodeGen/SelectionDAG/InstrEmitter.cpp
  416       Align = MF->getDataLayout().getPrefTypeAlignment(Type);
lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
 1747   unsigned SrcAlign = DAG.getDataLayout().getPrefTypeAlignment(
 1760   unsigned DestAlign = DAG.getDataLayout().getPrefTypeAlignment(DestType);
lib/CodeGen/SelectionDAG/LegalizeTypesGeneric.cpp
  157   unsigned Alignment = DAG.getDataLayout().getPrefTypeAlignment(
lib/CodeGen/SelectionDAG/LegalizeVectorTypes.cpp
 1200   unsigned Alignment = DAG.getDataLayout().getPrefTypeAlignment(VecType);
 1497   unsigned Alignment = DAG.getDataLayout().getPrefTypeAlignment(VecType);
lib/CodeGen/SelectionDAG/SelectionDAG.cpp
 1432                     : getDataLayout().getPrefTypeAlignment(C->getType());
 1458     Alignment = getDataLayout().getPrefTypeAlignment(C->getType());
 1949       std::max((unsigned)getDataLayout().getPrefTypeAlignment(Ty), minAlign);
 1961       std::max(DL.getPrefTypeAlignment(Ty1), DL.getPrefTypeAlignment(Ty2));
 1961       std::max(DL.getPrefTypeAlignment(Ty1), DL.getPrefTypeAlignment(Ty2));
lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
 2517   unsigned Align = DL->getPrefTypeAlignment(Type::getInt8PtrTy(M.getContext()));
 3957       std::max((unsigned)DL.getPrefTypeAlignment(Ty), I.getAlignment());
 6375       unsigned Align = DL->getPrefTypeAlignment(Global->getType());
 7861   unsigned Align = DL.getPrefTypeAlignment(Ty);
 9029     unsigned Align = DL.getPrefTypeAlignment(CLI.RetTy);
lib/CodeGen/SjLjEHPrepare.cpp
  178   const Align Alignment(DL.getPrefTypeAlignment(FunctionContextTy));
lib/IR/DataLayout.cpp
  851   unsigned Alignment = getPrefTypeAlignment(ElemType);
lib/IR/Value.cpp
  717         return MaybeAlign(DL.getPrefTypeAlignment(AllocatedType));
lib/Target/AArch64/AArch64FastISel.cpp
  437   unsigned Align = DL.getPrefTypeAlignment(CFP->getType());
lib/Target/AArch64/AArch64InstructionSelector.cpp
 3068   unsigned Align = MF.getDataLayout().getPrefTypeAlignment(CPTy);
lib/Target/ARM/ARMFastISel.cpp
  447   unsigned Align = DL.getPrefTypeAlignment(CFP->getType());
  511   unsigned Align = DL.getPrefTypeAlignment(C->getType());
  573     unsigned Align = DL.getPrefTypeAlignment(GV->getType());
 2961       MF->getDataLayout().getPrefTypeAlignment(Type::getInt32PtrTy(*Context));
lib/Target/ARM/ARMISelLowering.cpp
 8749     const unsigned StackAlign = DL.getPrefTypeAlignment(RetTy);
 9646       unsigned Align = MF->getDataLayout().getPrefTypeAlignment(Int32Ty);
 9747       unsigned Align = MF->getDataLayout().getPrefTypeAlignment(Int32Ty);
10149     unsigned Align = MF->getDataLayout().getPrefTypeAlignment(Int32Ty);
lib/Target/NVPTX/NVPTXAsmPrinter.cpp
 1138     O << " .align " << (int)DL.getPrefTypeAlignment(ETy);
 1332     O << " .align " << (int)DL.getPrefTypeAlignment(ETy);
 1378     return DL.getPrefTypeAlignment(Ty);
 1401   return DL.getPrefTypeAlignment(Ty);
lib/Target/NVPTX/NVPTXISelLowering.cpp
 2324         TD.getPrefTypeAlignment(ValVT.getTypeForEVT(*DAG.getContext()));
 4815       TD.getPrefTypeAlignment(ResVT.getTypeForEVT(*DAG.getContext()));
lib/Target/PowerPC/PPCFastISel.cpp
 1999   unsigned Align = DL.getPrefTypeAlignment(CFP->getType());
lib/Target/Target.cpp
  122   return unwrap(TD)->getPrefTypeAlignment(unwrap(Ty));
lib/Target/X86/X86FastISel.cpp
 3771   unsigned Align = DL.getPrefTypeAlignment(CFP->getType());
lib/Target/XCore/XCoreAsmPrinter.cpp
  118   const Align Alignment(DL.getPrefTypeAlignment(C->getType()));
lib/Transforms/InstCombine/InstCombineLoadStoreAlloca.cpp
  349           MaybeAlign(DL.getPrefTypeAlignment(AI.getAllocatedType())));
  381               MaybeAlign(DL.getPrefTypeAlignment(EntryAI->getAllocatedType())));
  958       Op, DL.getPrefTypeAlignment(LI.getType()), DL, &LI, &AC, &DT);
 1360       Ptr, DL.getPrefTypeAlignment(Val->getType()), DL, &SI, &AC, &DT));
lib/Transforms/Utils/InlineFunction.cpp
 1296   Align Alignment(DL.getPrefTypeAlignment(AggTy));
lib/Transforms/Utils/SimplifyCFG.cpp
 5088   Array->setAlignment(Align(DL.getPrefTypeAlignment(ValueType)));
lib/Transforms/Utils/SimplifyLibCalls.cpp
 1009     unsigned PrefAlignment = DL.getPrefTypeAlignment(IntType);
tools/clang/lib/CodeGen/CGBuiltin.cpp
 3809             V, GEP, CGM.getDataLayout().getPrefTypeAlignment(SizeTy));
tools/clang/lib/CodeGen/CGCall.cpp
 1116   auto PrefAlign = CGF.CGM.getDataLayout().getPrefTypeAlignment(Ty);
 4149         auto scalarAlign = CGM.getDataLayout().getPrefTypeAlignment(scalarType);
tools/clang/lib/CodeGen/CGGPUBuiltin.cpp
  113       Builder.CreateAlignedStore(Arg, P, DL.getPrefTypeAlignment(Arg->getType()));
tools/clang/lib/CodeGen/CodeGenFunction.h
 4378             CGF.CGM.getDataLayout().getPrefTypeAlignment(value->getType()));
tools/clang/lib/CodeGen/TargetInfo.cpp
 9962   unsigned BlockAlign = CGF.CGM.getDataLayout().getPrefTypeAlignment(BlockTy);
tools/lldb/source/Expression/IRInterpreter.cpp
  382                   m_target_data.getPrefTypeAlignment(type));