| /freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
| H A D | CorrelatedValuePropagation.cpp | 96 static Constant *getConstantAt(Value *V, Instruction *At, LazyValueInfo *LVI) { in getConstantAt() argument 97 if (Constant *C = LVI->getConstant(V, At)) in getConstantAt() 111 return LVI->getPredicateAt(C->getPredicate(), Op0, Op1, At, in getConstantAt() 115 static bool processSelect(SelectInst *S, LazyValueInfo *LVI) { in processSelect() argument 124 C = LVI->getConstantOnEdge(S->getCondition(), PN->getIncomingBlock(U), in processSelect() 127 C = getConstantAt(S->getCondition(), I, LVI); in processSelect() 155 static bool simplifyCommonValuePhi(PHINode *P, LazyValueInfo *LVI, in simplifyCommonValuePhi() argument 188 if (C != LVI->getConstantOnEdge(CommonValue, IncomingBB, ToBB, P)) in simplifyCommonValuePhi() 206 static Value *getValueOnEdge(LazyValueInfo *LVI, Value *Incoming, in getValueOnEdge() argument 209 if (Constant *C = LVI->getConstantOnEdge(Incoming, From, To, CxtI)) in getValueOnEdge() [all …]
|
| H A D | JumpThreading.cpp | 244 auto &LVI = AM.getResult<LazyValueAnalysis>(F); in run() local 249 runImpl(F, &AM, &TLI, &TTI, &LVI, &AA, in run() 293 LVI = LVI_; in runImpl() 346 LVI->eraseBlock(&BB); in runImpl() 366 LVI->eraseBlock(&BB); in runImpl() 588 Constant *PredCst = LVI->getConstantOnEdge(V, P, BB, CxtI); in computeValueKnownInPredecessorsImpl() 597 PredCst = LVI->getPredicateOnEdge(Pred, Val, Cst, P, BB, CxtI); in computeValueKnownInPredecessorsImpl() 612 Constant *CI = LVI->getConstantOnEdge(InVal, in computeValueKnownInPredecessorsImpl() 777 Res = LVI->getPredicateOnEdge(Pred, LHS, cast<Constant>(RHS), PredBB, in computeValueKnownInPredecessorsImpl() 798 Constant *Res = LVI->getPredicateOnEdge(Pred, CmpLHS, CmpConst, P, BB, in computeValueKnownInPredecessorsImpl() [all …]
|
| /freebsd/contrib/llvm-project/llvm/lib/CodeGen/ |
| H A D | SplitKit.cpp | 205 LiveInterval::const_iterator LVI = CurLI->begin(); in calcLiveBlockInfo() local 214 LIS.getMBBFromIndex(LVI->start)->getIterator(); in calcLiveBlockInfo() 229 assert(LVI->end >= Stop && "range ends mid block with no uses"); in calcLiveBlockInfo() 240 BI.LiveIn = LVI->start <= Start; in calcLiveBlockInfo() 244 assert(LVI->start == LVI->valno->def && "Dangling Segment start"); in calcLiveBlockInfo() 245 assert(LVI->start == BI.FirstInstr && "First instr should be a def"); in calcLiveBlockInfo() 251 while (LVI->end < Stop) { in calcLiveBlockInfo() 252 SlotIndex LastStop = LVI->end; in calcLiveBlockInfo() 253 if (++LVI == LVE || LVI->start >= Stop) { in calcLiveBlockInfo() 259 if (LastStop < LVI->start) { in calcLiveBlockInfo() [all …]
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
| H A D | LowerSwitch.cpp | 351 AssumptionCache *AC, LazyValueInfo *LVI) { in ProcessSwitchInst() argument 414 LVI->getConstantRange(Val, SI, /*UndefAllowed*/ false); in ProcessSwitchInst() 535 bool LowerSwitch(Function &F, LazyValueInfo *LVI, AssumptionCache *AC) { in LowerSwitch() argument 548 ProcessSwitchInst(SI, DeleteList, AC, LVI); in LowerSwitch() 553 LVI->eraseBlock(BB); in LowerSwitch() 597 LazyValueInfo *LVI = &getAnalysis<LazyValueInfoWrapperPass>().getLVI(); in runOnFunction() local 600 return LowerSwitch(F, LVI, AC); in runOnFunction() 605 LazyValueInfo *LVI = &AM.getResult<LazyValueAnalysis>(F); in run() local 607 return LowerSwitch(F, LVI, AC) ? PreservedAnalyses::none() in run()
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/Transforms/Scalar/ |
| H A D | JumpThreading.h | 85 LazyValueInfo *LVI = nullptr; variable 111 LazyValueInfo *LVI, AAResults *AA,
|
| /freebsd/contrib/llvm-project/llvm/lib/Analysis/ |
| H A D | LazyValueInfo.cpp | 2131 auto &LVI = AM.getResult<LazyValueAnalysis>(F); in run() local 2133 LVI.printLVI(F, DTree, OS); in run()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/X86/ |
| H A D | X86.td | 428 // Mitigate LVI attacks against indirect calls/branches and call returns 443 "and conditional branches. Implies LVI Control Flow integrity.", 446 // Mitigate LVI attacks against data loads
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/ |
| H A D | AttributorAttributes.cpp | 9094 LazyValueInfo *LVI = in getConstantRangeFromLVI() local 9098 if (!LVI || !CtxI) in getConstantRangeFromLVI() 9100 return LVI->getConstantRange(&getAssociatedValue(), in getConstantRangeFromLVI()
|
| /freebsd/contrib/llvm-project/clang/include/clang/Driver/ |
| H A D | Options.td | 5096 HelpText<"Enable all mitigations for Load Value Injection (LVI)">; 5099 HelpText<"Disable mitigations for Load Value Injection (LVI)">; 5102 HelpText<"Enable only control-flow mitigations for Load Value Injection (LVI)">; 5105 HelpText<"Disable control-flow mitigations for Load Value Injection (LVI)">; 5109 "Includes LVI control flow integrity mitigations">;
|