/external/llvm-project/llvm/lib/Transforms/IPO/ |
D | ConstantMerge.cpp | 87 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/ |
D | NVPTXUtilities.h | 59 bool getAlign(const Function &, unsigned index, unsigned &); 60 bool getAlign(const CallInst &, unsigned index, unsigned &);
|
D | NVPTXUtilities.cpp | 284 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/ |
D | NVPTXUtilities.h | 59 bool getAlign(const Function &, unsigned index, unsigned &); 60 bool getAlign(const CallInst &, unsigned index, unsigned &);
|
D | NVPTXLowerAggrCopies.cpp | 116 /* SrcAlign */ LI->getAlign(), in runOnFunction() 117 /* DestAlign */ SI->getAlign(), in runOnFunction()
|
D | NVPTXUtilities.cpp | 284 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/ |
D | NVPTXUtilities.h | 62 bool getAlign(const llvm::Function &, unsigned index, unsigned &); 63 bool getAlign(const llvm::CallInst &, unsigned index, unsigned &);
|
/external/llvm-project/llvm/lib/Target/AMDGPU/ |
D | AMDGPUMachineFunction.cpp | 47 DL.getValueOrABITypeAlignment(GV.getAlign(), GV.getValueType()); in allocateLDSGlobal() 69 DL.getValueOrABITypeAlignment(GV.getAlign(), GV.getValueType()); in setDynLDSAlign()
|
D | AMDGPULateCodeGenPrepare.cpp | 127 if (LI.getAlign() < DL->getABITypeAlign(Ty)) in canWidenScalarExtLoad() 139 if (LI.getAlign() >= 4) in visitLoadInst()
|
/external/llvm-project/llvm/lib/Transforms/InstCombine/ |
D | InstCombineLoadStoreAlloca.cpp | 187 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/ |
D | MachOUniversal.cpp | 159 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/ |
D | GlobalObject.h | 74 MaybeAlign Align = getAlign(); in getAlignment() 82 MaybeAlign getAlign() const { in getAlign() function
|
/external/llvm-project/llvm/lib/Object/ |
D | MachOUniversal.cpp | 179 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/ |
D | MachineMemOperand.h | 231 Align getAlign() const; 318 LHS.getAlign() == RHS.getAlign() &&
|
D | MachineConstantPool.h | 95 Align getAlign() const { return Alignment; } in getAlign() function
|
/external/llvm-project/llvm/lib/Target/SystemZ/ |
D | SystemZConstantPoolValue.cpp | 33 Constants[I].getAlign() >= Alignment) { in getExistingMachineCPValue()
|
/external/llvm-project/llvm/lib/Transforms/Scalar/ |
D | MemCpyOptimizer.cpp | 184 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()
|
D | SROA.cpp | 1228 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 …]
|
D | GVNHoist.cpp | 1001 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()
|
D | AlignmentFromAssumptions.cpp | 261 if (NewAlignment > LI->getAlign()) { in processAssumption() 270 if (NewAlignment > SI->getAlign()) { in processAssumption()
|
/external/llvm-project/llvm/lib/Target/WebAssembly/ |
D | WebAssemblySetP2AlignOperands.cpp | 68 uint64_t P2Align = Log2((*MI.memoperands_begin())->getAlign()); in rewriteP2Align()
|
/external/llvm-project/llvm/lib/Target/Mips/ |
D | MipsPreLegalizerCombiner.cpp | 55 bool isUnaligned = MMO->getAlign() < MMO->getSize(); in combine()
|
/external/llvm-project/llvm/lib/Analysis/ |
D | Loads.cpp | 244 const Align Alignment = LI->getAlign(); in isDereferenceableAndAlignedInLoop() 346 AccessedAlign = LI->getAlign(); in isSafeToLoadUnconditionally() 353 AccessedAlign = SI->getAlign(); in isSafeToLoadUnconditionally()
|
D | Lint.cpp | 446 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/ |
D | MachOUniversal.h | 80 uint32_t getAlign() const { in getAlign() function
|