Home
last modified time | relevance | path

Searched refs:getAlign (Results 1 – 25 of 166) sorted by relevance

1234567

/external/llvm-project/llvm/lib/Transforms/IPO/
DConstantMerge.cpp87 static Align getAlign(GlobalVariable *GV) { in getAlign() function
88 return GV->getAlign().getValueOr( in getAlign()
121 if (Old->getAlign() || New->getAlign()) in replace()
122 New->setAlignment(std::max(getAlign(Old), getAlign(New))); in replace()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/NVPTX/
DNVPTXUtilities.h59 bool getAlign(const Function &, unsigned index, unsigned &);
60 bool getAlign(const CallInst &, unsigned index, unsigned &);
DNVPTXUtilities.cpp284 bool getAlign(const Function &F, unsigned index, unsigned &align) { in getAlign() function
299 bool getAlign(const CallInst &I, unsigned index, unsigned &align) { in getAlign() function
/external/llvm-project/llvm/lib/Target/NVPTX/
DNVPTXUtilities.h59 bool getAlign(const Function &, unsigned index, unsigned &);
60 bool getAlign(const CallInst &, unsigned index, unsigned &);
DNVPTXLowerAggrCopies.cpp116 /* SrcAlign */ LI->getAlign(), in runOnFunction()
117 /* DestAlign */ SI->getAlign(), in runOnFunction()
DNVPTXUtilities.cpp284 bool getAlign(const Function &F, unsigned index, unsigned &align) { in getAlign() function
299 bool getAlign(const CallInst &I, unsigned index, unsigned &align) { in getAlign() function
/external/llvm/lib/Target/NVPTX/
DNVPTXUtilities.h62 bool getAlign(const llvm::Function &, unsigned index, unsigned &);
63 bool getAlign(const llvm::CallInst &, unsigned index, unsigned &);
/external/llvm-project/llvm/lib/Target/AMDGPU/
DAMDGPUMachineFunction.cpp47 DL.getValueOrABITypeAlignment(GV.getAlign(), GV.getValueType()); in allocateLDSGlobal()
69 DL.getValueOrABITypeAlignment(GV.getAlign(), GV.getValueType()); in setDynLDSAlign()
DAMDGPULateCodeGenPrepare.cpp127 if (LI.getAlign() < DL->getABITypeAlign(Ty)) in canWidenScalarExtLoad()
139 if (LI.getAlign() >= 4) in visitLoadInst()
/external/llvm-project/llvm/lib/Transforms/InstCombine/
DInstCombineLoadStoreAlloca.cpp187 New->setAlignment(AI.getAlign()); in simplifyAllocaArraySize()
291 LT->getAlign(), LT->getOrdering(), in replace()
392 const Align MaxAlign = std::max(EntryAI->getAlign(), AI.getAlign()); in visitAllocaInst()
410 Align AllocaAlign = AI.getAlign(); in visitAllocaInst()
475 NewTy, NewPtr, LI.getAlign(), LI.isVolatile(), LI.getName() + Suffix); in combineLoadToNewType()
496 SI.getAlign(), SI.isVolatile()); in combineStoreToNewValue()
646 const auto Align = LI.getAlign(); in unpackLoadToAggregate()
694 const auto Align = LI.getAlign(); in unpackLoadToAggregate()
940 if (KnownAlign > LI.getAlign()) in visitLoadInst()
998 Align Alignment = LI.getAlign(); in visitLoadInst()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Object/
DMachOUniversal.cpp159 if (A.getAlign() > MaxSectionAlignment) { in MachOUniversalBinary()
160 Err = malformedError("align (2^" + Twine(A.getAlign()) + in MachOUniversalBinary()
167 if(A.getOffset() % (1ull << A.getAlign()) != 0){ in MachOUniversalBinary()
171 ") not aligned on it's alignment (2^" + Twine(A.getAlign()) + ")"); in MachOUniversalBinary()
/external/llvm-project/llvm/include/llvm/IR/
DGlobalObject.h74 MaybeAlign Align = getAlign(); in getAlignment()
82 MaybeAlign getAlign() const { in getAlign() function
/external/llvm-project/llvm/lib/Object/
DMachOUniversal.cpp179 if (A.getAlign() > MaxSectionAlignment) { in MachOUniversalBinary()
180 Err = malformedError("align (2^" + Twine(A.getAlign()) + in MachOUniversalBinary()
187 if(A.getOffset() % (1ull << A.getAlign()) != 0){ in MachOUniversalBinary()
191 ") not aligned on it's alignment (2^" + Twine(A.getAlign()) + ")"); in MachOUniversalBinary()
/external/llvm-project/llvm/include/llvm/CodeGen/
DMachineMemOperand.h231 Align getAlign() const;
318 LHS.getAlign() == RHS.getAlign() &&
DMachineConstantPool.h95 Align getAlign() const { return Alignment; } in getAlign() function
/external/llvm-project/llvm/lib/Target/SystemZ/
DSystemZConstantPoolValue.cpp33 Constants[I].getAlign() >= Alignment) { in getExistingMachineCPValue()
/external/llvm-project/llvm/lib/Transforms/Scalar/
DMemCpyOptimizer.cpp184 SI->getAlign().value(), SI); in addStore()
709 SI->getPointerOperand(), SI->getAlign(), in processStore()
710 LI->getPointerOperand(), LI->getAlign(), Size); in processStore()
713 SI->getPointerOperand(), SI->getAlign(), in processStore()
714 LI->getPointerOperand(), LI->getAlign(), Size); in processStore()
780 commonAlignment(SI->getAlign(), LI->getAlign()), C); in processStore()
813 SI->getAlign()); in processStore()
916 Align srcAlign = srcAlloca->getAlign(); in performCallSlotOptzn()
DSROA.cpp1228 MaxAlign = std::max(MaxAlign, LI->getAlign()); in isSafePHIToSpeculate()
1279 Align Alignment = SomeLoad->getAlign(); in speculatePHINodeLoads()
1347 LI->getAlign(), DL, LI)) in isSafeSelectToSpeculate()
1350 LI->getAlign(), DL, LI)) in isSafeSelectToSpeculate()
1376 TL->setAlignment(LI->getAlign()); in speculateSelectInstLoads()
1377 FL->setAlignment(LI->getAlign()); in speculateSelectInstLoads()
2456 return commonAlignment(NewAI.getAlign(), in getSliceAlign()
2481 NewAI.getAlign(), "load"); in rewriteVectorizedLoadInst()
2489 NewAI.getAlign(), "load"); in rewriteIntegerLoad()
2535 NewAI.getAlign(), LI.isVolatile(), in visitLoadInst()
[all …]
DGVNHoist.cpp1001 std::min(ReplacementLoad->getAlign(), cast<LoadInst>(I)->getAlign())); in updateAlignment()
1005 std::min(ReplacementStore->getAlign(), cast<StoreInst>(I)->getAlign())); in updateAlignment()
1008 ReplacementAlloca->setAlignment(std::max(ReplacementAlloca->getAlign(), in updateAlignment()
1009 cast<AllocaInst>(I)->getAlign())); in updateAlignment()
DAlignmentFromAssumptions.cpp261 if (NewAlignment > LI->getAlign()) { in processAssumption()
270 if (NewAlignment > SI->getAlign()) { in processAssumption()
/external/llvm-project/llvm/lib/Target/WebAssembly/
DWebAssemblySetP2AlignOperands.cpp68 uint64_t P2Align = Log2((*MI.memoperands_begin())->getAlign()); in rewriteP2Align()
/external/llvm-project/llvm/lib/Target/Mips/
DMipsPreLegalizerCombiner.cpp55 bool isUnaligned = MMO->getAlign() < MMO->getSize(); in combine()
/external/llvm-project/llvm/lib/Analysis/
DLoads.cpp244 const Align Alignment = LI->getAlign(); in isDereferenceableAndAlignedInLoop()
346 AccessedAlign = LI->getAlign(); in isSafeToLoadUnconditionally()
353 AccessedAlign = SI->getAlign(); in isSafeToLoadUnconditionally()
DLint.cpp446 BaseAlign = AI->getAlign(); in visitMemoryReference()
454 BaseAlign = GV->getAlign(); in visitMemoryReference()
477 visitMemoryReference(I, MemoryLocation::get(&I), I.getAlign(), I.getType(), in visitLoadInst()
482 visitMemoryReference(I, MemoryLocation::get(&I), I.getAlign(), in visitStoreInst()
/external/llvm/include/llvm/Object/
DMachOUniversal.h80 uint32_t getAlign() const { in getAlign() function

1234567