/external/llvm-project/llvm/unittests/IR/ |
D | FunctionTest.cpp | 146 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/ |
D | SystemZSubtarget.cpp | 90 if (GV->getPointerAlignment(DL) == 1 && !GV->getValueType()->isFunctionTy()) in isPC32DBLSymbol()
|
D | SystemZISelDAGToDAG.cpp | 1500 if (GV->getPointerAlignment(DL).value() < StoreSize) in storeLoadIsAligned()
|
/external/llvm/lib/Analysis/ |
D | Loads.cpp | 30 APInt BaseAlign(Offset.getBitWidth(), Base->getPointerAlignment(DL)); in isAligned()
|
D | ValueTracking.cpp | 1459 unsigned Align = V->getPointerAlignment(Q.DL); in computeKnownBits()
|
/external/llvm-project/llvm/lib/CodeGen/ |
D | ExpandMemCmp.cpp | 277 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/ |
D | Loads.cpp | 31 if (const MaybeAlign PA = Base->getPointerAlignment(DL)) in getBaseAlign()
|
D | ValueTracking.cpp | 1811 const MaybeAlign Align = V->getPointerAlignment(Q.DL); in computeKnownBits()
|
/external/llvm-project/llvm/lib/Target/RISCV/ |
D | RISCVISelDAGToDAG.cpp | 441 Align Alignment = GA->getGlobal()->getPointerAlignment(DL); in doPeepholeLoadStoreADDI()
|
/external/llvm-project/llvm/lib/Analysis/ |
D | Loads.cpp | 34 Align BA = Base->getPointerAlignment(DL); in isAligned()
|
/external/swiftshader/third_party/llvm-subzero/include/llvm/IR/ |
D | Value.h | 529 unsigned getPointerAlignment(const DataLayout &DL) const;
|
/external/llvm/include/llvm/IR/ |
D | Value.h | 519 unsigned getPointerAlignment(const DataLayout &DL) const;
|
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/ |
D | Value.h | 635 MaybeAlign getPointerAlignment(const DataLayout &DL) const;
|
/external/llvm-project/llvm/include/llvm/IR/ |
D | Value.h | 749 Align getPointerAlignment(const DataLayout &DL) const;
|
/external/llvm/lib/IR/ |
D | Value.cpp | 591 unsigned Value::getPointerAlignment(const DataLayout &DL) const { in getPointerAlignment() function in Value
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/IR/ |
D | Value.cpp | 675 MaybeAlign Value::getPointerAlignment(const DataLayout &DL) const { in getPointerAlignment() function in Value
|
D | ConstantFold.cpp | 1176 GVAlign = GV->getPointerAlignment(TheModule->getDataLayout()); in ConstantFoldBinaryInstruction()
|
/external/llvm-project/llvm/lib/IR/ |
D | Value.cpp | 783 Align Value::getPointerAlignment(const DataLayout &DL) const { in getPointerAlignment() function in Value
|
D | ConstantFold.cpp | 1284 GVAlign = GV->getPointerAlignment(DL); in ConstantFoldBinaryInstruction()
|
/external/llvm-project/llvm/lib/Transforms/IPO/ |
D | AttributorAttributes.cpp | 3763 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/ |
D | PPCAsmPrinter.cpp | 1227 if (MO.getGlobal()->getPointerAlignment(DL) < 4) in emitInstruction()
|
D | PPCISelDAGToDAG.cpp | 6688 Align Alignment = GV->getPointerAlignment(CurDAG->getDataLayout()); in PeepholePPC64() 6755 Align Alignment = GV->getPointerAlignment(CurDAG->getDataLayout()); in PeepholePPC64()
|
/external/llvm-project/llvm/lib/Transforms/Utils/ |
D | Local.cpp | 1296 Align CurrentAlign = GO->getPointerAlignment(DL); in tryEnforceAlignment()
|
/external/llvm-project/llvm/lib/Target/XCore/ |
D | XCoreISelLowering.cpp | 437 GV->getPointerAlignment(DAG.getDataLayout()) >= 4) { in LowerLOAD()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/IPO/ |
D | Attributor.cpp | 3540 const MaybeAlign PA = V.getPointerAlignment(DL); in updateImpl()
|