Lines Matching defs:DevirtModule
411 // the DevirtModule::NumUnsafeUsesForTypeTest map below. See the description
540 struct DevirtModule {
583 DevirtModule(Module &M, function_ref<AAResults &(Function &)> AARGetter,
766 if (!DevirtModule::runForTesting(M, AARGetter, OREGetter, LookupDomTree))
770 if (!DevirtModule(M, AARGetter, OREGetter, LookupDomTree, ExportSummary,
957 // DevirtIndex::run, not to DevirtModule::run used by opt/runForTesting.
967 bool DevirtModule::runForTesting(
995 DevirtModule(M, AARGetter, OREGetter, LookupDomTree,
1021 void DevirtModule::buildTypeIdentifierMap(
1055 bool DevirtModule::tryFindVirtualCallTargets(
1161 void DevirtModule::applySingleImplDevirt(VTableSlotInfo &SlotInfo,
1277 bool DevirtModule::trySingleImplDevirt(
1393 void DevirtModule::tryICallBranchFunnel(
1450 void DevirtModule::applyICallBranchFunnel(VTableSlotInfo &SlotInfo,
1538 bool DevirtModule::tryEvaluateFunctionsWithArgs(
1575 void DevirtModule::applyUniformRetValOpt(CallSiteInfo &CSInfo, StringRef FnName,
1588 bool DevirtModule::tryUniformRetValOpt(
1610 std::string DevirtModule::getGlobalName(VTableSlot Slot,
1622 bool DevirtModule::shouldExportConstantsAsAbsoluteSymbols() {
1627 void DevirtModule::exportGlobal(VTableSlot Slot, ArrayRef<uint64_t> Args,
1634 void DevirtModule::exportConstant(VTableSlot Slot, ArrayRef<uint64_t> Args,
1647 Constant *DevirtModule::importGlobal(VTableSlot Slot, ArrayRef<uint64_t> Args,
1657 Constant *DevirtModule::importConstant(VTableSlot Slot, ArrayRef<uint64_t> Args,
1686 void DevirtModule::applyUniqueRetValOpt(CallSiteInfo &CSInfo, StringRef FnName,
1704 Constant *DevirtModule::getMemberAddr(const TypeMemberInfo *M) {
1709 bool DevirtModule::tryUniqueRetValOpt(
1757 void DevirtModule::applyVirtualConstProp(CallSiteInfo &CSInfo, StringRef FnName,
1782 bool DevirtModule::tryVirtualConstProp(
1895 void DevirtModule::rebuildGlobal(VTableBits &B) {
1942 bool DevirtModule::areRemarksEnabled() {
1953 void DevirtModule::scanTypeTestUsers(
2028 void DevirtModule::scanTypeCheckedLoadUsers(Function *TypeCheckedLoadFunc) {
2116 void DevirtModule::importResolution(VTableSlot Slot, VTableSlotInfo &SlotInfo) {
2190 void DevirtModule::removeRedundantTypeTests() {
2201 DevirtModule::lookUpFunctionValueInfo(Function *TheFn,
2224 bool DevirtModule::mustBeUnreachableFunction(
2235 DevirtModule::lookUpFunctionValueInfo(F, ExportSummary));
2238 bool DevirtModule::run() {