Home
last modified time | relevance | path

Searched refs:shouldKeep (Results 1 – 25 of 37) sorted by relevance

12

/openbsd-src/gnu/llvm/llvm/tools/llvm-reduce/deltas/
H A DReduceInstructionFlags.cpp26 if (OBO->hasNoSignedWrap() && !O.shouldKeep()) in reduceFlagsInModule()
28 if (OBO->hasNoUnsignedWrap() && !O.shouldKeep()) in reduceFlagsInModule()
31 if (PE->isExact() && !O.shouldKeep()) in reduceFlagsInModule()
34 if (GEP->isInBounds() && !O.shouldKeep()) in reduceFlagsInModule()
39 if (Flags.allowReassoc() && !O.shouldKeep()) in reduceFlagsInModule()
42 if (Flags.noNaNs() && !O.shouldKeep()) in reduceFlagsInModule()
45 if (Flags.noInfs() && !O.shouldKeep()) in reduceFlagsInModule()
48 if (Flags.noSignedZeros() && !O.shouldKeep()) in reduceFlagsInModule()
51 if (Flags.allowReciprocal() && !O.shouldKeep()) in reduceFlagsInModule()
54 if (Flags.allowContract() && !O.shouldKeep()) in reduceFlagsInModule()
[all …]
H A DReduceMemoryOperations.cpp21 if (LI->isVolatile() && !O.shouldKeep()) in removeVolatileInFunction()
24 if (SI->isVolatile() && !O.shouldKeep()) in removeVolatileInFunction()
27 if (RMW->isVolatile() && !O.shouldKeep()) in removeVolatileInFunction()
30 if (CmpXChg->isVolatile() && !O.shouldKeep()) in removeVolatileInFunction()
33 if (MemIntrin->isVolatile() && !O.shouldKeep()) in removeVolatileInFunction()
51 if (LI->getSyncScopeID() != SyncScope::System && !O.shouldKeep()) in reduceAtomicSyncScopesInFunction()
54 if (SI->getSyncScopeID() != SyncScope::System && !O.shouldKeep()) in reduceAtomicSyncScopesInFunction()
57 if (RMW->getSyncScopeID() != SyncScope::System && !O.shouldKeep()) in reduceAtomicSyncScopesInFunction()
60 if (CmpXChg->getSyncScopeID() != SyncScope::System && !O.shouldKeep()) in reduceAtomicSyncScopesInFunction()
63 if (Fence->getSyncScopeID() != SyncScope::System && !O.shouldKeep()) in reduceAtomicSyncScopesInFunction()
[all …]
H A DReduceGlobalValues.cpp42 if (shouldReduceDSOLocal(GV) && !O.shouldKeep()) in reduceGVs()
44 if (shouldReduceVisibility(GV) && !O.shouldKeep()) { in reduceGVs()
50 if (shouldReduceUnnamedAddress(GV) && !O.shouldKeep()) in reduceGVs()
52 if (shouldReduceDLLStorageClass(GV) && !O.shouldKeep()) in reduceGVs()
55 if (shouldReduceThreadLocal(GV) && !O.shouldKeep()) in reduceGVs()
H A DReduceOpcodes.cpp42 if (O.shouldKeep()) in reduceIntrinsic()
52 if (O.shouldKeep()) in reduceIntrinsic()
57 if (O.shouldKeep()) in reduceIntrinsic()
62 if (O.shouldKeep()) in reduceIntrinsic()
67 if (O.shouldKeep()) in reduceIntrinsic()
136 if (!callLooksLikeLoadStore(CB, DataArg, PtrArg) || O.shouldKeep()) in tryReplaceCallWithLoadStore()
170 if (O.shouldKeep()) in tryReplaceCallWithOperator()
214 if (O.shouldKeep()) in reduceInstruction()
223 if (O.shouldKeep()) in reduceInstruction()
230 if (O.shouldKeep()) in reduceInstruction()
H A DReduceFunctionBodies.cpp28 if (!F.isDeclaration() && !hasAliasUse(F) && !O.shouldKeep()) { in extractFunctionBodiesFromModule()
47 !O.shouldKeep()) { in reduceFunctionData()
52 if (F.hasPrefixData() && !O.shouldKeep()) in reduceFunctionData()
55 if (F.hasPrologueData() && !O.shouldKeep()) in reduceFunctionData()
H A DReduceMetadata.cpp56 if (O.shouldKeep()) in reduceNamedMetadataOperands()
78 if (!shouldKeepDebugNamedMetadata(MD) && !O.shouldKeep()) in extractMetadataFromModule()
92 if (!O.shouldKeep()) in extractMetadataFromModule()
102 if (!O.shouldKeep()) in extractMetadataFromModule()
111 if (!shouldKeepDebugIntrinsicMetadata(I, *MD.second) && !O.shouldKeep()) in extractMetadataFromModule()
H A DReduceModuleData.cpp20 if (!Program.getModuleIdentifier().empty() && !O.shouldKeep()) in clearModuleData()
22 if (!Program.getSourceFileName().empty() && !O.shouldKeep()) in clearModuleData()
25 if (!Program.getModuleInlineAsm().empty() && !O.shouldKeep()) in clearModuleData()
H A DReduceGlobalObjects.cpp24 if (shouldReduceSection(GO) && !O.shouldKeep()) in reduceGOs()
26 if (shouldReduceAlign(GO) && !O.shouldKeep()) in reduceGOs()
28 if (shouldReduceComdat(GO) && !O.shouldKeep()) in reduceGOs()
H A DReduceIRReferences.cpp26 if (!O.shouldKeep()) { in dropIRReferencesFromInstructions()
51 if (!O.shouldKeep()) in stripIRFromBlocks()
60 if (!O.shouldKeep()) { in stripIRFromFunctions()
H A DReduceAliases.cpp27 if (!O.shouldKeep()) { in extractAliasesFromModule()
37 if (!O.shouldKeep()) in extractIFuncsFromModule()
H A DReduceUsingSimplifyCFG.cpp27 if (!O.shouldKeep()) in reduceUsingSimplifyCFG()
45 if (!BR || !BR->isConditional() || O.shouldKeep()) in reduceConditionals()
H A DReduceAttributes.cpp118 RemoveNoInline = !O.shouldKeep(); in visitAttributeSet()
140 if (O.shouldKeep()) in visitAttributeSet()
H A DReduceOperands.cpp29 if (!O.shouldKeep()) { in extractOperandsFromModule()
40 if (!O.shouldKeep()) in extractOperandsFromModule()
H A DStripDebugInfo.cpp23 if (HasDebugInfo && !O.shouldKeep()) in stripDebugInfoImpl()
H A DReduceGlobalVarInitializers.cpp24 if (GV.hasInitializer() && !O.shouldKeep()) { in extractGVsFromModule()
H A DReduceInstructionFlagsMIR.cpp25 if (MI.getFlags() != 0 && !O.shouldKeep()) in removeFlagsFromModule()
H A DReduceBasicBlocks.cpp162 if (&BB != &Entry && !O.shouldKeep()) in extractBasicBlocksFromModule()
199 if (Reachable.size() != F.size() && !O.shouldKeep()) { in removeUnreachableBasicBlocksFromModule()
H A DReduceInvokes.cpp23 if (Invoke && !O.shouldKeep()) in reduceInvokesInFunction()
H A DSimplifyInstructions.cpp35 if (O.shouldKeep()) in extractInstrFromModule()
H A DReduceVirtualRegisters.cpp31 if (!O.shouldKeep()) in dropRegisterHintsFromFunction()
H A DReduceFunctions.cpp38 !O.shouldKeep()) in extractFunctionsFromModule()
H A DReduceGlobalVars.cpp32 if (shouldAlwaysKeep(GV) || O.shouldKeep()) in extractGVsFromModule()
H A DReduceInstructions.cpp41 if (shouldAlwaysKeep(Inst) || O.shouldKeep()) in extractInstrFromModule()
H A DReduceRegisterUses.cpp44 if (O.shouldKeep()) in removeUsesFromFunction()
H A DRunIRPasses.cpp35 [&](StringRef, Any) { return !O.shouldKeep(); }); in runPasses()

12