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

References

lib/Analysis/CaptureTracking.cpp
  364           if (Tracker->isDereferenceableOrNull(O, I->getModule()->getDataLayout()))
lib/Analysis/DemandedBits.cpp
  426   const DataLayout &DL = I->getModule()->getDataLayout();
lib/Analysis/IVDescriptors.cpp
  117   const DataLayout &DL = Exit->getModule()->getDataLayout();
 1089   const DataLayout &DL = Phi->getModule()->getDataLayout();
lib/Analysis/IVUsers.cpp
  169   const DataLayout &DL = I->getModule()->getDataLayout();
lib/Analysis/InstructionSimplify.cpp
 5422   const DataLayout &DL = I->getModule()->getDataLayout();
lib/Analysis/LazyValueInfo.cpp
  671                                L->getModule()->getDataLayout()) == Ptr;
  676                                S->getModule()->getDataLayout()) == Ptr;
  687                               MI->getModule()->getDataLayout()) == Ptr)
  692                                 MTI->getModule()->getDataLayout()) == Ptr)
  839   auto *GuardDecl = BBI->getModule()->getFunction(
 1173           EVI->getModule()->getDataLayout())) {
 1856   const DataLayout &DL = CxtI->getModule()->getDataLayout();
lib/Analysis/Lint.cpp
  585   Assert(!isZero(I.getOperand(1), I.getModule()->getDataLayout(), DT, AC),
  590   Assert(!isZero(I.getOperand(1), I.getModule()->getDataLayout(), DT, AC),
  595   Assert(!isZero(I.getOperand(1), I.getModule()->getDataLayout(), DT, AC),
  600   Assert(!isZero(I.getOperand(1), I.getModule()->getDataLayout(), DT, AC),
lib/Analysis/Loads.cpp
  200   auto &DL = LI->getModule()->getDataLayout();
lib/Analysis/LoopUnrollAnalyzer.cpp
   78   const DataLayout &DL = I.getModule()->getDataLayout();
lib/Analysis/ScalarEvolutionExpander.cpp
 2283   auto *MulF = Intrinsic::getDeclaration(Loc->getModule(),
lib/CodeGen/AtomicExpandPass.cpp
  135   const DataLayout &DL = LI->getModule()->getDataLayout();
  140   const DataLayout &DL = SI->getModule()->getDataLayout();
  145   const DataLayout &DL = RMWI->getModule()->getDataLayout();
  150   const DataLayout &DL = CASI->getModule()->getDataLayout();
  177   const DataLayout &DL = RMWI->getModule()->getDataLayout();
  183   const DataLayout &DL = CASI->getModule()->getDataLayout();
  373   auto *M = LI->getModule();
  461   auto *M = SI->getModule();
  645   Module *M = I->getModule();
 1054   auto *M = CI->getModule();
 1616   Module *M = I->getModule();
lib/CodeGen/CodeGenPrepare.cpp
 2787         DL(MI->getModule()->getDataLayout()), AccessTy(AT), AddrSpace(AS),
 6735   bool IsLE = SI.getModule()->getDataLayout().isLittleEndian();
lib/CodeGen/ExpandMemCmp.cpp
  460     Function *Bswap = Intrinsic::getDeclaration(CI->getModule(),
  581     Function *Bswap = Intrinsic::getDeclaration(CI->getModule(),
lib/CodeGen/IntrinsicLowering.cpp
   36   Module *M = CI->getModule();
  500   Module *M = CI->getModule();
lib/IR/AutoUpgrade.cpp
 1084   Value *V = Builder.CreateCall(Intrinsic::getDeclaration(CI.getModule(), IID),
 1101   Function *Intrin = Intrinsic::getDeclaration(CI.getModule(), IID, Ty);
 1128   Function *Intrin = Intrinsic::getDeclaration(CI.getModule(), IID, Ty);
 1198   Function *Intrin = Intrinsic::getDeclaration(CI.getModule(), IID, Ty);
 1363   Function *Intrin = Intrinsic::getDeclaration(CI.getModule(), IID);
 1624   Rep = Builder.CreateCall(Intrinsic::getDeclaration(CI.getModule(), IID),
 1813         Rep = Builder.CreateCall(Intrinsic::getDeclaration(CI->getModule(),
 2104         Function *F = Intrinsic::getDeclaration(CI->getModule(), IID,
 3060       Rep = Builder.CreateCall(Intrinsic::getDeclaration(CI->getModule(),
 3076       Rep = Builder.CreateCall(Intrinsic::getDeclaration(CI->getModule(),
 3119         Function *FMA = Intrinsic::getDeclaration(CI->getModule(), IID);
 3122         Function *FMA = Intrinsic::getDeclaration(CI->getModule(),
 3179         Function *FMA = Intrinsic::getDeclaration(CI->getModule(),
 3198       Function *FMA = Intrinsic::getDeclaration(CI->getModule(), Intrinsic::fma,
 3245         Function *FMA = Intrinsic::getDeclaration(CI->getModule(), Intrinsic::fma,
 3289       Rep = Builder.CreateCall(Intrinsic::getDeclaration(CI->getModule(), IID),
 3317       Rep = Builder.CreateCall(Intrinsic::getDeclaration(CI->getModule(), IID),
 3353       Rep = Builder.CreateCall(Intrinsic::getDeclaration(CI->getModule(), IID),
 3383       Rep = Builder.CreateCall(Intrinsic::getDeclaration(CI->getModule(), IID),
 3407                                 Intrinsic::getDeclaration(CI->getModule(), IID),
lib/Target/AArch64/AArch64ISelLowering.cpp
 8527   const DataLayout &DL = I->getModule()->getDataLayout();
 8792   const DataLayout &DL = LI->getModule()->getDataLayout();
 8836       Intrinsic::getDeclaration(LI->getModule(), LoadInts[Factor - 2], Tys);
 8925   const DataLayout &DL = SI->getModule()->getDataLayout();
 8978       Intrinsic::getDeclaration(SI->getModule(), StoreInts[Factor - 2], Tys);
lib/Target/AArch64/AArch64StackTagging.cpp
  415       Triple(AI->getModule()->getTargetTriple()).isLittleEndian();
lib/Target/AMDGPU/AMDGPULibCalls.cpp
  516     Module *M = aCI->getModule();
  561   FunctionCallee F = getFunction(aCI->getModule(), FInfo);
  800   Module *M = CI->getModule();
  943   Module *M = CI->getModule();
 1170     Module *M = CI->getModule();
 1179     Module *M = CI->getModule();
 1195     Module *M = CI->getModule();
 1268             CI->getModule(), AMDGPULibFunc(AMDGPULibFunc::EI_SQRT, FInfo))) {
 1310   Module *M = CI->getModule();
lib/Target/ARM/ARMISelLowering.cpp
16750   const DataLayout &DL = LI->getModule()->getDataLayout();
16793       Intrinsic::getDeclaration(LI->getModule(), LoadInts[Factor - 2], Tys);
16886   const DataLayout &DL = SI->getModule()->getDataLayout();
16952         Intrinsic::getDeclaration(SI->getModule(), StoreInts[Factor - 2], Tys);
lib/Target/Hexagon/HexagonISelLowering.cpp
 3301   const DataLayout &DL = AI->getModule()->getDataLayout();
lib/Target/RISCV/RISCVISelLowering.cpp
 2812       AI->getModule(),
 2830     const DataLayout &DL = AI->getModule()->getDataLayout();
 2870       Intrinsic::getDeclaration(CI->getModule(), CmpXchgIntrID, Tys);
lib/Target/WebAssembly/WebAssemblyLowerEmscriptenEHSjLj.cpp
  375   LLVMContext &C = CI->getModule()->getContext();
  447   Module *M = CI->getModule();
lib/Target/X86/X86InterleavedAccess.cpp
  115         DL(Inst->getModule()->getDataLayout()), Builder(B) {}
lib/Transforms/AggressiveInstCombine/AggressiveInstCombine.cpp
  148   Function *F = Intrinsic::getDeclaration(Phi.getModule(), IID, Phi.getType());
  308               I.getModule(), Intrinsic::ctpop, I.getType());
lib/Transforms/CFGuard/CFGuard.cpp
  160   assert(Triple(CB->getModule()->getTargetTriple()).isOSWindows() &&
  184   assert(Triple(CB->getModule()->getTargetTriple()).isOSWindows() &&
lib/Transforms/Coroutines/CoroEarly.cpp
  111     Module &M = *II->getModule();
lib/Transforms/Coroutines/CoroFrame.cpp
  526   const DataLayout &DL = A.getModule()->getDataLayout();
 1097     auto M = AI->getModule();
lib/Transforms/Coroutines/CoroSplit.cpp
  796   Module *M = SizeIntrin->getModule();
lib/Transforms/Coroutines/Coroutines.cpp
  238   Module *M = SuspendInst->getModule();
lib/Transforms/InstCombine/InstCombineAddSub.cpp
 1082     return Intrinsic::getDeclaration(I.getModule(), Intrinsic::uadd_sat, Ty);
lib/Transforms/InstCombine/InstCombineAndOrXor.cpp
  110   Function *F = Intrinsic::getDeclaration(I.getModule(), Intrinsic::bswap,
 2085   Function *F = Intrinsic::getDeclaration(Or.getModule(), IID, Or.getType());
lib/Transforms/InstCombine/InstCombineCalls.cpp
  805       Module *M = II.getModule();
  906     Module *M = II.getModule();
 1064           II.getModule()->getDataLayout(), &II, nullptr)) {
 1193     Function *F = Intrinsic::getDeclaration(II.getModule(), ID, II.getType());
 1721         Intrinsic::getDeclaration(II->getModule(), *Action.IID, Tys), Args);
 1828           Module *M = CI.getModule();
 1969         Module *Mod = II->getModule();
 1989         Module *Mod = II->getModule();
 3690             II->getModule(), Intrinsic::read_register, II->getType());
 3785           Intrinsic::getDeclaration(II->getModule(), NewIID,
lib/Transforms/InstCombine/InstCombineCasts.cpp
  572   Function *F = Intrinsic::getDeclaration(Trunc.getModule(), IID, DestTy);
 1661       Function *Overload = Intrinsic::getDeclaration(FPT.getModule(),
 2446           Intrinsic::getDeclaration(CI.getModule(), Intrinsic::bswap, DestTy);
lib/Transforms/InstCombine/InstCombineCompares.cpp
 1316       I.getModule(), Intrinsic::sadd_with_overflow, NewType);
 3647       I.getModule(), Intrinsic::umul_with_overflow, X->getType());
 4685       I.getModule(), Intrinsic::umul_with_overflow, MulType);
lib/Transforms/InstCombine/InstCombineSelect.cpp
  825   Function *F = Intrinsic::getDeclaration(II->getModule(), Intrinsic::cttz,
 2072   Function *F = Intrinsic::getDeclaration(MinMax1.getModule(), IntrinsicID, NewTy);
 2186   Function *F = Intrinsic::getDeclaration(Sel.getModule(), IID, Sel.getType());
lib/Transforms/InstCombine/InstructionCombining.cpp
 2372     DIB.reset(new DIBuilder(*MI.getModule(), /*AllowUnresolved=*/false));
 2416       Module *M = II->getModule();
lib/Transforms/Instrumentation/AddressSanitizer.cpp
  983           InstBefore->getModule(), Intrinsic::get_dynamic_area_offset,
 1356   const DataLayout &DL = I->getModule()->getDataLayout();
lib/Transforms/Instrumentation/DataFlowSanitizer.cpp
 1195   GetUnderlyingObjects(Addr, Objs, Pos->getModule()->getDataLayout());
 1300   auto &DL = LI.getModule()->getDataLayout();
 1380   auto &DL = SI.getModule()->getDataLayout();
lib/Transforms/Instrumentation/HWAddressSanitizer.cpp
  519   const DataLayout &DL = I->getModule()->getDataLayout();
lib/Transforms/Instrumentation/MemorySanitizer.cpp
 1218     const DataLayout &DL = OrigIns->getModule()->getDataLayout();
lib/Transforms/Instrumentation/SanitizerCoverage.cpp
  220     I->setMetadata(I->getModule()->getMDKindID("nosanitize"),
lib/Transforms/Instrumentation/ThreadSanitizer.cpp
  379       if (!shouldInstrumentReadWriteFromAddress(I->getModule(), Addr))
  385       if (!shouldInstrumentReadWriteFromAddress(I->getModule(), Addr))
lib/Transforms/Scalar/DeadStoreElimination.cpp
  665   const DataLayout &DL = F->getModule()->getDataLayout();
lib/Transforms/Scalar/GVN.cpp
  775   const DataLayout &DL = LI->getModule()->getDataLayout();
  864   const DataLayout &DL = LI->getModule()->getDataLayout();
 1160   const DataLayout &DL = LI->getModule()->getDataLayout();
 1949   const DataLayout &DL = I->getModule()->getDataLayout();
lib/Transforms/Scalar/GuardWidening.cpp
  640   auto &DL = IC->getModule()->getDataLayout();
lib/Transforms/Scalar/IndVarSimplify.cpp
  902   if (!Cast->getModule()->getDataLayout().isLegalInteger(Width))
lib/Transforms/Scalar/JumpThreading.cpp
  779       const DataLayout &DL = PN->getModule()->getDataLayout();
lib/Transforms/Scalar/LICM.cpp
  832               &I, I.getModule()->getDataLayout(), TLI)) {
  984   const DataLayout &DL = LI->getModule()->getDataLayout();
lib/Transforms/Scalar/LoopDataPrefetch.cpp
  309       SCEVExpander SCEVE(*SE, I.getModule()->getDataLayout(), "prefaddr");
lib/Transforms/Scalar/LoopIdiomRecognize.cpp
 1014     Module *M = TheStore->getModule();
lib/Transforms/Scalar/MemCpyOptimizer.cpp
  307   const DataLayout &DL = StartInst->getModule()->getDataLayout();
  546   const DataLayout &DL = SI->getModule()->getDataLayout();
  757   const DataLayout &DL = cpy->getModule()->getDataLayout();
 1153                                            M->getModule()->getDataLayout())) {
 1246   M->setCalledFunction(Intrinsic::getDeclaration(M->getModule(),
lib/Transforms/Scalar/MergeICmps.cpp
  164   const auto &DL = GEP->getModule()->getDataLayout();
  651     const auto &DL = Phi.getModule()->getDataLayout();
lib/Transforms/Scalar/PlaceSafepoints.cpp
  624   Module *M = InsertBefore->getModule();
lib/Transforms/Scalar/Reassociate.cpp
   76   Module *M = I->getModule();
lib/Transforms/Scalar/RewriteStatepointsForGC.cpp
 1283   Module *M = StatepointToken->getModule();
 1896   Module *M = Call->getModule();
 1942     if (!CI->isNoopCast(CI->getModule()->getDataLayout()))
 1964       assert(CI->isNoopCast(CI->getModule()->getDataLayout()) &&
lib/Transforms/Scalar/SROA.cpp
  736       const DataLayout &DL = GEPI.getModule()->getDataLayout();
  953     const DataLayout &DL = Root->getModule()->getDataLayout();
 1195   const DataLayout &DL = PN.getModule()->getDataLayout();
 1333   const DataLayout &DL = SI.getModule()->getDataLayout();
 3835   const DataLayout &DL = AI.getModule()->getDataLayout();
 4119   const DataLayout &DL = AI.getModule()->getDataLayout();
 4261   const DataLayout &DL = AI.getModule()->getDataLayout();
 4357     DIBuilder DIB(*AI.getModule(), /*AllowUnresolved*/ false);
 4443   const DataLayout &DL = AI.getModule()->getDataLayout();
lib/Transforms/Scalar/Scalarizer.cpp
  774                        LI.getModule()->getDataLayout()))
  800                        SI.getModule()->getDataLayout()))
lib/Transforms/Scalar/SeparateConstOffsetFromGEP.cpp
  247       : IP(InsertionPt), DL(InsertionPt->getModule()->getDataLayout()), DT(DT) {
 1299   const DataLayout &DAL = First->getModule()->getDataLayout();
lib/Transforms/Scalar/TailRecursionElimination.cpp
  341       const DataLayout &DL = L->getModule()->getDataLayout();
lib/Transforms/Utils/BypassSlowDivision.cpp
  239   const DataLayout &DL = SlowDivOrRem->getModule()->getDataLayout();
lib/Transforms/Utils/DemoteRegToStack.cpp
  116   const DataLayout &DL = P->getModule()->getDataLayout();
lib/Transforms/Utils/Local.cpp
 1257   const DataLayout &DL = DII->getModule()->getDataLayout();
 1644   auto &M = *I.getModule();
 1837   Module &M = *From.getModule();
 2864     Function *F = Intrinsic::getDeclaration(I->getModule(), Intrin, DemandedTy);
 2881   Function *F = Intrinsic::getDeclaration(I->getModule(), Intrin, ITy);
lib/Transforms/Utils/PromoteMemoryToRegister.cpp
  306       Intrinsic::getDeclaration(LI->getModule(), Intrinsic::assume);
  416     DIBuilder DIB(*AI->getModule(), /*AllowUnresolved*/ false);
  514       DIBuilder DIB(*AI->getModule(), /*AllowUnresolved*/ false);
lib/Transforms/Utils/SimplifyLibCalls.cpp
   72     if (Triple(CI->getModule()->getTargetTriple()).isiOS())
  744   Module &M = *CI->getModule();
 1176   const DataLayout &DL = Malloc->getModule()->getDataLayout();
 1221   Module *M = CI->getModule();
 1297     Module *M = CI->getModule();
 1345   Function *FSqrt = Intrinsic::getDeclaration(CI->getModule(), Intrinsic::sqrt,
 1432   Module *Mod = Pow->getModule();
 1594   Module *Mod = Pow->getModule();
 1641   Module *M = Pow->getModule();
 1807   Function *F = Intrinsic::getDeclaration(CI->getModule(), IID, CI->getType());
 1816   Module *Mod = Log->getModule();
 3262   const DataLayout &DL = CI->getModule()->getDataLayout();
lib/Transforms/Vectorize/LoopVectorizationLegality.cpp
  505   const DataLayout &DL = Phi->getModule()->getDataLayout();
lib/Transforms/Vectorize/LoopVectorize.cpp
 2168   const DataLayout &DL = Instr->getModule()->getDataLayout();
 2365   const DataLayout &DL = Instr->getModule()->getDataLayout();
 4589   auto &DL = I->getModule()->getDataLayout();
 4636   auto &DL = I->getModule()->getDataLayout();
lib/Transforms/Vectorize/SLPVectorizer.cpp
 2848     const DataLayout &DL = E0->getModule()->getDataLayout();
tools/polly/lib/CodeGen/BlockGenerators.cpp
  248   if (NewInst->getModule() != Inst->getModule())
  248   if (NewInst->getModule() != Inst->getModule())