/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
H A D | BuildLibCalls.cpp | 159 bool Changed = false; in setArgsNoUndef() local 164 Changed = true; in setArgsNoUndef() 167 return Changed; in setArgsNoUndef() 267 bool Changed = false; in inferNonMandatoryLibFuncAttrs() local 270 Changed |= setNonLazyBind(F); in inferNonMandatoryLibFuncAttrs() 276 Changed |= setOnlyReadsMemory(F); in inferNonMandatoryLibFuncAttrs() 277 Changed |= setDoesNotThrow(F); in inferNonMandatoryLibFuncAttrs() 278 Changed |= setOnlyAccessesArgMemory(F); in inferNonMandatoryLibFuncAttrs() 279 Changed |= setWillReturn(F); in inferNonMandatoryLibFuncAttrs() 280 Changed |= setDoesNotCapture(F, 0); in inferNonMandatoryLibFuncAttrs() [all …]
|
H A D | CanonicalizeAliases.cpp | 40 static Constant *canonicalizeAlias(Constant *C, bool &Changed) { in canonicalizeAlias() argument 42 auto *NewAliasee = canonicalizeAlias(GA->getAliasee(), Changed); in canonicalizeAlias() 45 Changed = true; in canonicalizeAlias() 56 Ops.push_back(canonicalizeAlias(cast<Constant>(U), Changed)); in canonicalizeAlias() 62 bool Changed = false; in canonicalizeAliases() local 64 canonicalizeAlias(&GA, Changed); in canonicalizeAliases() 65 return Changed; in canonicalizeAliases()
|
H A D | UnifyFunctionExitNodes.cpp | 91 bool Changed = false; in unifyReturnBlocks() 92 Changed |= unifyUnreachableBlocks(F); in unifyReturnBlocks() 93 Changed |= unifyReturnBlocks(F); in unifyReturnBlocks() 94 return Changed ? PreservedAnalyses() : PreservedAnalyses::all(); in unifyReturnBlocks() 117 bool Changed = false; runOnFunction() local 125 bool Changed = false; run() local
|
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/ |
H A D | PreISelIntrinsicLowering.cpp | 73 bool Changed = false; in lowerLoadRelative() local 90 Changed = true; in lowerLoadRelative() 93 return Changed; in lowerLoadRelative() 210 bool Changed = false; in expandMemIntrinsicUses() local 227 Changed = true; in expandMemIntrinsicUses() 244 Changed = true; in expandMemIntrinsicUses() 258 Changed = true; in expandMemIntrinsicUses() 275 Changed = true; in expandMemIntrinsicUses() 290 Changed = true; in expandMemIntrinsicUses() 299 return Changed; in expandMemIntrinsicUses() [all …]
|
H A D | MIRCanonicalizerPass.cpp | 91 bool Changed = false; in rescheduleLexographically() local 117 Changed = true; in rescheduleLexographically() 121 return Changed; in rescheduleLexographically() 127 bool Changed = false; in rescheduleCanonically() local 259 Changed = true; in rescheduleCanonically() 275 Changed |= rescheduleLexographically( in rescheduleCanonically() 283 Changed |= rescheduleLexographically( in rescheduleCanonically() 287 return Changed; in rescheduleCanonically() 291 bool Changed = false; in propagateLocalCopies() local 330 Changed = true; in propagateLocalCopies() [all …]
|
H A D | CallBrPrepare.cpp | 78 bool Changed = false; in run() local 86 Changed |= SplitCriticalEdges(CBRs, DT); in run() 87 Changed |= InsertIntrinsicCalls(CBRs, DT); in run() 89 if (!Changed) in run() 119 bool Changed = false; in SplitCriticalEdges() local 136 Changed = true; in SplitCriticalEdges() 137 return Changed; in SplitCriticalEdges() 141 bool Changed = false; in InsertIntrinsicCalls() local 161 Changed = true; in InsertIntrinsicCalls() 164 return Changed; in InsertIntrinsicCalls() [all …]
|
H A D | InitUndef.cpp | 115 bool Changed = false; in handleReg() local 127 Changed |= fixupIllOperand(MI, UseMO); in handleReg() 129 return Changed; in handleReg() 134 bool Changed = false; in handleSubReg() local 174 Changed = true; in handleSubReg() 194 return Changed; in handleSubReg() 217 bool Changed = false; in processBasicBlock() local 236 Changed = true; in processBasicBlock() 242 Changed |= handleSubReg(MF, MI, DLD); in processBasicBlock() 243 Changed |= handleReg(&MI); in processBasicBlock() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Target/SystemZ/ |
H A D | SystemZShortenInst.cpp | 208 bool Changed = false; in processBlock() local 218 Changed |= shortenIIF(MI, SystemZ::LLILL, SystemZ::LLILH); in processBlock() 222 Changed |= shortenIIF(MI, SystemZ::LLIHL, SystemZ::LLIHH); in processBlock() 226 Changed |= shortenOn001AddCC(MI, SystemZ::ADBR); in processBlock() 230 Changed |= shortenOn001AddCC(MI, SystemZ::AEBR); in processBlock() 234 Changed |= shortenOn001(MI, SystemZ::DDBR); in processBlock() 238 Changed |= shortenOn001(MI, SystemZ::DEBR); in processBlock() 242 Changed |= shortenFPConv(MI, SystemZ::FIDBRA); in processBlock() 246 Changed |= shortenFPConv(MI, SystemZ::FIEBRA); in processBlock() 250 Changed |= shortenOn01(MI, SystemZ::LDEBR); in processBlock() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
H A D | SIMemoryLegalizer.cpp | 530 bool Changed = false; in tryForceStoreSC0SC1() local 536 Changed |= enableSC0Bit(MI); in tryForceStoreSC0SC1() 537 Changed |= enableSC1Bit(MI); in tryForceStoreSC0SC1() 539 return Changed; in tryForceStoreSC0SC1() 988 bool Changed = false; in enableLoadCacheBypass() local 996 Changed |= enableGLCBit(MI); in enableLoadCacheBypass() 1015 return Changed; in enableLoadCacheBypass() 1023 bool Changed = false; in enableStoreCacheBypass() local 1028 return Changed; in enableStoreCacheBypass() 1036 bool Changed = false; in enableRMWCacheBypass() local [all …]
|
H A D | AMDGPUAnnotateKernelFeatures.cpp | 64 bool Changed = false; in addFeatureAttributes() local 90 Changed = true; in addFeatureAttributes() 101 Changed = true; in addFeatureAttributes() 106 Changed = true; in addFeatureAttributes() 109 return Changed; in addFeatureAttributes() 113 bool Changed = false; in runOnSCC() local 122 Changed |= addFeatureAttributes(*F); in runOnSCC() 125 return Changed; in runOnSCC()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/NVPTX/ |
H A D | NVVMIntrRange.cpp | 83 bool Changed = false; in runNVVMIntrRange() local 92 Changed |= addRangeAttr(0, MaxBlockSize.x, II); in runNVVMIntrRange() 95 Changed |= addRangeAttr(0, MaxBlockSize.y, II); in runNVVMIntrRange() 98 Changed |= addRangeAttr(0, MaxBlockSize.z, II); in runNVVMIntrRange() 103 Changed |= addRangeAttr(1, MaxBlockSize.x + 1, II); in runNVVMIntrRange() 106 Changed |= addRangeAttr(1, MaxBlockSize.y + 1, II); in runNVVMIntrRange() 109 Changed |= addRangeAttr(1, MaxBlockSize.z + 1, II); in runNVVMIntrRange() 114 Changed |= addRangeAttr(0, MaxGridSize.x, II); in runNVVMIntrRange() 117 Changed |= addRangeAttr(0, MaxGridSize.y, II); in runNVVMIntrRange() 120 Changed |= addRangeAttr(0, MaxGridSize.z, II); in runNVVMIntrRange() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Target/WebAssembly/ |
H A D | WebAssemblyLateEHPrepare.cpp | 123 bool Changed = false; in runOnMachineFunction() local 125 Changed |= removeUnreachableEHPads(MF); in runOnMachineFunction() 127 Changed |= hoistCatches(MF); in runOnMachineFunction() 128 Changed |= addCatchAlls(MF); in runOnMachineFunction() 129 Changed |= replaceFuncletReturns(MF); in runOnMachineFunction() 131 Changed |= removeUnnecessaryUnreachables(MF); in runOnMachineFunction() 133 Changed |= restoreStackPointer(MF); in runOnMachineFunction() 134 return Changed; in runOnMachineFunction() 176 bool Changed = false; in hoistCatches() local 194 Changed in hoistCatches() 202 bool Changed = false; addCatchAlls() local 228 bool Changed = false; replaceFuncletReturns() local 265 bool Changed = false; removeUnnecessaryUnreachables() local 297 bool Changed = false; restoreStackPointer() local [all...] |
/freebsd/contrib/llvm-project/llvm/lib/Target/BPF/ |
H A D | BPFCheckAndAdjustIR.cpp | 109 bool Changed = false; in removePassThroughBuiltin() local 127 Changed = true; in removePassThroughBuiltin() 132 return Changed; in removePassThroughBuiltin() 139 bool Changed = false; in removeCompareBuiltin() local 158 Changed = true; in removeCompareBuiltin() 172 return Changed; in removeCompareBuiltin() 245 bool Changed = false; in sinkMinMaxInBB() local 312 Changed = true; in sinkMinMaxInBB() 315 return Changed; in sinkMinMaxInBB() 346 bool Changed = false; in sinkMinMax() local [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/ |
H A D | LoopExtractor.cpp | 116 bool Changed = false; in runOnModule() local 120 auto LookupLoopInfo = [this, &Changed](Function &F) -> LoopInfo & { in runOnModule() 121 return this->getAnalysis<LoopInfoWrapperPass>(F, &Changed).getLoopInfo(); in runOnModule() 130 Changed; in runOnModule() 140 bool Changed = false; in runOnModule() local 148 Changed |= runOnFunction(F); in runOnModule() 158 return Changed; in runOnModule() 169 bool Changed = false; in runOnFunction() local 174 return Changed; in runOnFunction() 181 return Changed | extractLoops(LI.begin(), LI.end(), LI, DT); in runOnFunction() [all …]
|
H A D | FunctionAttrs.cpp | 260 SmallSet<Function *, 8> &Changed) { in addMemoryAttrs() argument 293 Changed.insert(F); in addMemoryAttrs() 413 bool Changed = false; in thinLTOPropagateFunctionAttrs() local 451 Changed = true; in thinLTOPropagateFunctionAttrs() 484 return Changed; in thinLTOPropagateFunctionAttrs() 754 SmallSet<Function *, 8> &Changed) { in addArgumentReturnedAttrs() argument 793 Changed.insert(F); in addArgumentReturnedAttrs() 806 bool Changed = false; in addArgumentAttrsFromCallsites() local 829 Changed = true; in addArgumentAttrsFromCallsites() 838 return Changed; in addArgumentAttrsFromCallsites() [all …]
|
H A D | GlobalOpt.cpp | 203 bool Changed = false; in CleanupPointerRootUsers() local 216 Changed = true; in CleanupPointerRootUsers() 224 Changed = true; in CleanupPointerRootUsers() 233 Changed = true; in CleanupPointerRootUsers() 259 Changed = true; in CleanupPointerRootUsers() 264 return Changed; in CleanupPointerRootUsers() 275 bool Changed = false; in CleanupConstantGlobalUsers() local 283 Changed = true; in CleanupConstantGlobalUsers() 332 Changed |= in CleanupConstantGlobalUsers() 335 return Changed; in CleanupConstantGlobalUsers() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
H A D | LowerAtomicPass.cpp | 41 bool Changed = false; in runOnBasicBlock() local 44 Changed |= LowerFenceInst(FI); in runOnBasicBlock() 46 Changed |= lowerAtomicCmpXchgInst(CXI); in runOnBasicBlock() 48 Changed |= lowerAtomicRMWInst(RMWI); in runOnBasicBlock() 57 return Changed; in runOnBasicBlock() 61 bool Changed = false; in lowerAtomics() local 63 Changed |= runOnBasicBlock(BB); in lowerAtomics() 65 return Changed; in lowerAtomics()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/ |
H A D | SVEIntrinsicOpts.cpp | 247 bool Changed = false; in optimizePTrueIntrinsicCalls() local 272 Changed |= coalescePTrueIntrinsicCalls(BB, SVAllPTrues); in optimizePTrueIntrinsicCalls() 273 Changed |= coalescePTrueIntrinsicCalls(BB, SVPow2PTrues); in optimizePTrueIntrinsicCalls() 277 return Changed; in optimizePTrueIntrinsicCalls() 400 bool Changed = false; in optimizeInstructions() local 413 Changed |= optimizePredicateStore(&I); in optimizeInstructions() 416 Changed |= optimizePredicateLoad(&I); in optimizeInstructions() 423 return Changed; in optimizeInstructions() 428 bool Changed = false; in optimizeFunctions() local 430 Changed |= optimizePTrueIntrinsicCalls(Functions); in optimizeFunctions() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/ |
H A D | RISCVInsertReadWriteCSR.cpp | 66 bool Changed = false; in INITIALIZE_PASS() local 109 Changed = true; in INITIALIZE_PASS() 138 return Changed; in INITIALIZE_PASS() 144 bool Changed = false; in emitWriteRoundingMode() local 156 Changed = true; in emitWriteRoundingMode() 172 return Changed; in emitWriteRoundingMode() 183 bool Changed = false; in runOnMachineFunction() local 187 Changed |= emitWriteRoundingMode(MBB); in runOnMachineFunction() 189 Changed |= emitWriteRoundingModeOpt(MBB); in runOnMachineFunction() 192 return Changed; in runOnMachineFunction()
|
/freebsd/contrib/llvm-project/llvm/lib/Analysis/ |
H A D | CallGraphSCCPass.cpp | 125 bool Changed = false; in RunPassOnSCC() local 143 Changed = CGSP->runOnSCC(CurSCC); in RunPassOnSCC() 163 if (Changed) in RunPassOnSCC() 167 return Changed; in RunPassOnSCC() 180 Changed |= FPP->runOnFunction(*F); in RunPassOnSCC() 188 if (Changed && CallGraphUpToDate) { in RunPassOnSCC() 193 return Changed; in RunPassOnSCC() 429 bool Changed = false; in RunAllPassesOnSCC() local 472 Changed |= LocalChanged; in RunAllPassesOnSCC() 496 return Changed; in RunAllPassesOnSCC() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Target/PowerPC/ |
H A D | PPCTOCRegDeps.cpp | 110 bool Changed = false; in processBlock() local 123 Changed = true; in processBlock() 126 return Changed; in processBlock() 131 bool Changed = false; in runOnMachineFunction() local 135 Changed = true; in runOnMachineFunction() 137 return Changed; in runOnMachineFunction()
|
H A D | PPCEarlyReturn.cpp | 53 bool Changed = false; in processBlock() local 62 return Changed; in processBlock() 149 Changed = true; in processBlock() 155 if (Changed && !ReturnMBB.hasAddressTaken()) { in processBlock() 171 return Changed; in processBlock() 181 bool Changed = false; in runOnMachineFunction() local 186 return Changed; in runOnMachineFunction() 189 Changed |= processBlock(B); in runOnMachineFunction() 191 return Changed; in runOnMachineFunction()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/VE/ |
H A D | LVLGen.cpp | 64 bool Changed = false; in runOnMachineBasicBlock() local 94 Changed = true; in runOnMachineBasicBlock() 114 return Changed; in runOnMachineBasicBlock() 122 bool Changed = false; in runOnMachineFunction() local 129 Changed |= runOnMachineBasicBlock(MBB); in runOnMachineFunction() 131 if (Changed) { in runOnMachineFunction() 136 return Changed; in runOnMachineFunction()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/ |
H A D | X86IndirectBranchTracking.cpp | 136 bool Changed = false; in runOnMachineFunction() local 144 Changed |= addENDBR(*MBB, MBB->begin()); in runOnMachineFunction() 151 Changed |= addENDBR(MBB, MBB.begin()); in runOnMachineFunction() 156 Changed |= addENDBR(MBB, std::next(I)); in runOnMachineFunction() 169 Changed |= addENDBR(MBB, I); in runOnMachineFunction() 177 Changed |= addENDBR(MBB, std::next(I)); in runOnMachineFunction() 185 Changed |= addENDBR(MBB, std::next(I)); in runOnMachineFunction() 190 return Changed; in runOnMachineFunction()
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/ObjCARC/ |
H A D | ObjCARCAPElim.cpp | 65 bool Changed = false; in OptimizeBB() local 77 Changed = true; in OptimizeBB() 98 return Changed; in OptimizeBB() 121 bool Changed = false; in runImpl() local 142 Changed |= OptimizeBB(&F->front()); in runImpl() 145 return Changed; in runImpl()
|