|
reference, declaration → definition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced
|
References
lib/Analysis/Lint.cpp 473 BaseAlign = AI->getAlignment();
lib/Analysis/MemoryBuiltins.cpp 637 return std::make_pair(align(Size, I.getAlignment()), Zero);
647 return Overflow ? unknown() : std::make_pair(align(Size, I.getAlignment()),
lib/Analysis/ValueTracking.cpp 1293 unsigned Align = AI->getAlignment();
lib/Bitcode/Writer/BitcodeWriter.cpp 2916 unsigned AlignRecord = Log2_32(AI.getAlignment()) + 1;
lib/CodeGen/CodeGenPrepare.cpp 1813 if ((AI = dyn_cast<AllocaInst>(Val)) && AI->getAlignment() < PrefAlign &&
lib/CodeGen/GlobalISel/IRTranslator.cpp 234 unsigned Alignment = AI.getAlignment();
1805 std::max((unsigned)DL->getPrefTypeAlignment(Ty), AI.getAlignment());
lib/CodeGen/SafeStack.cpp 504 std::max(DL.getPrefTypeAlignment(Ty), StackGuardSlot->getAlignment());
529 std::max((unsigned)DL.getPrefTypeAlignment(Ty), AI->getAlignment());
661 std::max((unsigned)DL.getPrefTypeAlignment(Ty), AI->getAlignment()),
lib/CodeGen/SelectionDAG/FunctionLoweringInfo.cpp 139 AI->getAlignment());
lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp 3957 std::max((unsigned)DL.getPrefTypeAlignment(Ty), I.getAlignment());
9540 unsigned RequiredAlignment = AI->getAlignment();
lib/IR/AsmWriter.cpp 3989 if (AI->getAlignment()) {
3990 Out << ", align " << AI->getAlignment();
lib/IR/Core.cpp 1998 return AI->getAlignment();
lib/IR/Instruction.cpp 386 (AI->getAlignment() == cast<AllocaInst>(I2)->getAlignment() ||
386 (AI->getAlignment() == cast<AllocaInst>(I2)->getAlignment() ||
lib/IR/Instructions.cpp 1255 assert(getAlignment() == Align->value() &&
1258 assert(getAlignment() == 0 && "Alignment representation error!");
4132 (Value *)getOperand(0), MaybeAlign(getAlignment()));
lib/IR/Value.cpp 713 const MaybeAlign Alignment(AI->getAlignment());
lib/IR/Verifier.cpp 3473 Assert(AI.getAlignment() <= Value::MaximumAlignment,
lib/Target/AArch64/AArch64StackTagging.cpp 463 max(MaybeAlign(Info.AI->getAlignment()), kTagGranuleSize);
484 NewAI->setAlignment(MaybeAlign(Info.AI->getAlignment()));
lib/Target/AMDGPU/AMDGPUPromoteAlloca.cpp 762 unsigned Align = I.getAlignment();
804 GV->setAlignment(MaybeAlign(I.getAlignment()));
lib/Transforms/Coroutines/CoroFrame.cpp 445 if (unsigned AllocaAlignment = AI->getAlignment()) {
lib/Transforms/IPO/Inliner.cpp 204 unsigned Align1 = AI->getAlignment(),
205 Align2 = AvailableAlloca->getAlignment();
242 AvailableAlloca->setAlignment(MaybeAlign(AI->getAlignment()));
lib/Transforms/InstCombine/InstCombineCasts.cpp 143 New->setAlignment(MaybeAlign(AI.getAlignment()));
lib/Transforms/InstCombine/InstCombineLoadStoreAlloca.cpp 178 return isDereferenceableAndAlignedPointer(V, Align(AI->getAlignment()),
200 New->setAlignment(MaybeAlign(AI.getAlignment()));
347 if (AI.getAlignment() == 0)
379 if (EntryAI->getAlignment() == 0)
386 std::max(EntryAI->getAlignment(), AI.getAlignment()));
386 std::max(EntryAI->getAlignment(), AI.getAlignment()));
395 if (AI.getAlignment()) {
405 Copy->getSource(), AI.getAlignment(), DL, &AI, &AC, &DT);
406 if (AI.getAlignment() <= SourceAlign &&
lib/Transforms/Instrumentation/AddressSanitizer.cpp 1033 StackAlignment = std::max(StackAlignment, AI.getAlignment());
3016 AI->getAlignment(),
3263 const unsigned Align = std::max(kAllocaRzSize, AI->getAlignment());
lib/Transforms/Instrumentation/HWAddressSanitizer.cpp 1187 MaybeAlign(std::max(AI->getAlignment(), Mapping.getObjectAlignment())));
1200 NewAI->setAlignment(MaybeAlign(AI->getAlignment()));
lib/Transforms/Instrumentation/MemorySanitizer.cpp 3457 IRB.CreateMemSet(ShadowBase, PoisonValue, Len, I.getAlignment());
lib/Transforms/Scalar/GVNHoist.cpp 902 MaybeAlign(std::max(ReplacementAlloca->getAlignment(),
903 cast<AllocaInst>(I)->getAlignment())));
lib/Transforms/Scalar/MemCpyOptimizer.cpp 806 unsigned srcAlign = srcAlloca->getAlignment();
lib/Transforms/Scalar/SROA.cpp 2436 unsigned NewAIAlign = NewAI.getAlignment();
2465 NewAI.getAlignment(), "load");
2473 NewAI.getAlignment(), "load");
2518 NewAI.getAlignment(),
2614 NewAI.getAlignment(), "load");
2617 StoreInst *Store = IRB.CreateAlignedStore(V, &NewAI, NewAI.getAlignment());
2631 NewAI.getAlignment(), "oldload");
2638 StoreInst *Store = IRB.CreateAlignedStore(V, &NewAI, NewAI.getAlignment());
2700 NewSI = IRB.CreateAlignedStore(V, &NewAI, NewAI.getAlignment(),
2834 NewAI.getAlignment(), "oldload");
2847 NewAI.getAlignment(), "oldload");
2868 StoreInst *New = IRB.CreateAlignedStore(V, &NewAI, NewAI.getAlignment(),
3033 NewAI.getAlignment(), "load");
3037 NewAI.getAlignment(), "load");
3051 NewAI.getAlignment(), "oldload");
3055 NewAI.getAlignment(), "oldload");
4159 DL.getValueOrABITypeAlignment(MaybeAlign(AI.getAlignment()),
lib/Transforms/Utils/FunctionComparator.cpp 540 return cmpNumbers(AI->getAlignment(), cast<AllocaInst>(R)->getAlignment());
540 return cmpNumbers(AI->getAlignment(), cast<AllocaInst>(R)->getAlignment());
lib/Transforms/Utils/Local.cpp 1149 Alignment = std::max(AI->getAlignment(), Alignment);
tools/clang/lib/CodeGen/CGCleanup.cpp 78 auto alignment = cast<llvm::AllocaInst>(value)->getAlignment();
tools/clang/lib/CodeGen/CGExpr.cpp 749 (!PtrToAlloca || PtrToAlloca->getAlignment() < AlignVal)) {
tools/clang/lib/CodeGen/CodeGenFunction.h 4393 return CGF.Builder.CreateAlignedLoad(alloca, alloca->getAlignment());