Home
last modified time | relevance | path

Searched refs:getPointerAlignment (Results 1 – 25 of 34) sorted by relevance

12

/external/llvm-project/llvm/unittests/IR/
DFunctionTest.cpp146 EXPECT_EQ(Align(1), Func->getPointerAlignment(DataLayout(""))); in TEST()
147 EXPECT_EQ(Align(1), Func->getPointerAlignment(DataLayout("Fi8"))); in TEST()
148 EXPECT_EQ(Align(1), Func->getPointerAlignment(DataLayout("Fn8"))); in TEST()
149 EXPECT_EQ(Align(2), Func->getPointerAlignment(DataLayout("Fi16"))); in TEST()
150 EXPECT_EQ(Align(2), Func->getPointerAlignment(DataLayout("Fn16"))); in TEST()
151 EXPECT_EQ(Align(4), Func->getPointerAlignment(DataLayout("Fi32"))); in TEST()
152 EXPECT_EQ(Align(4), Func->getPointerAlignment(DataLayout("Fn32"))); in TEST()
156 EXPECT_EQ(Align(1), Func->getPointerAlignment(DataLayout(""))); in TEST()
157 EXPECT_EQ(Align(1), Func->getPointerAlignment(DataLayout("Fi8"))); in TEST()
158 EXPECT_EQ(Align(4), Func->getPointerAlignment(DataLayout("Fn8"))); in TEST()
[all …]
/external/llvm-project/llvm/lib/Target/SystemZ/
DSystemZSubtarget.cpp90 if (GV->getPointerAlignment(DL) == 1 && !GV->getValueType()->isFunctionTy()) in isPC32DBLSymbol()
DSystemZISelDAGToDAG.cpp1500 if (GV->getPointerAlignment(DL).value() < StoreSize) in storeLoadIsAligned()
/external/llvm/lib/Analysis/
DLoads.cpp30 APInt BaseAlign(Offset.getBitWidth(), Base->getPointerAlignment(DL)); in isAligned()
DValueTracking.cpp1459 unsigned Align = V->getPointerAlignment(Q.DL); in computeKnownBits()
/external/llvm-project/llvm/lib/CodeGen/
DExpandMemCmp.cpp277 Align LhsAlign = LhsSource->getPointerAlignment(DL); in getLoadPair()
278 Align RhsAlign = RhsSource->getPointerAlignment(DL); in getLoadPair()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
DLoads.cpp31 if (const MaybeAlign PA = Base->getPointerAlignment(DL)) in getBaseAlign()
DValueTracking.cpp1811 const MaybeAlign Align = V->getPointerAlignment(Q.DL); in computeKnownBits()
/external/llvm-project/llvm/lib/Target/RISCV/
DRISCVISelDAGToDAG.cpp441 Align Alignment = GA->getGlobal()->getPointerAlignment(DL); in doPeepholeLoadStoreADDI()
/external/llvm-project/llvm/lib/Analysis/
DLoads.cpp34 Align BA = Base->getPointerAlignment(DL); in isAligned()
/external/swiftshader/third_party/llvm-subzero/include/llvm/IR/
DValue.h529 unsigned getPointerAlignment(const DataLayout &DL) const;
/external/llvm/include/llvm/IR/
DValue.h519 unsigned getPointerAlignment(const DataLayout &DL) const;
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/
DValue.h635 MaybeAlign getPointerAlignment(const DataLayout &DL) const;
/external/llvm-project/llvm/include/llvm/IR/
DValue.h749 Align getPointerAlignment(const DataLayout &DL) const;
/external/llvm/lib/IR/
DValue.cpp591 unsigned Value::getPointerAlignment(const DataLayout &DL) const { in getPointerAlignment() function in Value
/external/swiftshader/third_party/llvm-10.0/llvm/lib/IR/
DValue.cpp675 MaybeAlign Value::getPointerAlignment(const DataLayout &DL) const { in getPointerAlignment() function in Value
DConstantFold.cpp1176 GVAlign = GV->getPointerAlignment(TheModule->getDataLayout()); in ConstantFoldBinaryInstruction()
/external/llvm-project/llvm/lib/IR/
DValue.cpp783 Align Value::getPointerAlignment(const DataLayout &DL) const { in getPointerAlignment() function in Value
DConstantFold.cpp1284 GVAlign = GV->getPointerAlignment(DL); in ConstantFoldBinaryInstruction()
/external/llvm-project/llvm/lib/Transforms/IPO/
DAttributorAttributes.cpp3763 takeKnownMaximum(V.getPointerAlignment(A.getDataLayout()).value()); in initialize()
3805 getAssociatedValue().getPointerAlignment(A.getDataLayout()); in manifest()
3860 Align PA = Base->getPointerAlignment(DL); in updateImpl()
3869 Alignment = V.getPointerAlignment(DL).value(); in updateImpl()
3948 getAssociatedValue().getPointerAlignment(A.getDataLayout()); in manifest()
/external/llvm-project/llvm/lib/Target/PowerPC/
DPPCAsmPrinter.cpp1227 if (MO.getGlobal()->getPointerAlignment(DL) < 4) in emitInstruction()
DPPCISelDAGToDAG.cpp6688 Align Alignment = GV->getPointerAlignment(CurDAG->getDataLayout()); in PeepholePPC64()
6755 Align Alignment = GV->getPointerAlignment(CurDAG->getDataLayout()); in PeepholePPC64()
/external/llvm-project/llvm/lib/Transforms/Utils/
DLocal.cpp1296 Align CurrentAlign = GO->getPointerAlignment(DL); in tryEnforceAlignment()
/external/llvm-project/llvm/lib/Target/XCore/
DXCoreISelLowering.cpp437 GV->getPointerAlignment(DAG.getDataLayout()) >= 4) { in LowerLOAD()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/IPO/
DAttributor.cpp3540 const MaybeAlign PA = V.getPointerAlignment(DL); in updateImpl()

12