Home
last modified time | relevance | path

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

/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Scalar/
H A DCorrelatedValuePropagation.cpp129 static bool processSelect(SelectInst *S, LazyValueInfo *LVI) { in processSelect() argument
133 Constant *C = LVI->getConstant(S->getCondition(), S); in processSelect()
159 static bool simplifyCommonValuePhi(PHINode *P, LazyValueInfo *LVI, in simplifyCommonValuePhi() argument
192 if (C != LVI->getConstantOnEdge(CommonValue, IncomingBB, ToBB, P)) in simplifyCommonValuePhi()
211 static bool processPHI(PHINode *P, LazyValueInfo *LVI, DominatorTree *DT, in processPHI() argument
220 Value *V = LVI->getConstantOnEdge(Incoming, P->getIncomingBlock(i), BB, P); in processPHI()
232 if (Constant *C = LVI->getConstantOnEdge( in processPHI()
252 if (LVI->getPredicateOnEdge(ICmpInst::ICMP_EQ, SI, C, in processPHI()
273 Changed = simplifyCommonValuePhi(P, LVI, DT); in processPHI()
281 static bool processMemAccess(Instruction *I, LazyValueInfo *LVI) { in processMemAccess() argument
[all …]
H A DJumpThreading.cpp323 auto LVI = &getAnalysis<LazyValueInfoWrapperPass>().getLVI(); in runOnFunction() local
334 bool Changed = Impl.runImpl(F, TLI, LVI, AA, &DTU, F.hasProfileData(), in runOnFunction()
338 LVI->printLVI(F, DTU.getDomTree(), dbgs()); in runOnFunction()
351 auto &LVI = AM.getResult<LazyValueAnalysis>(F); in run() local
363 bool Changed = runImpl(F, &TLI, &LVI, &AA, &DTU, F.hasProfileData(), in run()
368 LVI.printLVI(F, DTU.getDomTree(), dbgs()); in run()
386 LVI = LVI_; in runImpl()
453 LVI->eraseBlock(&BB); in runImpl()
474 LVI->eraseBlock(&BB); in runImpl()
682 Constant *PredCst = LVI->getConstantOnEdge(V, P, BB, CxtI); in computeValueKnownInPredecessorsImpl()
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/lib/CodeGen/
H A DSplitKit.cpp219 LiveInterval::const_iterator LVI = CurLI->begin(); in calcLiveBlockInfo() local
228 LIS.getMBBFromIndex(LVI->start)->getIterator(); in calcLiveBlockInfo()
243 if (LVI->end < Stop) in calcLiveBlockInfo()
255 BI.LiveIn = LVI->start <= Start; in calcLiveBlockInfo()
259 assert(LVI->start == LVI->valno->def && "Dangling Segment start"); in calcLiveBlockInfo()
260 assert(LVI->start == BI.FirstInstr && "First instr should be a def"); in calcLiveBlockInfo()
266 while (LVI->end < Stop) { in calcLiveBlockInfo()
267 SlotIndex LastStop = LVI->end; in calcLiveBlockInfo()
268 if (++LVI == LVE || LVI->start >= Stop) { in calcLiveBlockInfo()
274 if (LastStop < LVI->start) { in calcLiveBlockInfo()
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Utils/
H A DLowerSwitch.cpp347 AssumptionCache *AC, LazyValueInfo *LVI) { in ProcessSwitchInst() argument
403 const ConstantRange LVIRange = LVI->getConstantRange(Val, SI); in ProcessSwitchInst()
523 bool LowerSwitch(Function &F, LazyValueInfo *LVI, AssumptionCache *AC) { in LowerSwitch() argument
538 ProcessSwitchInst(SI, DeleteList, AC, LVI); in LowerSwitch()
543 LVI->eraseBlock(BB); in LowerSwitch()
587 LazyValueInfo *LVI = &getAnalysis<LazyValueInfoWrapperPass>().getLVI(); in runOnFunction() local
590 return LowerSwitch(F, LVI, AC); in runOnFunction()
595 LazyValueInfo *LVI = &AM.getResult<LazyValueAnalysis>(F); in run() local
597 return LowerSwitch(F, LVI, AC) ? PreservedAnalyses::none() in run()
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/Transforms/Scalar/
H A DJumpThreading.h81 LazyValueInfo *LVI; variable
102 bool runImpl(Function &F, TargetLibraryInfo *TLI, LazyValueInfo *LVI,
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/X86/
H A DX86.td463 // Mitigate LVI attacks against indirect calls/branches and call returns
478 "and conditional branches. Implies LVI Control Flow integrity.",
481 // Mitigate LVI attacks against data loads
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Analysis/
H A DLazyValueInfo.cpp1934 auto &LVI = getAnalysis<LazyValueInfoWrapperPass>().getLVI(); in runOnFunction() local
1936 LVI.printLVI(F, DTree, dbgs()); in runOnFunction()
/netbsd-src/external/apache2/llvm/dist/clang/docs/
H A DClangCommandLineReference.rst2767 Enable only control-flow mitigations for Load Value Injection (LVI)
2771 Enable all mitigations for Load Value Injection (LVI)
2839 Enable speculative execution side effect suppression (SESES). Includes LVI control flow integrity m…
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/IPO/
H A DAttributorAttributes.cpp7049 LazyValueInfo *LVI = in getConstantRangeFromLVI() local
7053 if (!LVI || !CtxI) in getConstantRangeFromLVI()
7055 return LVI->getConstantRange(&getAssociatedValue(), in getConstantRangeFromLVI()
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/Driver/
H A DOptions.td3125 HelpText<"Enable all mitigations for Load Value Injection (LVI)">;
3127 HelpText<"Disable mitigations for Load Value Injection (LVI)">;
3129 HelpText<"Enable only control-flow mitigations for Load Value Injection (LVI)">;
3131 HelpText<"Disable control-flow mitigations for Load Value Injection (LVI)">;
3134 "Includes LVI control flow integrity mitigations">;
/netbsd-src/share/misc/
H A Dairport4474 LVI:Livingstone (Maramba), Zambia