Lines Matching defs:DevirtModule
446 // the DevirtModule::NumUnsafeUsesForTypeTest map below. See the description
575 struct DevirtModule {
618 DevirtModule(Module &M, function_ref<AAResults &(Function &)> AARGetter,
801 if (!DevirtModule::runForTesting(M, AARGetter, OREGetter, LookupDomTree))
805 if (!DevirtModule(M, AARGetter, OREGetter, LookupDomTree, ExportSummary,
992 // DevirtIndex::run, not to DevirtModule::run used by opt/runForTesting.
1002 bool DevirtModule::runForTesting(
1030 DevirtModule(M, AARGetter, OREGetter, LookupDomTree,
1056 void DevirtModule::buildTypeIdentifierMap(
1090 bool DevirtModule::tryFindVirtualCallTargets(
1196 void DevirtModule::applySingleImplDevirt(VTableSlotInfo &SlotInfo,
1320 bool DevirtModule::trySingleImplDevirt(
1436 void DevirtModule::tryICallBranchFunnel(
1493 void DevirtModule::applyICallBranchFunnel(VTableSlotInfo &SlotInfo,
1579 bool DevirtModule::tryEvaluateFunctionsWithArgs(
1616 void DevirtModule::applyUniformRetValOpt(CallSiteInfo &CSInfo, StringRef FnName,
1629 bool DevirtModule::tryUniformRetValOpt(
1651 std::string DevirtModule::getGlobalName(VTableSlot Slot,
1663 bool DevirtModule::shouldExportConstantsAsAbsoluteSymbols() {
1668 void DevirtModule::exportGlobal(VTableSlot Slot, ArrayRef<uint64_t> Args,
1675 void DevirtModule::exportConstant(VTableSlot Slot, ArrayRef<uint64_t> Args,
1688 Constant *DevirtModule::importGlobal(VTableSlot Slot, ArrayRef<uint64_t> Args,
1698 Constant *DevirtModule::importConstant(VTableSlot Slot, ArrayRef<uint64_t> Args,
1727 void DevirtModule::applyUniqueRetValOpt(CallSiteInfo &CSInfo, StringRef FnName,
1745 Constant *DevirtModule::getMemberAddr(const TypeMemberInfo *M) {
1750 bool DevirtModule::tryUniqueRetValOpt(
1798 void DevirtModule::applyVirtualConstProp(CallSiteInfo &CSInfo, StringRef FnName,
1823 bool DevirtModule::tryVirtualConstProp(
1936 void DevirtModule::rebuildGlobal(VTableBits &B) {
1983 bool DevirtModule::areRemarksEnabled() {
1994 void DevirtModule::scanTypeTestUsers(
2069 void DevirtModule::scanTypeCheckedLoadUsers(Function *TypeCheckedLoadFunc) {
2158 void DevirtModule::importResolution(VTableSlot Slot, VTableSlotInfo &SlotInfo) {
2232 void DevirtModule::removeRedundantTypeTests() {
2243 DevirtModule::lookUpFunctionValueInfo(Function *TheFn,
2266 bool DevirtModule::mustBeUnreachableFunction(
2279 DevirtModule::lookUpFunctionValueInfo(F, ExportSummary));
2282 bool DevirtModule::run() {