/external/clang/lib/StaticAnalyzer/Checkers/ |
H A D | PointerArithChecker.cpp | 41 SVal LV = state->getSVal(B->getLHS(), LCtx); local 44 const MemRegion *LR = LV.getAsRegion();
|
H A D | PointerSubChecker.cpp | 44 SVal LV = state->getSVal(B->getLHS(), LCtx); local 47 const MemRegion *LR = LV.getAsRegion();
|
H A D | BasicObjCFoundationChecks.cpp | 470 Optional<loc::MemRegionVal> LV = TheValueExpr.getAs<loc::MemRegionVal>(); local 471 if (!LV) 474 const TypedValueRegion* R = dyn_cast<TypedValueRegion>(LV->stripCasts());
|
H A D | CStringChecker.cpp | 1100 DefinedOrUnknownSVal LV = local 1106 DefinedOrUnknownSVal SameBuf = svalBuilder.evalEQ(state, LV, RV); 1723 DefinedOrUnknownSVal LV = s1Val.castAs<DefinedOrUnknownSVal>(); 1728 DefinedOrUnknownSVal SameBuf = svalBuilder.evalEQ(state, LV, RV);
|
/external/clang/lib/AST/ |
H A D | APValue.cpp | 35 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 D | Stmt.cpp | 873 Decl *LV = cast<DeclStmt>(getLoopVarStmt())->getSingleDecl(); local 874 assert(LV && "No loop variable in CXXForRangeStmt"); 875 return cast<VarDecl>(LV);
|
/external/llvm/include/llvm/Analysis/ |
H A D | SparsePropagation.h | 84 virtual Constant *GetConstant(LatticeVal LV, Value *Val, SparseSolver &SS) { argument
|
/external/clang/lib/CodeGen/ |
H A D | CGObjCRuntime.cpp | 100 LValue LV = CGF.MakeNaturalAlignAddrLValue(V, IvarTy); local 101 LV.getQuals().addCVRQualifiers(CVRQualifiers); 102 return LV;
|
H A D | CGValue.h | 441 static AggValueSlot forLValue(const LValue &LV, argument 446 return forAddr(LV.getAddress(), LV.getAlignment(), 447 LV.getQuals(), isDestructed, needsGC, isAliased, isZeroed);
|
H A D | CGAtomic.cpp | 1166 bool CodeGenFunction::LValueIsSuitableForInlineAtomic(LValue LV) { argument 1167 AtomicInfo AI(*this, LV); 1168 bool IsVolatile = LV.isVolatile() || hasVolatileMember(LV.getType()); 1185 RValue CodeGenFunction::EmitAtomicLoad(LValue LV, SourceLocation SL, argument 1188 bool IsVolatile = LV.isVolatileQualified(); 1189 if (LV.getType()->isAtomicType()) { 1195 return EmitAtomicLoad(LV, SL, AO, IsVolatile, Slot);
|
H A D | CGCall.cpp | 730 QualType Ty, LValue LV, SmallVectorImpl<llvm::Argument *>::iterator &AI) { 731 assert(LV.isSimple() && 738 Builder.CreateConstGEP2_32(nullptr, LV.getAddress(), 0, i); 739 LValue LV = MakeAddrLValue(EltAddr, CAExp->EltTy); local 740 ExpandTypeFromArgs(CAExp->EltTy, LV, AI); 743 llvm::Value *This = LV.getAddress(); 756 LValue SubLV = EmitLValueForField(LV, FD); 761 Builder.CreateStructGEP(nullptr, LV.getAddress(), 0, "real"); 765 Builder.CreateStructGEP(nullptr, LV.getAddress(), 1, "imag"); 770 EmitStoreThroughLValue(RValue::get(*AI++), LV); 729 ExpandTypeFromArgs( QualType Ty, LValue LV, SmallVectorImpl<llvm::Argument *>::iterator &AI) argument 800 LValue LV = MakeAddrLValue(This, Ty); local [all...] |
H A D | CGExprAgg.cpp | 185 LValue LV = CGF.EmitPseudoObjectLValue(E); local 186 return EmitFinalDestCopy(E->getType(), LV); 212 LValue LV = CGF.EmitLValue(E); local 215 if (LV.getType()->isAtomicType() || CGF.LValueIsSuitableForInlineAtomic(LV)) { 216 CGF.EmitAtomicLoad(LV, E->getExprLoc(), Dest); 220 EmitFinalDestCopy(E->getType(), LV); 573 LValue LV = CGF.EmitCheckedLValue(E->getSubExpr(), local 576 if (LV.isSimple()) 577 CGF.EmitDynamicCast(LV 777 LValue LV = CGF.EmitPointerToDataMemberBinaryExpr(E); local 1044 EmitInitializationToLValue(Expr *E, LValue LV) argument 1073 CGF.EmitStoreThroughLValue(RValue::get(CGF.EmitScalarExpr(E)), LV); local 1224 LValue LV = CGF.EmitLValueForFieldInitialization(DestLV, field); local 1398 LValue LV = MakeAddrLValue(Temp, E->getType()); local [all...] |
H A D | CGExprCXX.cpp | 1830 LValue LV = EmitLValueForFieldInitialization(SlotLV, *CurField); local 1833 EmitStoreThroughLValue(RValue::get(VLASizeMap[VAT->getSizeExpr()]), LV); local 1838 EmitInitializerForField(*CurField, LV, *i, ArrayIndexes);
|
H A D | CGExprComplex.cpp | 80 ComplexPairTy EmitLoadOfLValue(LValue LV, SourceLocation Loc); 84 void EmitStoreOfComplex(ComplexPairTy Val, LValue LV, bool isInit); 165 LValue LV = CGF.EmitLValue(E->getSubExpr()); local 166 return CGF.EmitComplexPrePostIncDec(E, LV, isInc, isPre); 888 LValue LV = EmitCompoundAssignLValue(E, Func, Val); local 895 if (!LV.isVolatileQualified()) 898 return EmitLoadOfLValue(LV, E->getExprLoc()); 923 LValue LV = EmitBinAssignLValue(E, Val); local 930 if (!LV.isVolatileQualified()) 933 return EmitLoadOfLValue(LV, [all...] |
H A D | CGStmt.cpp | 2133 LValue LV = EmitLValueForFieldInitialization(SlotLV, *CurField); local 2136 EmitStoreThroughLValue(RValue::get(VLASizeMap[VAT->getSizeExpr()]), LV); local 2138 EmitInitializerForField(*CurField, LV, *I, None);
|
/external/llvm/lib/CodeGen/ |
H A D | PHIElimination.cpp | 57 LiveVariables *LV; member in class:__anon10456::PHIElimination 134 LV = getAnalysisIfAvailable<LiveVariables>(); 144 if (!DisableEdgeSplitting && (LV || LIS)) { 272 if (LV) { 276 LiveVariables::VarInfo &VI = LV->getVarInfo(IncomingReg); 279 LV->setPHIJoin(IncomingReg); 287 LV->removeVirtualRegisterKilled(IncomingReg, OldKill); 295 LV->addVirtualRegisterKilled(IncomingReg, PHICopy); 301 LV->removeVirtualRegistersKilled(MPhi); 303 // If the result is dead, update LV [all...] |
H A D | MachineBasicBlock.cpp | 717 LiveVariables *LV = P->getAnalysisIfAvailable<LiveVariables>(); local 721 if (LV) 732 LV->getVarInfo(Reg).removeKill(MI)) { 819 if (LV) { 827 LV->getVarInfo(Reg).Kills.push_back(I); 833 LV->addNewBlock(NMBB, this, Succ);
|
H A D | TwoAddressInstructionPass.cpp | 78 LiveVariables *LV; member in class:__anon10509::TwoAddressInstructionPass 295 // Update kill and LV information. 300 if (LV) 301 LV->replaceKillInstruction(SavedReg, KillMI, MI); 701 MachineInstr *NewMI = TII->convertToThreeAddress(MFI, mi, LV); 823 // Bail immediately if we don't have LV or LIS available. We use them to find 825 if (!LV && !LIS) 848 KillMI = LV->getVarInfo(Reg).findKill(MBB); 979 LV->removeVirtualRegisterKilled(Reg, KillMI); 980 LV [all...] |
/external/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ |
H A D | ProgramState.h | 218 ProgramStateRef killBinding(Loc LV) const; 282 SVal getSVal(Loc LV, QualType T = QualType()) const; 284 /// Returns the "raw" SVal bound to LV before any value simplfication. 285 SVal getRawSVal(Loc LV, QualType T= QualType()) const; 653 inline ProgramStateRef ProgramState::bindLoc(SVal LV, SVal V) const { argument 654 if (Optional<Loc> L = LV.getAs<Loc>()) 712 inline SVal ProgramState::getRawSVal(Loc LV, QualType T) const { argument 713 return getStateManager().StoreMgr->getBinding(getStore(), LV, T);
|
/external/clang/lib/Analysis/ |
H A D | LiveVariables.cpp | 195 LiveVariablesImpl &LV; member in class:__anon900::TransferFunctions 204 : LV(im), val(Val), observer(Observer), currentBlock(CurrentBlock) {} 260 val.liveStmts = LV.SSetFact.remove(val.liveStmts, S); 277 AddLiveStmt(val.liveStmts, LV.SSetFact, ImplicitObj); 285 val.liveDecls = LV.DSetFact.add(val.liveDecls, 286 LV.analysisContext.getSelfDecl()); 294 AddLiveStmt(val.liveStmts, LV.SSetFact, VA->getSizeExpr()); 307 val.liveStmts = LV.SSetFact.add(val.liveStmts, child); 329 AddLiveStmt(val.liveStmts, LV.SSetFact, child); 335 if (!LV [all...] |
/external/clang/lib/StaticAnalyzer/Core/ |
H A D | ProgramState.cpp | 114 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/Target/SystemZ/ |
H A D | SystemZInstrInfo.cpp | 661 LiveVariables *LV) { 662 if (LV) { 667 LV->replaceKillInstruction(Op.getReg(), OldMI, NewMI); 676 LiveVariables *LV) const { 714 return finishConvertToThreeAddress(MI, MIB, LV); 743 return finishConvertToThreeAddress(MI, MIB, LV); 659 finishConvertToThreeAddress(MachineInstr *OldMI, MachineInstr *NewMI, LiveVariables *LV) argument
|
/external/llvm/lib/Transforms/IPO/ |
H A D | MergeFunctions.cpp | 575 const ConstantVector *LV = cast<ConstantVector>(L); local 582 if (int Res = cmpConstants(cast<Constant>(LV->getOperand(i)),
|
/external/llvm/lib/Transforms/Scalar/ |
H A D | SCCP.cpp | 374 LatticeVal &LV = I.first->second; local 377 return LV; // Common case, already in the map. 382 LV.markConstant(C); // Constants are constant 386 return LV; 400 LatticeVal &LV = I.first->second; local 403 return LV; // Common case, already in the map. 409 LV.markOverdefined(); // Unknown sort of constant. 413 LV.markConstant(Elt); // Constants are constant. 417 return LV; 1273 LatticeVal &LV local 1280 LatticeVal &LV = getValueState(I); local [all...] |
/external/llvm/lib/Analysis/ |
H A D | ScalarEvolution.cpp | 494 const Value *LV = LU->getValue(), *RV = RU->getValue(); local 498 bool LIsPointer = LV->getType()->isPointerTy(), 504 unsigned LID = LV->getValueID(), 510 if (const Argument *LA = dyn_cast<Argument>(LV)) { 518 if (const Instruction *LInst = dyn_cast<Instruction>(LV)) {
|