| /minix3/external/bsd/llvm/dist/llvm/lib/Transforms/IPO/ |
| H A D | ConstantMerge.cpp | 53 unsigned getAlignment(GlobalVariable *GV) const; 93 return DL || GV->getAlignment() != 0; in hasKnownAlignment() 96 unsigned ConstantMerge::getAlignment(GlobalVariable *GV) const { in getAlignment() function in ConstantMerge 97 unsigned Align = GV->getAlignment(); in getAlignment() 216 if (Replacements[i].first->getAlignment() || in runOnModule() 217 Replacements[i].second->getAlignment()) { in runOnModule() 219 std::max(getAlignment(Replacements[i].first), in runOnModule() 220 getAlignment(Replacements[i].second))); in runOnModule()
|
| /minix3/external/bsd/llvm/dist/llvm/lib/Target/XCore/ |
| H A D | XCoreMachineFunctionInfo.cpp | 44 LRSpillSlot = MFI->CreateStackObject(RC->getSize(), RC->getAlignment(), true); in createLRSpillSlot() 56 FPSpillSlot = MFI->CreateStackObject(RC->getSize(), RC->getAlignment(), true); in createFPSpillSlot() 67 EHSpillSlot[0] = MFI->CreateStackObject(RC->getSize(), RC->getAlignment(), true); in createEHSpillSlot() 68 EHSpillSlot[1] = MFI->CreateStackObject(RC->getSize(), RC->getAlignment(), true); in createEHSpillSlot()
|
| H A D | XCoreISelLowering.cpp | 339 CP->getAlignment(), CP->getOffset()); in LowerConstantPool() 342 CP->getAlignment(), CP->getOffset()); in LowerConstantPool() 433 LD->getAlignment())) in LowerLOAD() 439 if (LD->getAlignment() >= ABIAlignment) in LowerLOAD() 457 MinAlign(GV->getAlignment(), 4) == 4) { in LowerLOAD() 465 if (LD->getAlignment() == 2) { in LowerLOAD() 514 ST->getAlignment())) { in LowerSTORE() 520 if (ST->getAlignment() >= ABIAlignment) { in LowerSTORE() 528 if (ST->getAlignment() == 2) { in LowerSTORE() 975 if (N->getAlignment() < 4) in LowerATOMIC_LOAD() [all …]
|
| /minix3/external/bsd/llvm/dist/llvm/lib/Transforms/InstCombine/ |
| H A D | InstCombineLoadStoreAlloca.cpp | 185 New->setAlignment(AI.getAlignment()); in visitAllocaInst() 215 if (AI.getAlignment() == 0) in visitAllocaInst() 246 if (EntryAI->getAlignment() == 0) in visitAllocaInst() 252 unsigned MaxAlign = std::max(EntryAI->getAlignment(), in visitAllocaInst() 253 AI.getAlignment()); in visitAllocaInst() 262 if (AI.getAlignment()) { in visitAllocaInst() 272 Copy->getSource(), AI.getAlignment(), DL, AC, &AI, DT); in visitAllocaInst() 273 if (AI.getAlignment() <= SourceAlign) { in visitAllocaInst() 311 LI.getAlignment(), LI.getName()); in combineLoadToNewType() 405 unsigned LoadAlign = LI.getAlignment(); in visitLoadInst() [all …]
|
| /minix3/external/bsd/llvm/dist/llvm/lib/IR/ |
| H A D | Globals.cpp | 63 unsigned GlobalValue::getAlignment() const { in getAlignment() function in GlobalValue 67 return GO->getAlignment(); in getAlignment() 74 return cast<GlobalObject>(this)->getAlignment(); in getAlignment() 84 assert(getAlignment() == Align && "Alignment representation error!"); in setAlignment() 102 setAlignment(GV->getAlignment()); in copyAttributesFrom()
|
| H A D | DataLayout.cpp | 652 unsigned DataLayout::getAlignment(Type *Ty, bool abi_or_pref) const { in getAlignment() function in DataLayout 669 return getAlignment(cast<ArrayType>(Ty)->getElementType(), abi_or_pref); in getAlignment() 679 return std::max(Align, Layout->getAlignment()); in getAlignment() 707 return getAlignment(Ty, true); in getABITypeAlignment() 717 return getAlignment(Ty, false); in getPrefTypeAlignment() 796 unsigned GVAlignment = GV->getAlignment(); in getPreferredAlignment()
|
| H A D | Instruction.cpp | 268 (LI->getAlignment() == cast<LoadInst>(I2)->getAlignment() || in haveSameSpecialState() 274 (SI->getAlignment() == cast<StoreInst>(I2)->getAlignment() || in haveSameSpecialState()
|
| /minix3/external/bsd/llvm/dist/clang/lib/CodeGen/ |
| H A D | CGRecordLayoutBuilder.cpp | 136 CharUnits getAlignment(llvm::Type *Type) { in getAlignment() function 224 Layout.getAlignment().alignmentAtOffset(StartOffset).getQuantity(); in setBitFieldInfo() 319 getAlignment(FieldType) > getAlignment(StorageType) || in lowerUnion() 320 (getAlignment(FieldType) == getAlignment(StorageType) && in lowerUnion() 334 if (LayoutSize % getAlignment(StorageType)) in lowerUnion() 565 if (Member->Offset % getAlignment(Member->Data)) in determinePacked() 568 NVAlignment = std::max(NVAlignment, getAlignment(Member->Data)); in determinePacked() 569 Alignment = std::max(Alignment, getAlignment(Member->Data)); in determinePacked() 597 getAlignment(Member->Data))) in insertPadding()
|
| H A D | CGValue.h | 260 CharUnits getAlignment() const { return CharUnits::fromQuantity(Alignment); } in getAlignment() function 444 return forAddr(LV.getAddress(), LV.getAlignment(), 481 CharUnits getAlignment() const { in getAlignment() function
|
| /minix3/external/bsd/llvm/dist/llvm/lib/Target/Mips/ |
| H A D | MipsMachineFunction.cpp | 109 RC->getAlignment(), false); in createEhDataRegsFI() 139 RC->getSize(), RC->getAlignment(), false); in getMoveF64ViaSpillFI()
|
| /minix3/external/bsd/llvm/dist/llvm/lib/Analysis/ |
| H A D | Lint.cpp | 283 MCI->getAlignment(), nullptr, in visitCallSite() 286 MCI->getAlignment(), nullptr, in visitCallSite() 307 MMI->getAlignment(), nullptr, in visitCallSite() 310 MMI->getAlignment(), nullptr, in visitCallSite() 318 MSI->getAlignment(), nullptr, in visitCallSite() 434 BaseAlign = AI->getAlignment(); in visitMemoryReference() 444 BaseAlign = GV->getAlignment(); in visitMemoryReference() 468 AA->getTypeStoreSize(I.getType()), I.getAlignment(), in visitLoadInst() 475 I.getAlignment(), in visitStoreInst()
|
| H A D | Loads.cpp | 78 BaseAlign = AI->getAlignment(); in isSafeToLoadUnconditionally() 85 BaseAlign = GV->getAlignment(); in isSafeToLoadUnconditionally()
|
| /minix3/external/bsd/llvm/dist/llvm/lib/Transforms/Scalar/ |
| H A D | MemCpyOptimizer.cpp | 227 SI->getPointerOperand(), SI->getAlignment(), SI); in addStore() 232 addRange(OffsetFromFirst, Size, MSI->getDest(), MSI->getAlignment(), MSI); in addMemSet() 526 unsigned storeAlign = SI->getAlignment(); in processStore() 529 unsigned loadAlign = LI->getAlignment(); in processStore() 660 unsigned srcAlign = srcAlloca->getAlignment(); in performCallSlotOptzn() 830 unsigned Align = std::min(MDep->getAlignment(), M->getAlignment()); in processMemCpyMemCpyDependence() 870 M->getAlignment(), false); in processMemCpy() 891 CopySize->getZExtValue(), M->getAlignment(), in processMemCpy() 999 if (MDep->getAlignment() < ByValAlign && in processByValArgument()
|
| H A D | LoadCombine.cpp | 152 if (L.Load->getAlignment() > BaseLoad->getAlignment()) in aggregateLoads() 213 Loads[0].Load->getAlignment(), FirstLP.Load); in combineLoads()
|
| H A D | AlignmentFromAssumptions.cpp | 330 if (NewAlignment > LI->getAlignment()) { in processAssumption() 338 if (NewAlignment > SI->getAlignment()) { in processAssumption() 380 if (NewAlignment > MI->getAlignment()) { in processAssumption() 388 } else if (NewDestAlignment > MI->getAlignment()) { in processAssumption()
|
| H A D | SROA.cpp | 1377 MaxAlign = std::max(MaxAlign, LI->getAlignment()); in isSafePHIToSpeculate() 1429 unsigned Align = SomeLoad->getAlignment(); in speculatePHINodeLoads() 1487 !isSafeToLoadUnconditionally(TValue, LI, LI->getAlignment(), DL)) in isSafeSelectToSpeculate() 1490 !isSafeToLoadUnconditionally(FValue, LI, LI->getAlignment(), DL)) in isSafeSelectToSpeculate() 1516 TL->setAlignment(LI->getAlignment()); in speculateSelectInstLoads() 1517 FL->setAlignment(LI->getAlignment()); in speculateSelectInstLoads() 1819 Alignment = LI->getAlignment(); in getAdjustedAlignment() 1822 Alignment = SI->getAlignment(); in getAdjustedAlignment() 2529 unsigned NewAIAlign = NewAI.getAlignment(); in getSliceAlign() 2557 Value *V = IRB.CreateAlignedLoad(&NewAI, NewAI.getAlignment(), "load"); in rewriteVectorizedLoadInst() [all …]
|
| /minix3/external/bsd/llvm/dist/llvm/lib/Target/SystemZ/ |
| H A D | SystemZLongBranch.cpp | 271 BlockPosition Position(MF->getAlignment()); in initMBBInfo() 277 Block.Alignment = MBB->getAlignment(); in initMBBInfo() 335 BlockPosition Position(MF->getAlignment()); in setWorstCaseAddresses() 436 BlockPosition Position(MF->getAlignment()); in relaxBranches()
|
| H A D | SystemZConstantPoolValue.cpp | 45 (Constants[I].getAlignment() & AlignMask) == 0) { in getExistingMachineCPValue()
|
| H A D | SystemZSubtarget.cpp | 69 if (GV->getAlignment() == 1) in isPC32DBLSymbol()
|
| /minix3/external/bsd/llvm/dist/llvm/lib/Target/X86/ |
| H A D | X86InstrFragmentsSIMD.td | 352 return cast<StoreSDNode>(N)->getAlignment() >= 16; 358 return cast<StoreSDNode>(N)->getAlignment() >= 32; 364 return cast<StoreSDNode>(N)->getAlignment() >= 64; 369 return cast<LoadSDNode>(N)->getAlignment() >= 16; 374 return cast<MemSDNode>(N)->getAlignment() >= 16; 379 return cast<LoadSDNode>(N)->getAlignment() >= 32; 384 return cast<LoadSDNode>(N)->getAlignment() >= 64; 428 || cast<LoadSDNode>(N)->getAlignment() >= 16; 456 return cast<LoadSDNode>(N)->getAlignment() >= 8; 475 ST->getAlignment() >= 16; [all …]
|
| /minix3/external/bsd/llvm/dist/llvm/include/llvm/IR/ |
| H A D | GlobalObject.h | 46 unsigned getAlignment() const { in getAlignment() function
|
| /minix3/external/bsd/llvm/dist/llvm/include/llvm/Object/ |
| H A D | ObjectFile.h | 103 uint64_t getAlignment() const; 148 std::error_code getAlignment(uint32_t &Result) const; 335 inline std::error_code SymbolRef::getAlignment(uint32_t &Result) const { in getAlignment() function 399 inline uint64_t SectionRef::getAlignment() const { in getAlignment() function
|
| /minix3/external/bsd/llvm/dist/llvm/lib/Target/PowerPC/ |
| H A D | PPCBranchSelector.cpp | 75 unsigned Align = MBB.getAlignment(); in runOnMachineFunction() 80 unsigned ParentAlign = MBB.getParent()->getAlignment(); in runOnMachineFunction()
|
| /minix3/external/bsd/llvm/dist/llvm/include/llvm/CodeGen/ |
| H A D | MachineConstantPool.h | 105 int getAlignment() const { in getAlignment() function
|
| /minix3/external/bsd/llvm/dist/llvm/unittests/IR/ |
| H A D | ValueTest.cpp | 65 EXPECT_EQ(Dummy0->getAlignment(), 536870912U); in TEST()
|