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

123

/freebsd-11.0-release/contrib/llvm/tools/clang/lib/Analysis/
H A DLiveVariables.cpp195 LiveVariablesImpl &LV; member in class:__anon3721::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);
328 AddLiveStmt(val.liveStmts, LV.SSetFact, Child);
334 if (!LV
[all...]
/freebsd-11.0-release/contrib/llvm/tools/clang/lib/CodeGen/
H A DCGExpr.cpp189 LValue LV = MakeAddrLValue(Location, E->getType()); local
190 EmitStoreThroughLValue(RV, LV);
438 LValue LV = MakeAddrLValue(Object, E->getType(), local
440 LV = EmitLValueForField(LV, Adjustment.Field);
441 assert(LV.isSimple() &&
443 Object = LV.getAddress();
462 LValue LV = EmitLValue(E); local
463 assert(LV.isSimple());
464 llvm::Value *Value = LV
747 EmitComplexPrePostIncDec(const UnaryOperator *E, LValue LV, bool isInc, bool isPre) argument
864 LValue LV = EmitLValue(UO->getSubExpr()); local
918 LValue LV; local
1415 EmitLoadOfLValue(LValue LV, SourceLocation Loc) argument
1461 EmitLoadOfBitfieldLValue(LValue LV) argument
1492 EmitLoadOfExtVectorElementLValue(LValue LV) argument
1521 EmitExtVectorElementLValue(LValue LV) argument
1543 EmitLoadOfGlobalRegLValue(LValue LV) argument
1821 setObjCGCLValueClass(const ASTContext &Ctx, const Expr *E, LValue &LV, bool IsMemberAccess=false) argument
1964 LValue LV; local
2001 LValue LV = CGF.MakeNaturalAlignAddrLValue(ThisValue, TagType); local
2142 LValue LV; local
2163 setObjCGCLValueClass(getContext(), E, LV); local
2187 LValue LV = MakeAddrLValue(Addr, T, AlignSource); local
2202 LValue LV = EmitLValue(E->getSubExpr()); local
2223 LValue LV = EmitLValue(E->getSubExpr()); local
2600 LValue LV = EmitLValue(E); local
2730 LValue LV = EmitLValue(E->getBase()); local
2818 LValue LV = MakeAddrLValue(Addr, E->getType(), AlignSource); local
2825 setObjCGCLValueClass(getContext(), E, LV); local
2968 LValue LV = MakeAddrLValue(Address(EltPtr, EltAlign), ResultExprTy, local
3049 LValue LV = EmitLValueForField(BaseLV, Field); local
3050 setObjCGCLValueClass(getContext(), E, LV); local
3186 LValue LV = MakeAddrLValue(addr, type, fieldAlignSource); local
3409 LValue LV = EmitLValue(E->getSubExpr()); local
3429 LValue LV = EmitLValue(E->getSubExpr()); local
3445 LValue LV = EmitLValue(E->getSubExpr()); local
3471 LValue LV = EmitLValue(E->getSubExpr()); local
3483 LValue LV = EmitLValue(E->getSubExpr()); local
3500 EmitRValueForField(LValue LV, const FieldDecl *FD, SourceLocation Loc) argument
3632 LValue LV = EmitCheckedLValue(E->getLHS(), TCK_Store); local
3757 LValue LV = local
3760 setObjCGCLValueClass(getContext(), E, LV); local
3968 LValue LV; member in struct:__anon3783::LValueOrRValue
3999 LValue LV = CGF.MakeAddrLValue(slot.getAddress(), ov->getType(), local
[all...]
H A DCGExprAgg.cpp188 LValue LV = CGF.EmitPseudoObjectLValue(E); local
189 return EmitFinalDestCopy(E->getType(), LV);
216 LValue LV = CGF.EmitLValue(E); local
219 if (LV.getType()->isAtomicType() || CGF.LValueIsSuitableForInlineAtomic(LV)) {
220 CGF.EmitAtomicLoad(LV, E->getExprLoc(), Dest);
224 EmitFinalDestCopy(E->getType(), LV);
581 LValue LV = CGF.EmitCheckedLValue(E->getSubExpr(), local
584 if (LV.isSimple())
585 CGF.EmitDynamicCast(LV
790 LValue LV = CGF.EmitPointerToDataMemberBinaryExpr(E); local
1057 EmitInitializationToLValue(Expr *E, LValue LV) argument
1089 CGF.EmitStoreThroughLValue(RValue::get(CGF.EmitScalarExpr(E)), LV); local
1235 LValue LV = CGF.EmitLValueForFieldInitialization(DestLV, field); local
1416 LValue LV = MakeAddrLValue(Temp, E->getType()); local
[all...]
H A DCGExprComplex.cpp80 ComplexPairTy EmitLoadOfLValue(LValue LV, SourceLocation Loc);
84 void EmitStoreOfComplex(ComplexPairTy Val, LValue LV, bool isInit);
167 LValue LV = CGF.EmitLValue(E->getSubExpr()); local
168 return CGF.EmitComplexPrePostIncDec(E, LV, isInc, isPre);
897 LValue LV = EmitCompoundAssignLValue(E, Func, Val); local
904 if (!LV.isVolatileQualified())
907 return EmitLoadOfLValue(LV, E->getExprLoc());
932 LValue LV = EmitBinAssignLValue(E, Val); local
939 if (!LV.isVolatileQualified())
942 return EmitLoadOfLValue(LV,
[all...]
H A DCGObjCRuntime.cpp100 LValue LV = CGF.MakeNaturalAlignAddrLValue(V, IvarTy); local
101 LV.getQuals().addCVRQualifiers(CVRQualifiers);
102 return LV;
H A DCGValue.h524 static AggValueSlot forLValue(const LValue &LV, argument
529 return forAddr(LV.getAddress(),
530 LV.getQuals(), isDestructed, needsGC, isAliased, isZeroed);
/freebsd-11.0-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-11.0-release/contrib/llvm/lib/Target/Hexagon/
H A DRDFDeadCode.h38 : Trace(false), DFG(dfg), MRI(mri), LV(mri, dfg) {}
56 Liveness LV; member in struct:rdf::DeadCodeElimination
H A DHexagonRDFOpt.cpp255 Liveness LV(*MRI, G);
256 LV.trace(RDFDump);
257 LV.computeLiveIns();
258 LV.resetLiveIns();
259 LV.resetKills();
/freebsd-11.0-release/contrib/llvm/lib/Target/AMDGPU/
H A DSIFixSGPRLiveRanges.cpp121 LiveVariables *LV = &getAnalysis<LiveVariables>(); local
143 if (LV->isLiveOut(Def, *MBB))
178 bool LiveInToA = LV->isLiveIn(Reg, *SuccA);
179 bool LiveInToB = LV->isLiveIn(Reg, *SuccB);
212 LV->HandleVirtRegUse(Reg, NCD, NCDSGPRUse);
/freebsd-11.0-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.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 DStmtCXX.cpp79 Decl *LV = cast<DeclStmt>(getLoopVarStmt())->getSingleDecl(); local
80 assert(LV && "No loop variable in CXXForRangeStmt");
81 return cast<VarDecl>(LV);
H A DDecl.cpp106 /// Kinds of LV computation. The linkage side of the computation is
110 /// Do an LV computation for, ultimately, a type.
115 /// Do an LV computation for, ultimately, a non-type declaration.
120 /// Do an LV computation for, ultimately, a type that already has
125 /// Do an LV computation for, ultimately, a non-type declaration
130 /// Do an LV computation when we only care about the linkage.
244 LinkageInfo LV; local
259 LV.merge(getLVForType(*NTTP->getType(), computation));
268 LV.merge(type->getLinkageAndVisibility());
279 LV
317 LinkageInfo LV; local
384 mergeTemplateLV(LinkageInfo &LV, const FunctionDecl *fn, const FunctionTemplateSpecializationInfo *specInfo, LVComputationKind computation) argument
461 mergeTemplateLV(LinkageInfo &LV, const ClassTemplateSpecializationDecl *spec, LVComputationKind computation) argument
513 mergeTemplateLV(LinkageInfo &LV, const VarTemplateSpecializationDecl *spec, LVComputationKind computation) argument
651 LinkageInfo LV; local
[all...]
H A DExprConstant.cpp3138 /// \param LV - An lvalue referring to the base of the member pointer.
3147 LValue &LV,
3163 // This is a member of some derived class. Truncate LV appropriately.
3166 if (LV.Designator.MostDerivedPathLength + MemPtr.Path.size() >
3167 LV.Designator.Entries.size()) {
3172 LV.Designator.Entries.size() - MemPtr.Path.size();
3175 LV.Designator.Entries[PathLengthToMember + I]);
3184 if (!CastToDerivedClass(Info, RHS, LV, MemPtr.getContainingRecord(),
3189 LV.Designator.Entries.reserve(LV
3145 HandleMemberPointerAccess(EvalInfo &Info, QualType LVType, LValue &LV, const Expr *RHS, bool IncludeMember = true) argument
3227 HandleMemberPointerAccess(EvalInfo &Info, const BinaryOperator *BO, LValue &LV, bool IncludeMember = true) argument
5860 LValue LV; local
6247 EvaluateBuiltinConstantPForLValue(const LValue &LV) argument
6283 LValue LV; local
6848 isOnePastTheEndOfCompleteObject(const ASTContext &Ctx, const LValue &LV) argument
7202 LValue LV; local
7819 LValue LV; local
7865 ComplexValue LV; local
7878 ComplexValue LV; local
8706 LValue LV; local
8717 LValue LV; local
8738 LValue LV; local
8745 LValue LV; local
8807 LValue LV; local
8891 LValue LV; local
[all...]
/freebsd-11.0-release/contrib/llvm/lib/CodeGen/
H A DPHIElimination.cpp57 LiveVariables *LV; member in class:__anon2502::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 DTwoAddressInstructionPass.cpp78 LiveVariables *LV; member in class:__anon2555::TwoAddressInstructionPass
294 // Update kill and LV information.
299 if (LV)
300 LV->replaceKillInstruction(SavedReg, KillMI, MI);
698 MachineInstr *NewMI = TII->convertToThreeAddress(MFI, mi, LV);
821 // Bail immediately if we don't have LV or LIS available. We use them to find
823 if (!LV && !LIS)
846 KillMI = LV->getVarInfo(Reg).findKill(MBB);
975 LV->removeVirtualRegisterKilled(Reg, KillMI);
976 LV
[all...]
/freebsd-11.0-release/contrib/llvm/lib/Analysis/
H A DSparsePropagation.cpp57 LatticeVal LV;
61 LV = LatticeFunc->ComputeConstant(C);
63 LV = LatticeFunc->ComputeArgument(A);
66 LV = LatticeFunc->getOverdefinedVal();
69 LV = LatticeFunc->getUndefVal();
72 if (LV == LatticeFunc->getUntrackedVal())
73 return LV;
74 return ValueState[V] = LV;
/freebsd-11.0-release/contrib/llvm/tools/clang/lib/StaticAnalyzer/Core/
H A DSValBuilder.cpp370 if (Optional<Loc> LV = lhs.getAs<Loc>()) {
372 return evalBinOpLL(state, op, *LV, *RV, type);
374 return evalBinOpLN(state, op, *LV, rhs.castAs<NonLoc>(), type);
507 if (Optional<nonloc::LocAsInteger> LV = val.getAs<nonloc::LocAsInteger>()) {
508 if (const MemRegion *R = LV->getLoc().getAsRegion()) {
513 return LV->getLoc();
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 DSVals.cpp179 if (Optional<loc::ConcreteInt> LV = getAs<loc::ConcreteInt>())
180 return LV->getValue() == I;
/freebsd-11.0-release/contrib/llvm/lib/Transforms/Scalar/
H A DLoopLoadElimination.cpp471 LoopVersioning LV(LAI, L, LI, DT, PSE.getSE(), false);
472 LV.setAliasChecks(std::move(Checks));
473 LV.setSCEVChecks(LAI.PSE.getUnionPredicate());
474 LV.versionLoop();
H A DSCCP.cpp375 LatticeVal &LV = I.first->second; local
378 return LV; // Common case, already in the map.
383 LV.markConstant(C); // Constants are constant
387 return LV;
401 LatticeVal &LV = I.first->second; local
404 return LV; // Common case, already in the map.
410 LV.markOverdefined(); // Unknown sort of constant.
414 LV.markConstant(Elt); // Constants are constant.
418 return LV;
1303 LatticeVal &LV local
1310 LatticeVal &LV = getValueState(&I); local
[all...]
/freebsd-11.0-release/contrib/llvm/tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DProgramState.h239 ProgramStateRef killBinding(Loc LV) const;
303 SVal getSVal(Loc LV, QualType T = QualType()) const;
305 /// Returns the "raw" SVal bound to LV before any value simplfication.
306 SVal getRawSVal(Loc LV, QualType T= QualType()) const;
687 inline ProgramStateRef ProgramState::bindLoc(SVal LV, SVal V) const { argument
688 if (Optional<Loc> L = LV.getAs<Loc>())
746 inline SVal ProgramState::getRawSVal(Loc LV, QualType T) const { argument
747 return getStateManager().StoreMgr->getBinding(getStore(), LV, T);
/freebsd-11.0-release/contrib/llvm/include/llvm/Analysis/
H A DSparsePropagation.h82 virtual Constant *GetConstant(LatticeVal LV, Value *Val, SparseSolver &SS) { argument

Completed in 398 milliseconds

123