Searched refs:LV (Results 1 - 25 of 56) sorted by relevance

123

/freebsd-9.3-release/contrib/llvm/tools/clang/lib/Analysis/
H A DLiveVariables.cpp210 LiveVariablesImpl &LV; member in class:__anon3045::TransferFunctions
219 : LV(im), val(Val), observer(Observer), currentBlock(CurrentBlock) {}
275 val.liveStmts = LV.SSetFact.remove(val.liveStmts, S);
292 AddLiveStmt(val.liveStmts, LV.SSetFact, ImplicitObj);
300 val.liveDecls = LV.DSetFact.add(val.liveDecls,
301 LV.analysisContext.getSelfDecl());
309 AddLiveStmt(val.liveStmts, LV.SSetFact, VA->getSizeExpr());
322 val.liveStmts = LV.SSetFact.add(val.liveStmts, child);
344 AddLiveStmt(val.liveStmts, LV.SSetFact, child);
350 if (!LV
[all...]
/freebsd-9.3-release/contrib/llvm/tools/clang/lib/CodeGen/
H A DCGExpr.cpp166 LValue LV = MakeAddrLValue(Location, E->getType()); local
167 EmitStoreThroughLValue(RV, LV);
381 LValue LV = MakeAddrLValue(Object, E->getType()); local
382 LV = EmitLValueForField(LV, Adjustment.Field);
383 assert(LV.isSimple() &&
385 Object = LV.getAddress();
404 LValue LV = EmitLValue(E); local
405 assert(LV.isSimple());
406 llvm::Value *Value = LV
668 EmitComplexPrePostIncDec(const UnaryOperator *E, LValue LV, bool isInc, bool isPre) argument
745 LValue LV; local
1245 EmitLoadOfLValue(LValue LV, SourceLocation Loc) argument
1282 EmitLoadOfBitfieldLValue(LValue LV) argument
1315 EmitLoadOfExtVectorElementLValue(LValue LV) argument
1586 setObjCGCLValueClass(const ASTContext &Ctx, const Expr *E, LValue &LV, bool IsMemberAccess=false) argument
1698 LValue LV; local
1733 LValue LV = CGF.MakeNaturalAlignAddrLValue(ThisValue, TagType); local
1805 LValue LV; local
1829 setObjCGCLValueClass(getContext(), E, LV); local
1851 LValue LV = MakeNaturalAlignAddrLValue(EmitScalarExpr(E->getSubExpr()), T); local
1866 LValue LV = EmitLValue(E->getSubExpr()); local
1888 LValue LV = EmitLValue(E->getSubExpr()); local
2348 LValue LV; local
2362 setObjCGCLValueClass(getContext(), E, LV); local
2446 LValue LV = EmitLValueForField(BaseLV, Field); local
2447 setObjCGCLValueClass(getContext(), E, LV); local
2558 LValue LV = MakeAddrLValue(addr, type, alignment); local
2761 LValue LV = EmitLValue(E->getSubExpr()); local
2782 LValue LV = EmitLValue(E->getSubExpr()); local
2800 LValue LV = EmitLValue(E->getSubExpr()); local
2820 LValue LV = EmitLValue(E->getSubExpr()); local
2826 LValue LV = EmitLValue(E->getSubExpr()); local
2844 EmitRValueForField(LValue LV, const FieldDecl *FD, SourceLocation Loc) argument
2988 LValue LV = EmitCheckedLValue(E->getLHS(), TCK_Store); local
3108 LValue LV = local
3111 setObjCGCLValueClass(getContext(), E, LV); local
3270 LValue LV; member in struct:__anon3086::LValueOrRValue
3301 LValue LV = CGF.MakeAddrLValue(slot.getAddr(), ov->getType()); local
[all...]
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);
551 LValue LV = CGF.EmitCheckedLValue(E->getSubExpr(), local
554 if (LV.isSimple())
555 CGF.EmitDynamicCast(LV.getAddress(), cast<CXXDynamicCastExpr>(E));
754 LValue LV local
1013 EmitInitializationToLValue(Expr *E, LValue LV) argument
1042 CGF.EmitStoreThroughLValue(RValue::get(CGF.EmitScalarExpr(E)), LV); local
1187 LValue LV = CGF.EmitLValueForFieldInitialization(DestLV, *field); local
1361 LValue LV = MakeAddrLValue(Temp, E->getType()); local
[all...]
H A DCGValue.h424 static AggValueSlot forLValue(const LValue &LV, argument
429 return forAddr(LV.getAddress(), LV.getAlignment(),
430 LV.getQuals(), isDestructed, needsGC, isAliased, isZeroed);
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);
690 LValue LV = EmitCompoundAssignLValue(E, Func, Val); local
697 if (!LV.isVolatileQualified())
700 return EmitLoadOfLValue(LV, E->getExprLoc());
725 LValue LV = EmitBinAssignLValue(E, Val); local
732 if (!LV.isVolatileQualified())
735 return EmitLoadOfLValue(LV,
[all...]
H A DCGExprScalar.cpp90 Value *EmitLoadOfLValue(LValue LV, SourceLocation Loc) { argument
91 return CGF.EmitLoadOfLValue(LV, Loc).getScalarVal();
255 LValue LV = CGF.EmitObjCIsaExpr(E); local
256 Value *V = CGF.EmitLoadOfLValue(LV, E->getExprLoc()).getScalarVal();
292 LValue LV = EmitLValue(E->getSubExpr()); local
293 return EmitScalarPrePostIncDec(E, LV, false, false);
296 LValue LV = EmitLValue(E->getSubExpr()); local
297 return EmitScalarPrePostIncDec(E, LV, true, false);
300 LValue LV = EmitLValue(E->getSubExpr()); local
301 return EmitScalarPrePostIncDec(E, LV, fals
304 LValue LV = EmitLValue(E->getSubExpr()); local
1536 EmitScalarPrePostIncDec(const UnaryOperator *E, LValue LV, bool isInc, bool isPre) argument
1741 CGF.EmitStoreThroughBitfieldLValue(RValue::get(value), LV, &value); local
1743 CGF.EmitStoreThroughLValue(RValue::get(value), LV); local
3279 EmitScalarPrePostIncDec(const UnaryOperator *E, LValue LV, bool isInc, bool isPre) argument
[all...]
H A DCGObjCRuntime.cpp100 LValue LV = CGF.MakeNaturalAlignAddrLValue(V, IvarTy); local
101 LV.getQuals().addCVRQualifiers(CVRQualifiers);
102 return LV;
/freebsd-9.3-release/contrib/llvm/tools/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();
/freebsd-9.3-release/contrib/llvm/lib/CodeGen/
H A DPHIElimination.cpp51 LiveVariables *LV; member in class:__anon2160::PHIElimination
128 LV = getAnalysisIfAvailable<LiveVariables>();
138 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 DTwoAddressInstructionPass.cpp75 LiveVariables *LV; member in class:__anon2207::TwoAddressInstructionPass
290 // Update kill and LV information.
295 if (LV)
296 LV->replaceKillInstruction(SavedReg, KillMI, MI);
627 MachineInstr *NewMI = TII->convertToThreeAddress(MFI, mi, LV);
749 // Bail immediately if we don't have LV or LIS available. We use them to find
751 if (!LV && !LIS)
774 KillMI = LV->getVarInfo(Reg).findKill(MBB);
905 LV->removeVirtualRegisterKilled(Reg, KillMI);
906 LV
[all...]
H A DMachineBasicBlock.cpp715 LiveVariables *LV = P->getAnalysisIfAvailable<LiveVariables>(); local
719 if (LV)
730 LV->getVarInfo(Reg).removeKill(MI)) {
816 if (LV) {
824 LV->getVarInfo(Reg).Kills.push_back(I);
830 LV->addNewBlock(NMBB, this, Succ);
/freebsd-9.3-release/contrib/llvm/tools/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)->~LV();
242 return reinterpret_cast<const LV *>(Data)->hasPathPtr();
549 return ((const LV*)(const void*)Data)->BaseAndIsOnePastTheEnd.getPointer();
554 return ((const LV*)(const void*)Data)->BaseAndIsOnePastTheEnd.getInt();
559 return ((LV*)(void*)Data)->Offset;
564 return ((const LV*)(cons
[all...]
H A DDecl.cpp94 /// Kinds of LV computation. The linkage side of the computation is
98 /// Do an LV computation for, ultimately, a type.
103 /// Do an LV computation for, ultimately, a non-type declaration.
108 /// Do an LV computation for, ultimately, a type that already has
113 /// Do an LV computation for, ultimately, a non-type declaration
118 /// Do an LV computation when we only care about the linkage.
236 LinkageInfo LV; local
254 LV.merge(getLVForType(*NTTP->getType(), computation));
263 LV.merge(type->getLinkageAndVisibility());
274 LV
313 LinkageInfo LV; local
381 mergeTemplateLV(LinkageInfo &LV, const FunctionDecl *fn, const FunctionTemplateSpecializationInfo *specInfo, LVComputationKind computation) argument
458 mergeTemplateLV(LinkageInfo &LV, const ClassTemplateSpecializationDecl *spec, LVComputationKind computation) argument
597 LinkageInfo LV; local
[all...]
H A DExprConstant.cpp2923 /// \param LV - An lvalue referring to the base of the member pointer.
2932 LValue &LV,
2948 // This is a member of some derived class. Truncate LV appropriately.
2951 if (LV.Designator.MostDerivedPathLength + MemPtr.Path.size() >
2952 LV.Designator.Entries.size()) {
2957 LV.Designator.Entries.size() - MemPtr.Path.size();
2960 LV.Designator.Entries[PathLengthToMember + I]);
2969 if (!CastToDerivedClass(Info, RHS, LV, MemPtr.getContainingRecord(),
2974 LV.Designator.Entries.reserve(LV
[all...]
/freebsd-9.3-release/contrib/llvm/lib/Analysis/
H A DSparsePropagation.cpp56 LatticeVal LV;
60 LV = LatticeFunc->ComputeConstant(C);
62 LV = LatticeFunc->ComputeArgument(A);
65 LV = LatticeFunc->getOverdefinedVal();
68 LV = LatticeFunc->getUndefVal();
71 if (LV == LatticeFunc->getUntrackedVal())
72 return LV;
73 return ValueState[V] = LV;
/freebsd-9.3-release/contrib/llvm/tools/clang/lib/StaticAnalyzer/Core/
H A DSimpleConstraintManager.cpp72 if (Optional<Loc> LV = Cond.getAs<Loc>()) {
75 const MemRegion *MR = LV->getAsRegion();
81 Cond = SVB.evalCast(*LV, SVB.getContext().BoolTy, T).castAs<DefinedSVal>();
H A DSValBuilder.cpp342 if (Optional<Loc> LV = lhs.getAs<Loc>()) {
344 return evalBinOpLL(state, op, *LV, *RV, type);
346 return evalBinOpLN(state, op, *LV, rhs.castAs<NonLoc>(), type);
440 if (Optional<nonloc::LocAsInteger> LV = val.getAs<nonloc::LocAsInteger>()) {
441 if (const MemRegion *R = LV->getLoc().getAsRegion()) {
446 return LV->getLoc();
H A DSVals.cpp179 if (Optional<loc::ConcreteInt> LV = getAs<loc::ConcreteInt>())
180 return LV->getValue() == I;
H A DProgramState.cpp114 ProgramStateRef ProgramState::bindLoc(Loc LV, SVal V, bool notifyChanges) const { argument
117 LV, V));
118 const MemRegion *MR = LV.getAsRegion();
215 ProgramStateRef ProgramState::killBinding(Loc LV) const {
216 assert(!LV.getAs<loc::MemRegionVal>() && "Use invalidateRegion instead.");
220 getStateManager().StoreMgr->killBinding(OldStore, LV);
/freebsd-9.3-release/contrib/llvm/lib/Transforms/Scalar/
H A DSCCP.cpp372 LatticeVal &LV = I.first->second; local
375 return LV; // Common case, already in the map.
380 LV.markConstant(C); // Constants are constant
384 return LV;
398 LatticeVal &LV = I.first->second; local
401 return LV; // Common case, already in the map.
407 LV.markOverdefined(); // Unknown sort of constant.
411 LV.markConstant(Elt); // Constants are constant.
415 return LV;
1268 LatticeVal &LV local
1275 LatticeVal &LV = getValueState(I); local
[all...]
/freebsd-9.3-release/contrib/llvm/tools/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>())
713 inline SVal ProgramState::getRawSVal(Loc LV, QualType T) const { argument
714 return getStateManager().StoreMgr->getBinding(getStore(), LV, T);
/freebsd-9.3-release/contrib/llvm/include/llvm/Analysis/
H A DSparsePropagation.h84 virtual Constant *GetConstant(LatticeVal LV, Value *Val, SparseSolver &SS) { argument
/freebsd-9.3-release/contrib/llvm/lib/Target/X86/
H A DX86InstrInfo.h222 LiveVariables *LV) const;
423 LiveVariables *LV) const;
/freebsd-9.3-release/contrib/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

Completed in 398 milliseconds

123