reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

Declarations

include/llvm/IR/GlobalObject.h
   83   void setAlignment(MaybeAlign Align);

References

lib/AsmParser/LLParser.cpp
  143         Fn->setAlignment(FnAttrs.getAlignment());
 1127       GV->setAlignment(Alignment);
 5496   Fn->setAlignment(MaybeAlign(Alignment));
lib/Bitcode/Reader/BitcodeReader.cpp
 3145   NewGV->setAlignment(Alignment);
 3249   Func->setAlignment(Alignment);
lib/CodeGen/CodeGenPrepare.cpp
 1825         GV->setAlignment(MaybeAlign(PrefAlign));
lib/CodeGen/GlobalMerge.cpp
  519     MergedGV->setAlignment(MaxAlign);
lib/CodeGen/LowerEmuTLS.cpp
  145     EmuTlsTmplVar->setAlignment(Align(GVAlignment));
  160   EmuTlsVar->setAlignment(MaxAlignment);
lib/ExecutionEngine/Orc/Speculation.cpp
   99           SpeculatorGuard->setAlignment(Align::None());
lib/IR/Core.cpp
 2011     GV->setAlignment(MaybeAlign(Bytes));
lib/IR/Globals.cpp
  117   setAlignment(MaybeAlign(Align));
  132   setAlignment(MaybeAlign(Src->getAlignment()));
lib/IR/IRBuilder.cpp
   52   GV->setAlignment(Align::None());
lib/LTO/LTO.cpp
  965       OldGV->setAlignment(I.second.Align);
  973     GV->setAlignment(I.second.Align);
lib/Linker/IRMover.cpp
  632   NewDGV->setAlignment(MaybeAlign(SGVar->getAlignment()));
lib/Linker/LinkModules.cpp
  356         SGVar->setAlignment(Align);
  357         DGVar->setAlignment(Align);
lib/Target/AMDGPU/AMDGPUPromoteAlloca.cpp
  804   GV->setAlignment(MaybeAlign(I.getAlignment()));
lib/Transforms/IPO/ConstantMerge.cpp
  123     New->setAlignment(Align(std::max(getAlignment(Old), getAlignment(New))));
lib/Transforms/IPO/CrossDSOCFI.cpp
  111   F->setAlignment(Align(4096));
lib/Transforms/IPO/GlobalOpt.cpp
  502         NGV->setAlignment(NewAlign);
  537         NGV->setAlignment(NewAlign);
lib/Transforms/IPO/LowerTypeTests.cpp
  861   CombinedGlobal->setAlignment(MaxAlign);
 1366   F->setAlignment(Align(getJumpTableEntrySize()));
lib/Transforms/IPO/MergeFunctions.cpp
  772   F->setAlignment(MaybeAlign(std::max(F->getAlignment(), G->getAlignment())));
  824     F->setAlignment(MaxAlignment);
lib/Transforms/IPO/WholeProgramDevirt.cpp
 1517   NewGV->setAlignment(MaybeAlign(B.GV->getAlignment()));
lib/Transforms/Instrumentation/AddressSanitizer.cpp
 2057     Metadata->setAlignment(assumeAligned(SizeOfGlobalStruct));
 2194     AllGlobals->setAlignment(Align(1ULL << Mapping.Scale));
 2294     NewGlobal->setAlignment(MaybeAlign(MinRZ));
 2362       ODRIndicatorSym->setAlignment(Align::None());
lib/Transforms/Instrumentation/HWAddressSanitizer.cpp
 1267   NewGV->setAlignment(
 1373   Note->setAlignment(Align(4));
lib/Transforms/Instrumentation/InstrProfiling.cpp
  788   CounterPtr->setAlignment(Align(8));
  810       ValuesVar->setAlignment(Align(8));
  843   Data->setAlignment(Align(INSTR_PROF_DATA_ALIGNMENT));
  934   NamesVar->setAlignment(Align::None());
lib/Transforms/Instrumentation/Instrumentation.cpp
   71   GV->setAlignment(Align::None()); // Strings may not be merged w/o setting
lib/Transforms/Instrumentation/SanitizerCoverage.cpp
  655   Array->setAlignment(Align(Ty->isPointerTy()
lib/Transforms/Scalar/LoopIdiomRecognize.cpp
 1026     GV->setAlignment(Align(16));
lib/Transforms/Utils/Local.cpp
 1174     GO->setAlignment(MaybeAlign(PrefAlign));
lib/Transforms/Utils/SimplifyCFG.cpp
 5088   Array->setAlignment(Align(DL.getPrefTypeAlignment(ValueType)));
tools/clang/lib/CodeGen/CGCUDANV.cpp
   96       GV->setAlignment(llvm::Align(Alignment));
  631     GpuBinaryHandle->setAlignment(CGM.getPointerAlign().getAsAlign());
  672     GpuBinaryHandle->setAlignment(CGM.getPointerAlign().getAsAlign());
tools/clang/lib/CodeGen/CGDecl.cpp
  253   GV->setAlignment(getContext().getDeclAlign(&D).getAsAlign());
  411   var->setAlignment(alignment.getAsAlign());
 1117     GV->setAlignment(Align.getAsAlign());
 1121     CacheEntry->setAlignment(Align.getAsAlign());
tools/clang/lib/CodeGen/CGExpr.cpp
  395           GV->setAlignment(alignment.getAsAlign());
tools/clang/lib/CodeGen/CGExprAgg.cpp
  507       GV->setAlignment(Align.getAsAlign());
tools/clang/lib/CodeGen/CGExprCXX.cpp
  535     NullVariable->setAlignment(Align.getAsAlign());
tools/clang/lib/CodeGen/CGExprConstant.cpp
  910   GV->setAlignment(Align.getAsAlign());
tools/clang/lib/CodeGen/CGObjCGNU.cpp
 1297       GV->setAlignment(CGM.getPointerAlign().getAsAlign());
 1321       GV->setAlignment(CGM.getPointerAlign().getAsAlign());
 1500         Sym->setAlignment(CGM.getPointerAlign().getAsAlign());
 4090       GV->setAlignment(Align.getAsAlign());
tools/clang/lib/CodeGen/CGObjCMac.cpp
 2021   GV->setAlignment(llvm::Align::None());
 3104     Entry->setAlignment(llvm::Align(4));
 3610     GV->setAlignment(CGM.getPointerAlign().getAsAlign());
 4017   GV->setAlignment(Align.getAsAlign());
 4065   GV->setAlignment(CharUnits::One().getAsAlign());
 6077   GV->setAlignment(
 6321   GV->setAlignment(llvm::Align(
 6529   PTGV->setAlignment(Align.getAsAlign());
 6761   IvarOffsetGV->setAlignment(llvm::Align(
 6988   PTGV->setAlignment(llvm::Align(
 7340     Entry->setAlignment(CGF.getPointerAlign().getAsAlign());
 7379     Entry->setAlignment(CGF.getPointerAlign().getAsAlign());
 7403     Entry->setAlignment(Align.getAsAlign());
 7502     Entry->setAlignment(Align.getAsAlign());
 7735     Entry->setAlignment(CGM.getPointerAlign().getAsAlign());
tools/clang/lib/CodeGen/CGOpenMPRuntimeNVPTX.cpp
 4759       GV->setAlignment(Align.getAsAlign());
 4771       GV->setAlignment(Align.getAsAlign());
 4782       GV->setAlignment(Align.getAsAlign());
tools/clang/lib/CodeGen/CodeGenFunction.cpp
 1674     NullVariable->setAlignment(NullAlign.getAsAlign());
tools/clang/lib/CodeGen/CodeGenModule.cpp
 1183   list->setAlignment(llvm::None);
 1597     F->setAlignment(llvm::Align(alignment));
 1601       F->setAlignment(llvm::Align(1ull << LangOpts.FunctionAlignment));
 1609       F->setAlignment(llvm::Align(2));
 3501     GV->setAlignment(getContext().getDeclAlign(D).getAsAlign());
 3652   GV->setAlignment(llvm::MaybeAlign(Alignment));
 4043   GV->setAlignment(getContext().getDeclAlign(D).getAsAlign());
 4743   GV->setAlignment(Align.getAsAlign());
 4896   GV->setAlignment(Alignment.getAsAlign());
 4920         GV->setAlignment(Alignment.getAsAlign());
 4983         GV->setAlignment(Alignment.getAsAlign());
 5085   GV->setAlignment(Align.getAsAlign());
tools/clang/lib/CodeGen/ConstantInitBuilder.cpp
   82   GV->setAlignment(alignment.getAsAlign());
tools/clang/lib/CodeGen/CoverageMappingGen.cpp
 1445   CovData->setAlignment(llvm::Align(8));
tools/clang/lib/CodeGen/ItaniumCXXABI.cpp
 2232     guard->setAlignment(guardAlignment.getAsAlign());
 2585     Guard->setAlignment(GuardAlign.getAsAlign());
 3517   GV->setAlignment(Align.getAsAlign());
tools/clang/lib/CodeGen/MicrosoftCXXABI.cpp
 2358   GV->setAlignment(Align.getAsAlign());
 2501     GuardVar->setAlignment(GuardAlign.getAsAlign());
tools/clang/lib/CodeGen/ObjectFilePCHContainerOperations.cpp
  282     ASTSym->setAlignment(llvm::Align(8));
tools/polly/lib/CodeGen/LoopGeneratorsKMP.cpp
  471     StrVar->setAlignment(llvm::Align::None());
  475     SourceLocDummy->setAlignment(llvm::Align(8));
unittests/IR/ConstantsTest.cpp
  487     Func->setAlignment(*FunctionAlign);
  577   Global->setAlignment(Align(4));
unittests/IR/FunctionTest.cpp
  154   Func->setAlignment(Align(4));
unittests/IR/ValueTest.cpp
   64   Dummy0->setAlignment(Align(536870912));
  103   EXPECT_DEATH(Var->setAlignment(Align(1073741824U)),