Searched defs:LV (Results 1 - 25 of 38) sorted by relevance

12

/external/clang/lib/StaticAnalyzer/Checkers/
H A DPointerArithChecker.cpp41 SVal LV = state->getSVal(B->getLHS(), LCtx); local
44 const MemRegion *LR = LV.getAsRegion();
H A DPointerSubChecker.cpp44 SVal LV = state->getSVal(B->getLHS(), LCtx); local
47 const MemRegion *LR = LV.getAsRegion();
H A DBasicObjCFoundationChecks.cpp470 Optional<loc::MemRegionVal> LV = TheValueExpr.getAs<loc::MemRegionVal>(); local
471 if (!LV)
474 const TypedValueRegion* R = dyn_cast<TypedValueRegion>(LV->stripCasts());
H A DCStringChecker.cpp1095 DefinedOrUnknownSVal LV = local
1101 DefinedOrUnknownSVal SameBuf = svalBuilder.evalEQ(state, LV, RV);
1718 DefinedOrUnknownSVal LV = s1Val.castAs<DefinedOrUnknownSVal>();
1723 DefinedOrUnknownSVal SameBuf = svalBuilder.evalEQ(state, LV, RV);
/external/clang/lib/AST/
H A DAPValue.cpp35 struct APValue::LV : LVBase { struct in class:APValue
47 LV() { PathLength = (unsigned)-1; } function in struct:APValue::LV
48 ~LV() { resizePath(0); }
201 ((LV*)(char*)Data.buffer)->~LV();
242 return reinterpret_cast<const LV *>(Data.buffer)->hasPathPtr();
555 return ((const LV*)(const void*)Data.buffer)->BaseAndIsOnePastTheEnd.getPointer();
560 return ((const LV*)(const void*)Data.buffer)->BaseAndIsOnePastTheEnd.getInt();
565 return ((LV*)(void*)Data.buffer)->Offset;
570 return ((const LV*)(cons
[all...]
H A DStmt.cpp813 Decl *LV = cast<DeclStmt>(getLoopVarStmt())->getSingleDecl(); local
814 assert(LV && "No loop variable in CXXForRangeStmt");
815 return cast<VarDecl>(LV);
H A DType.cpp2303 LinkageInfo LV = computeLinkageInfo(MPT->getClass()); local
2304 LV.merge(computeLinkageInfo(MPT->getPointeeType()));
2305 return LV;
2318 LinkageInfo LV = computeLinkageInfo(FPT->getReturnType()); local
2320 LV.merge(computeLinkageInfo(ai));
2321 return LV;
2352 LinkageInfo LV = computeLinkageInfo(this);
2353 assert(LV.getLinkage() == getLinkage());
2354 return LV;
/external/llvm/include/llvm/Analysis/
H A DSparsePropagation.h84 virtual Constant *GetConstant(LatticeVal LV, Value *Val, SparseSolver &SS) { argument
/external/clang/lib/CodeGen/
H A DCGObjCRuntime.cpp100 LValue LV = CGF.MakeNaturalAlignAddrLValue(V, IvarTy); local
101 LV.getQuals().addCVRQualifiers(CVRQualifiers);
102 return LV;
H A DCGValue.h439 static AggValueSlot forLValue(const LValue &LV, argument
444 return forAddr(LV.getAddress(), LV.getAlignment(),
445 LV.getQuals(), isDestructed, needsGC, isAliased, isZeroed);
H A DCGExprAgg.cpp180 LValue LV = CGF.EmitPseudoObjectLValue(E); local
181 return EmitFinalDestCopy(E->getType(), LV);
207 LValue LV = CGF.EmitLValue(E); local
210 if (LV.getType()->isAtomicType()) {
211 CGF.EmitAtomicLoad(LV, E->getExprLoc(), Dest);
215 EmitFinalDestCopy(E->getType(), LV);
568 LValue LV = CGF.EmitCheckedLValue(E->getSubExpr(), local
571 if (LV.isSimple())
572 CGF.EmitDynamicCast(LV.getAddress(), cast<CXXDynamicCastExpr>(E));
772 LValue LV local
1037 EmitInitializationToLValue(Expr *E, LValue LV) argument
1066 CGF.EmitStoreThroughLValue(RValue::get(CGF.EmitScalarExpr(E)), LV); local
1207 LValue LV = CGF.EmitLValueForFieldInitialization(DestLV, field); local
1381 LValue LV = MakeAddrLValue(Temp, E->getType()); local
[all...]
H A DCGExprCXX.cpp289 LValue LV = EmitLValue(E->getArg(0)); local
290 llvm::Value *This = LV.getAddress();
1780 LValue LV = EmitLValueForFieldInitialization(SlotLV, *CurField); local
1784 EmitInitializerForField(*CurField, LV, *i, ArrayIndexes);
H A DCGExprComplex.cpp76 ComplexPairTy EmitLoadOfLValue(LValue LV, SourceLocation Loc);
80 void EmitStoreOfComplex(ComplexPairTy Val, LValue LV, bool isInit);
160 LValue LV = CGF.EmitLValue(E->getSubExpr()); local
161 return CGF.EmitComplexPrePostIncDec(E, LV, isInc, isPre);
691 LValue LV = EmitCompoundAssignLValue(E, Func, Val); local
698 if (!LV.isVolatileQualified())
701 return EmitLoadOfLValue(LV, E->getExprLoc());
726 LValue LV = EmitBinAssignLValue(E, Val); local
733 if (!LV.isVolatileQualified())
736 return EmitLoadOfLValue(LV,
[all...]
H A DCGStmt.cpp2059 LValue LV = CGF.EmitLValueForFieldInitialization(SlotLV, *CurField); local
2060 CGF.EmitInitializerForField(*CurField, LV, *I, ArrayRef<VarDecl *>());
2148 LValue LV = MakeNaturalAlignAddrLValue(CapturedStmtInfo->getContextValue(), local
2150 LValue ThisLValue = EmitLValueForField(LV, FD);
/external/llvm/lib/CodeGen/
H A DPHIElimination.cpp52 LiveVariables *LV; member in class:__anon25782::PHIElimination
129 LV = getAnalysisIfAvailable<LiveVariables>();
139 if (!DisableEdgeSplitting && (LV || LIS)) {
269 if (LV) {
273 LiveVariables::VarInfo &VI = LV->getVarInfo(IncomingReg);
276 LV->setPHIJoin(IncomingReg);
284 LV->removeVirtualRegisterKilled(IncomingReg, OldKill);
292 LV->addVirtualRegisterKilled(IncomingReg, PHICopy);
298 LV->removeVirtualRegistersKilled(MPhi);
300 // If the result is dead, update LV
[all...]
H A DMachineBasicBlock.cpp726 LiveVariables *LV = P->getAnalysisIfAvailable<LiveVariables>(); local
730 if (LV)
741 LV->getVarInfo(Reg).removeKill(MI)) {
827 if (LV) {
835 LV->getVarInfo(Reg).Kills.push_back(I);
841 LV->addNewBlock(NMBB, this, Succ);
H A DTwoAddressInstructionPass.cpp76 LiveVariables *LV; member in class:__anon25830::TwoAddressInstructionPass
291 // Update kill and LV information.
296 if (LV)
297 LV->replaceKillInstruction(SavedReg, KillMI, MI);
626 MachineInstr *NewMI = TII->convertToThreeAddress(MFI, mi, LV);
748 // Bail immediately if we don't have LV or LIS available. We use them to find
750 if (!LV && !LIS)
773 KillMI = LV->getVarInfo(Reg).findKill(MBB);
904 LV->removeVirtualRegisterKilled(Reg, KillMI);
905 LV
[all...]
/external/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DProgramState.h217 ProgramStateRef killBinding(Loc LV) const;
281 SVal getSVal(Loc LV, QualType T = QualType()) const;
283 /// Returns the "raw" SVal bound to LV before any value simplfication.
284 SVal getRawSVal(Loc LV, QualType T= QualType()) const;
652 inline ProgramStateRef ProgramState::bindLoc(SVal LV, SVal V) const { argument
653 if (Optional<Loc> L = LV.getAs<Loc>())
711 inline SVal ProgramState::getRawSVal(Loc LV, QualType T) const { argument
712 return getStateManager().StoreMgr->getBinding(getStore(), LV, T);
/external/clang/lib/Analysis/
H A DLiveVariables.cpp196 LiveVariablesImpl &LV; member in class:__anon17780::TransferFunctions
205 : LV(im), val(Val), observer(Observer), currentBlock(CurrentBlock) {}
261 val.liveStmts = LV.SSetFact.remove(val.liveStmts, S);
278 AddLiveStmt(val.liveStmts, LV.SSetFact, ImplicitObj);
286 val.liveDecls = LV.DSetFact.add(val.liveDecls,
287 LV.analysisContext.getSelfDecl());
295 AddLiveStmt(val.liveStmts, LV.SSetFact, VA->getSizeExpr());
308 val.liveStmts = LV.SSetFact.add(val.liveStmts, child);
330 AddLiveStmt(val.liveStmts, LV.SSetFact, child);
336 if (!LV
[all...]
/external/clang/lib/StaticAnalyzer/Core/
H A DProgramState.cpp114 ProgramStateRef ProgramState::bindLoc(Loc LV, SVal V, bool notifyChanges) const { argument
117 LV, V));
118 const MemRegion *MR = LV.getAsRegion();
214 ProgramStateRef ProgramState::killBinding(Loc LV) const {
215 assert(!LV.getAs<loc::MemRegionVal>() && "Use invalidateRegion instead.");
219 getStateManager().StoreMgr->killBinding(OldStore, LV);
/external/llvm/lib/Analysis/
H A DLazyValueInfo.cpp352 OverDefinedCacheUpdater(Value *V, BasicBlock *B, LVILatticeVal &LV, argument
354 : Parent(P), Val(V), BB(B), BBLV(LV) { }
H A DScalarEvolution.cpp490 const Value *LV = LU->getValue(), *RV = RU->getValue(); local
494 bool LIsPointer = LV->getType()->isPointerTy(),
500 unsigned LID = LV->getValueID(),
506 if (const Argument *LA = dyn_cast<Argument>(LV)) {
514 if (const Instruction *LInst = dyn_cast<Instruction>(LV)) {
/external/llvm/lib/Target/SystemZ/
H A DSystemZInstrInfo.cpp661 LiveVariables *LV) {
662 if (LV) {
667 LV->replaceKillInstruction(Op.getReg(), OldMI, NewMI);
676 LiveVariables *LV) const {
714 return finishConvertToThreeAddress(MI, MIB, LV);
740 return finishConvertToThreeAddress(MI, MIB, LV);
659 finishConvertToThreeAddress(MachineInstr *OldMI, MachineInstr *NewMI, LiveVariables *LV) argument
/external/llvm/lib/Transforms/IPO/
H A DMergeFunctions.cpp580 const ConstantVector *LV = cast<ConstantVector>(L); local
587 if (int Res = cmpConstants(cast<Constant>(LV->getOperand(i)),
/external/llvm/lib/Transforms/Scalar/
H A DSCCP.cpp373 LatticeVal &LV = I.first->second; local
376 return LV; // Common case, already in the map.
381 LV.markConstant(C); // Constants are constant
385 return LV;
399 LatticeVal &LV = I.first->second; local
402 return LV; // Common case, already in the map.
408 LV.markOverdefined(); // Unknown sort of constant.
412 LV.markConstant(Elt); // Constants are constant.
416 return LV;
1268 LatticeVal &LV local
1275 LatticeVal &LV = getValueState(I); local
[all...]

Completed in 2442 milliseconds

12