Home
last modified time | relevance | path

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

1234

/external/llvm/lib/CodeGen/
DSafeStack.cpp531 std::max(DL->getPrefTypeAlignment(Ty), StackGuardSlot->getAlignment()); in moveStaticAllocasToUnsafeStack()
543 unsigned Align = std::max((unsigned)DL->getPrefTypeAlignment(Ty), in moveStaticAllocasToUnsafeStack()
556 std::max((unsigned)DL->getPrefTypeAlignment(Ty), AI->getAlignment()); in moveStaticAllocasToUnsafeStack()
693 std::max((unsigned)DL->getPrefTypeAlignment(Ty), AI->getAlignment()), in moveDynamicAllocasToUnsafeStack()
DSjLjEHPrepare.cpp176 unsigned Align = DL.getPrefTypeAlignment(FunctionContextTy); in setupFunctionContext()
/external/llvm/lib/IR/
DDataLayout.cpp689 unsigned DataLayout::getPrefTypeAlignment(Type *Ty) const { in getPrefTypeAlignment() function in DataLayout
694 unsigned Align = getPrefTypeAlignment(Ty); in getPreferredTypeAlignmentShift()
762 unsigned Alignment = getPrefTypeAlignment(ElemType); in getPreferredAlignment()
/external/clang/lib/CodeGen/
DCGCUDABuiltin.cpp108 Builder.CreateAlignedStore(Arg, P, DL.getPrefTypeAlignment(Arg->getType())); in EmitCUDADevicePrintfCallExpr()
DCGOpenMPRuntimeNVPTX.cpp123 ActiveWorkers->setAlignment(DL.getPrefTypeAlignment(CGM.Int32Ty)); in initializeEnvironment()
130 WorkID->setAlignment(DL.getPrefTypeAlignment(CGM.Int64Ty)); in initializeEnvironment()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DSafeStack.cpp505 std::max(DL.getPrefTypeAlignment(Ty), StackGuardSlot->getAlignment()); in moveStaticAllocasToUnsafeStack()
517 unsigned Align = std::max((unsigned)DL.getPrefTypeAlignment(Ty), in moveStaticAllocasToUnsafeStack()
530 std::max((unsigned)DL.getPrefTypeAlignment(Ty), AI->getAlignment()); in moveStaticAllocasToUnsafeStack()
662 std::max((unsigned)DL.getPrefTypeAlignment(Ty), AI->getAlignment()), in moveDynamicAllocasToUnsafeStack()
DSjLjEHPrepare.cpp179 const Align Alignment(DL.getPrefTypeAlignment(FunctionContextTy)); in setupFunctionContext()
/external/llvm-project/llvm/lib/CodeGen/
DSafeStack.cpp519 std::max(DL.getPrefTypeAlignment(Ty), StackGuardSlot->getAlignment()); in moveStaticAllocasToUnsafeStack()
531 unsigned Align = std::max((unsigned)DL.getPrefTypeAlignment(Ty), in moveStaticAllocasToUnsafeStack()
544 std::max((unsigned)DL.getPrefTypeAlignment(Ty), AI->getAlignment()); in moveStaticAllocasToUnsafeStack()
676 std::max((unsigned)DL.getPrefTypeAlignment(Ty), AI->getAlignment()), in moveDynamicAllocasToUnsafeStack()
DSjLjEHPrepare.cpp186 const Align Alignment(DL.getPrefTypeAlignment(FunctionContextTy)); in setupFunctionContext()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/
DTarget.cpp122 return unwrap(TD)->getPrefTypeAlignment(unwrap(Ty)); in LLVMPreferredAlignmentOfType()
/external/llvm/lib/Target/
DTarget.cpp123 return unwrap(TD)->getPrefTypeAlignment(unwrap(Ty)); in LLVMPreferredAlignmentOfType()
/external/llvm-project/llvm/lib/Target/
DTarget.cpp122 return unwrap(TD)->getPrefTypeAlignment(unwrap(Ty)); in LLVMPreferredAlignmentOfType()
/external/llvm/lib/Transforms/InstCombine/
DInstCombineLoadStoreAlloca.cpp233 AI.setAlignment(DL.getPrefTypeAlignment(AI.getAllocatedType())); in visitAllocaInst()
265 DL.getPrefTypeAlignment(EntryAI->getAllocatedType())); in visitAllocaInst()
798 Op, DL.getPrefTypeAlignment(LI.getType()), DL, &LI, AC, DT); in visitLoadInst()
1158 Ptr, DL.getPrefTypeAlignment(Val->getType()), DL, &SI, AC, DT); in visitStoreInst()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/InstCombine/
DInstCombineLoadStoreAlloca.cpp349 MaybeAlign(DL.getPrefTypeAlignment(AI.getAllocatedType()))); in visitAllocaInst()
381 MaybeAlign(DL.getPrefTypeAlignment(EntryAI->getAllocatedType()))); in visitAllocaInst()
968 Op, DL.getPrefTypeAlignment(LI.getType()), DL, &LI, &AC, &DT); in visitLoadInst()
1381 Ptr, DL.getPrefTypeAlignment(Val->getType()), DL, &SI, &AC, &DT)); in visitStoreInst()
/external/llvm-project/llvm/lib/Target/XCore/
DXCoreAsmPrinter.cpp117 const Align Alignment(DL.getPrefTypeAlignment(C->getType())); in emitGlobalVariable()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/XCore/
DXCoreAsmPrinter.cpp118 const Align Alignment(DL.getPrefTypeAlignment(C->getType())); in EmitGlobalVariable()
/external/llvm/include/llvm/IR/
DDataLayout.h410 unsigned getPrefTypeAlignment(Type *Ty) const;
/external/swiftshader/third_party/llvm-10.0/llvm/lib/IR/
DDataLayout.cpp765 unsigned DataLayout::getPrefTypeAlignment(Type *Ty) const { in getPrefTypeAlignment() function in DataLayout
851 unsigned Alignment = getPrefTypeAlignment(ElemType); in getPreferredAlignment()
/external/llvm/lib/Analysis/
DLoads.cpp231 BaseAlign = DL.getPrefTypeAlignment(BaseType); in isSafeToLoadUnconditionally()
/external/llvm-project/llvm/include/llvm/IR/
DDataLayout.h542 unsigned getPrefTypeAlignment(Type *Ty) const;
/external/llvm-project/mlir/lib/Target/LLVMIR/
DTypeTranslation.cpp181 return layout.getPrefTypeAlignment(translateType(type)); in getPreferredAlignment()
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/
DDataLayout.h521 unsigned getPrefTypeAlignment(Type *Ty) const;
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/NVPTX/
DNVPTXAsmPrinter.cpp1138 O << " .align " << (int)DL.getPrefTypeAlignment(ETy); in printModuleLevelGV()
1332 O << " .align " << (int)DL.getPrefTypeAlignment(ETy); in emitPTXGlobalVariable()
1378 return DL.getPrefTypeAlignment(Ty); in getOpenCLAlignment()
1401 return DL.getPrefTypeAlignment(Ty); in getOpenCLAlignment()
/external/llvm-project/llvm/lib/Target/NVPTX/
DNVPTXAsmPrinter.cpp1129 O << " .align " << (int)DL.getPrefTypeAlignment(ETy); in printModuleLevelGV()
1321 O << " .align " << (int)DL.getPrefTypeAlignment(ETy); in emitPTXGlobalVariable()
1367 return DL.getPrefTypeAlignment(Ty); in getOpenCLAlignment()
1390 return DL.getPrefTypeAlignment(Ty); in getOpenCLAlignment()
/external/llvm/lib/Target/NVPTX/
DNVPTXAsmPrinter.cpp1183 O << " .align " << (int)DL.getPrefTypeAlignment(ETy); in printModuleLevelGV()
1373 O << " .align " << (int)DL.getPrefTypeAlignment(ETy); in emitPTXGlobalVariable()
1412 return DL.getPrefTypeAlignment(Ty); in getOpenCLAlignment()
1435 return DL.getPrefTypeAlignment(Ty); in getOpenCLAlignment()

1234