Home
last modified time | relevance | path

Searched refs:LVI (Results 1 – 9 of 9) sorted by relevance

/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DCorrelatedValuePropagation.cpp98 if (Constant *C = LVI->getConstant(V, At)) in getConstantAt()
342 if (constantFoldCmp(Cmp, LVI)) in processCmp()
346 if (processICmp(ICmp, LVI)) in processCmp()
514 processBinOp(BO, LVI); in processAbsIntrinsic()
566 processBinOp(BO, LVI); in processOverflowIntrinsic()
586 processBinOp(BO, LVI); in processSaturatingInst()
599 return processMinMaxIntrinsic(MM, LVI); in processCallSite()
913 processUDivOrURem(URem, LVI); in processSRem()
975 processUDivOrURem(UDiv, LVI); in processSDiv()
992 if (processSDiv(Instr, LCR, RCR, LVI)) in processSDivOrSRem()
[all …]
H A DJumpThreading.cpp245 auto &LVI = AM.getResult<LazyValueAnalysis>(F); in run() local
250 runImpl(F, &AM, &TLI, &TTI, &LVI, &AA, in run()
294 LVI = LVI_; in runImpl()
353 LVI->eraseBlock(&BB); in runImpl()
374 LVI->eraseBlock(&BB); in runImpl()
916 Constant *CI = LVI->getConstant(V, CxtI); in computeValueKnownInPredecessorsImpl()
1274 LVI->forgetValue(NLoadI); in simplifyPartiallyRedundantLoad()
1467 LVI->forgetValue(PredLoadI); in simplifyPartiallyRedundantLoad()
1914 LVI->eraseBlock(SinglePred); in maybeMergeBasicBlockIntoOnlyPred()
1945 LVI->eraseBlock(BB); in maybeMergeBasicBlockIntoOnlyPred()
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/
H A DSplitKit.cpp246 assert(LVI->start == LVI->valno->def && "Dangling Segment start"); in calcLiveBlockInfo()
253 while (LVI->end < Stop) { in calcLiveBlockInfo()
255 if (++LVI == LVE || LVI->start >= Stop) { in calcLiveBlockInfo()
278 assert(LVI->start == LVI->valno->def && "Dangling Segment start"); in calcLiveBlockInfo()
280 BI.FirstDef = LVI->start; in calcLiveBlockInfo()
286 if (LVI == LVE) in calcLiveBlockInfo()
291 if (LVI->end == Stop && ++LVI == LVE) in calcLiveBlockInfo()
295 if (LVI->start < Stop) in calcLiveBlockInfo()
325 LVI = li->advanceTo(LVI, Stop); in countLiveBlocks()
326 if (LVI == LVE) in countLiveBlocks()
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DLowerSwitch.cpp353 AssumptionCache *AC, LazyValueInfo *LVI) { in ProcessSwitchInst() argument
416 LVI->getConstantRange(Val, SI, /*UndefAllowed*/ false); in ProcessSwitchInst()
537 bool LowerSwitch(Function &F, LazyValueInfo *LVI, AssumptionCache *AC) { in LowerSwitch() argument
550 ProcessSwitchInst(SI, DeleteList, AC, LVI); in LowerSwitch()
555 LVI->eraseBlock(BB); in LowerSwitch()
599 LazyValueInfo *LVI = &getAnalysis<LazyValueInfoWrapperPass>().getLVI(); in runOnFunction() local
602 return LowerSwitch(F, LVI, AC); in runOnFunction()
607 LazyValueInfo *LVI = &AM.getResult<LazyValueAnalysis>(F); in run() local
609 return LowerSwitch(F, LVI, AC) ? PreservedAnalyses::none() in run()
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/Transforms/Scalar/
H A DJumpThreading.h83 LazyValueInfo *LVI = nullptr; variable
105 LazyValueInfo *LVI, AAResults *AA,
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86.td417 // Mitigate LVI attacks against indirect calls/branches and call returns
432 "and conditional branches. Implies LVI Control Flow integrity.",
435 // Mitigate LVI attacks against data loads
/freebsd-14.2/contrib/llvm-project/llvm/lib/Analysis/
H A DLazyValueInfo.cpp2080 auto &LVI = AM.getResult<LazyValueAnalysis>(F); in run() local
2082 LVI.printLVI(F, DTree, OS); in run()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DAttributorAttributes.cpp9018 LazyValueInfo *LVI = in getConstantRangeFromLVI() local
9022 if (!LVI || !CtxI) in getConstantRangeFromLVI()
9024 return LVI->getConstantRange(&getAssociatedValue(), in getConstantRangeFromLVI()
/freebsd-14.2/contrib/llvm-project/clang/include/clang/Driver/
H A DOptions.td4583 HelpText<"Enable all mitigations for Load Value Injection (LVI)">;
4586 HelpText<"Disable mitigations for Load Value Injection (LVI)">;
4589 HelpText<"Enable only control-flow mitigations for Load Value Injection (LVI)">;
4592 HelpText<"Disable control-flow mitigations for Load Value Injection (LVI)">;
4596 "Includes LVI control flow integrity mitigations">;