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

References

lib/Transforms/IPO/WholeProgramDevirt.cpp
  782   Bits.reserve(M.getGlobalList().size());
  784   for (GlobalVariable &GV : M.globals()) {
  795           M.getDataLayout().getTypeAllocSize(GV.getInitializer()->getType());
  820                                        TM.Offset + ByteOffset, M);
  949         Comdat *NewC = M.getOrInsertComdat(NewName);
  951         for (GlobalObject &GO : M.global_objects())
 1032   Triple T(M.getTargetTriple());
 1051       FunctionType::get(Type::getVoidTy(M.getContext()), {Int8PtrTy}, true);
 1055                           M.getDataLayout().getProgramAddressSpace(),
 1056                           getGlobalName(Slot, {}, "branch_funnel"), &M);
 1060                           M.getDataLayout().getProgramAddressSpace(),
 1061                           "branch_funnel", &M);
 1072   BasicBlock *BB = BasicBlock::Create(M.getContext(), "", JT, nullptr);
 1074       Intrinsic::getDeclaration(&M, llvm::Intrinsic::icall_branch_funnel, {});
 1078   ReturnInst::Create(M.getContext(), nullptr, BB);
 1136           M.getContext(), ArrayRef<Attribute>{Attribute::get(
 1137                               M.getContext(), Attribute::Nest)}));
 1141           AttributeList::get(M.getContext(), Attrs.getFnAttributes(),
 1170     Evaluator Eval(M.getDataLayout(), nullptr);
 1235   Triple T(M.getTargetTriple());
 1243                                         getGlobalName(Slot, Args, Name), C, &M);
 1262   Constant *C = M.getOrInsertGlobal(getGlobalName(Slot, Args, Name), Int8Ty);
 1288                     MDNode::get(M.getContext(), {MinC, MaxC}));
 1499         Align(M.getDataLayout().getABITypeAlignment(B.GV->getValueType()));
 1509       {ConstantDataArray::get(M.getContext(), B.Before.Bytes),
 1511        ConstantDataArray::get(M.getContext(), B.After.Bytes)});
 1513       new GlobalVariable(M, NewInit->getType(), B.GV->isConstant(),
 1531       &M);
 1540   const auto &FL = M.getFunctionList();
 1599   Function *TypeTestFunc = Intrinsic::getDeclaration(&M, Intrinsic::type_test);
 1696         cast<Constant>(M.getOrInsertFunction(Res.SingleImplName,
 1697                                              Type::getVoidTy(M.getContext()))
 1743         M.getOrInsertFunction(getGlobalName(Slot, {}, "branch_funnel"),
 1744                               Type::getVoidTy(M.getContext()))
 1753   auto True = ConstantInt::getTrue(M.getContext());
 1772       M.getFunction(Intrinsic::getName(Intrinsic::type_test));
 1774       M.getFunction(Intrinsic::getName(Intrinsic::type_checked_load));
 1775   Function *AssumeFunc = M.getFunction(Intrinsic::getName(Intrinsic::assume));
 1924   for (GlobalVariable &GV : M.globals())