/external/clang/lib/CodeGen/ |
D | CGAtomic.cpp | 40 LValue LVal; member in __anona93f836e0111::AtomicInfo 74 LVal = lvalue; in AtomicInfo() 97 LVal = LValue::MakeBitfield(Address(Addr, lvalue.getAlignment()), in AtomicInfo() 100 LVal.setTBAAInfo(lvalue.getTBAAInfo()); in AtomicInfo() 116 LVal = lvalue; in AtomicInfo() 126 LVal = lvalue; in AtomicInfo() 140 const LValue &getAtomicLValue() const { return LVal; } in getAtomicLValue() 142 if (LVal.isSimple()) in getAtomicPointer() 143 return LVal.getPointer(); in getAtomicPointer() 144 else if (LVal.isBitField()) in getAtomicPointer() [all …]
|
D | CGStmtOpenMP.cpp | 2147 auto LVal = CGF.MakeAddrLValue(CGF.CreateMemTemp(Ty, Name), Ty); in createSectionLVal() local 2149 CGF.EmitScalarInit(Init, LVal); in createSectionLVal() 2150 return LVal; in createSectionLVal() 2820 LValue LVal, RValue RVal) { in emitSimpleAtomicStore() argument 2821 if (LVal.isGlobalReg()) { in emitSimpleAtomicStore() 2822 CGF.EmitStoreThroughGlobalRegLValue(RVal, LVal); in emitSimpleAtomicStore() 2824 CGF.EmitAtomicStore(RVal, LVal, in emitSimpleAtomicStore() 2827 LVal.isVolatile(), /*IsInit=*/false); in emitSimpleAtomicStore() 2831 void CodeGenFunction::emitOMPSimpleStore(LValue LVal, RValue RVal, in emitOMPSimpleStore() argument 2833 switch (getEvaluationKind(LVal.getType())) { in emitOMPSimpleStore() [all …]
|
D | CodeGenFunction.h | 2345 void emitOMPSimpleStore(LValue LVal, RValue RVal, QualType RValTy, 2636 void EmitAtomicUpdate(LValue LVal, llvm::AtomicOrdering AO,
|
/external/clang/lib/AST/ |
D | APValue.cpp | 575 const LV &LVal = *((const LV*)(const char*)Data.buffer); in getLValuePath() local 576 return llvm::makeArrayRef(LVal.getPath(), LVal.PathLength); in getLValuePath() 587 LV &LVal = *((LV*)(char*)Data.buffer); in setLValue() local 588 LVal.BaseAndIsOnePastTheEnd.setPointer(B); in setLValue() 589 LVal.BaseAndIsOnePastTheEnd.setInt(false); in setLValue() 590 LVal.Offset = O; in setLValue() 591 LVal.CallIndex = CallIndex; in setLValue() 592 LVal.resizePath((unsigned)-1); in setLValue() 599 LV &LVal = *((LV*)(char*)Data.buffer); in setLValue() local 600 LVal.BaseAndIsOnePastTheEnd.setPointer(B); in setLValue() [all …]
|
D | ExprConstant.cpp | 1402 QualType Type, const LValue &LVal) { in CheckLValueConstantExpression() argument 1405 APValue::LValueBase Base = LVal.getLValueBase(); in CheckLValueConstantExpression() 1406 const SubobjectDesignator &Designator = LVal.getLValueDesignator(); in CheckLValueConstantExpression() 1425 LVal.getLValueCallIndex() == 0) && in CheckLValueConstantExpression() 1555 LValue LVal; in CheckConstantExpression() local 1556 LVal.setFrom(Info.Ctx, Value); in CheckConstantExpression() 1557 return CheckLValueConstantExpression(Info, DiagLoc, Type, LVal); in CheckConstantExpression() 1564 static const ValueDecl *GetLValueBaseDecl(const LValue &LVal) { in GetLValueBaseDecl() argument 1565 return LVal.Base.dyn_cast<const ValueDecl*>(); in GetLValueBaseDecl() 2013 static bool HandleLValueMember(EvalInfo &Info, const Expr *E, LValue &LVal, in HandleLValueMember() argument [all …]
|
/external/llvm-project/clang/lib/CodeGen/ |
D | CGAtomic.cpp | 40 LValue LVal; member in __anon0956349c0111::AtomicInfo 74 LVal = lvalue; in AtomicInfo() 97 LVal = LValue::MakeBitfield(Address(Addr, lvalue.getAlignment()), in AtomicInfo() 116 LVal = lvalue; in AtomicInfo() 127 LVal = lvalue; in AtomicInfo() 140 const LValue &getAtomicLValue() const { return LVal; } in getAtomicLValue() 142 if (LVal.isSimple()) in getAtomicPointer() 143 return LVal.getPointer(CGF); in getAtomicPointer() 144 else if (LVal.isBitField()) in getAtomicPointer() 145 return LVal.getBitFieldPointer(); in getAtomicPointer() [all …]
|
D | CGStmtOpenMP.cpp | 3396 LValue LVal = CGF.MakeAddrLValue(CGF.CreateMemTemp(Ty, Name), Ty); in createSectionLVal() local 3398 CGF.EmitStoreThroughLValue(RValue::get(Init), LVal, /*isInit*/ true); in createSectionLVal() 3399 return LVal; in createSectionLVal() 4933 LValue LVal, RValue RVal) { in emitSimpleAtomicStore() argument 4934 if (LVal.isGlobalReg()) in emitSimpleAtomicStore() 4935 CGF.EmitStoreThroughGlobalRegLValue(RVal, LVal); in emitSimpleAtomicStore() 4937 CGF.EmitAtomicStore(RVal, LVal, AO, LVal.isVolatile(), /*isInit=*/false); in emitSimpleAtomicStore() 4941 llvm::AtomicOrdering AO, LValue LVal, in emitSimpleAtomicLoad() argument 4943 if (LVal.isGlobalReg()) in emitSimpleAtomicLoad() 4944 return CGF.EmitLoadOfLValue(LVal, Loc); in emitSimpleAtomicLoad() [all …]
|
D | CGOpenMPRuntime.cpp | 1471 LValue LVal = OMPRegionInfo->getThreadIDVariableLValue(CGF); in getThreadID() local 1476 !isa<llvm::Instruction>(LVal.getPointer(CGF)) || in getThreadID() 1477 cast<llvm::Instruction>(LVal.getPointer(CGF))->getParent() == in getThreadID() 1479 cast<llvm::Instruction>(LVal.getPointer(CGF))->getParent() == in getThreadID() 1481 ThreadID = CGF.EmitLoadOfScalar(LVal, Loc); in getThreadID() 12222 LValue LVal, in emitLastprivateConditionalUpdate() argument 12236 CGF.ConvertTypeForMem(LVal.getType()), UniqueDeclName); in emitLastprivateConditionalUpdate() 12238 LVal.getAlignment().getAsAlign()); in emitLastprivateConditionalUpdate() 12240 CGF.MakeAddrLValue(Last, LVal.getType(), LVal.getAlignment()); in emitLastprivateConditionalUpdate() 12251 auto &&CodeGen = [&LastIVLVal, &IVLVal, IVVal, &LVal, &LastLVal, in emitLastprivateConditionalUpdate() [all …]
|
D | CGExprComplex.cpp | 1152 LValue LVal = ComplexExprEmitter(*this).EmitBinAssignLValue(E, Val); in EmitComplexAssignmentLValue() local 1156 return LVal; in EmitComplexAssignmentLValue()
|
D | CGOpenMPRuntime.h | 882 StringRef UniqueDeclName, LValue LVal,
|
D | CodeGenFunction.h | 3239 void emitOMPSimpleStore(LValue LVal, RValue RVal, QualType RValTy, 3674 void EmitAtomicUpdate(LValue LVal, llvm::AtomicOrdering AO,
|
/external/llvm-project/clang/lib/StaticAnalyzer/Checkers/ |
D | InvalidatedIteratorChecker.cpp | 93 SVal LVal = State->getSVal(BO->getLHS(), C.getLocationContext()); in checkPreStmt() local 96 verifyAccess(C, LVal); in checkPreStmt() 103 SVal LVal = State->getSVal(ASE->getLHS(), C.getLocationContext()); in checkPreStmt() local 104 verifyAccess(C, LVal); in checkPreStmt()
|
D | IteratorRangeChecker.cpp | 166 SVal LVal = State->getSVal(BO->getLHS(), C.getLocationContext()); in checkPreStmt() local 169 verifyDereference(C, LVal); in checkPreStmt() 174 verifyRandomIncrOrDecr(C, BinaryOperator::getOverloadedOperator(OK), LVal, in checkPreStmt() 182 SVal LVal = State->getSVal(ASE->getLHS(), C.getLocationContext()); in checkPreStmt() local 183 verifyDereference(C, LVal); in checkPreStmt()
|
D | IteratorModeling.cpp | 101 const SVal &LVal, const SVal &RVal, 269 const SVal LVal = State->getSVal(LHS, C.getLocationContext()); in checkPostStmt() local 274 handleComparison(C, BO, Result, LVal, RVal, in checkPostStmt() 286 const SVal &AmountVal = IsIterOnLHS ? RVal : LVal; in checkPostStmt() 450 SVal RetVal, const SVal &LVal, in handleComparison() argument 458 const auto *LPos = getIteratorPosition(State, LVal); in handleComparison() 480 State = setIteratorPosition(State, LVal, in handleComparison() 482 LPos = getIteratorPosition(State, LVal); in handleComparison()
|
D | MismatchedIteratorChecker.cpp | 198 SVal LVal = State->getSVal(BO->getLHS(), C.getLocationContext()); in checkPreStmt() local 200 verifyMatch(C, LVal, RVal); in checkPreStmt()
|
D | CheckObjCDealloc.cpp | 284 SVal LVal = State->getLValue(PropImpl->getPropertyIvarDecl(), SelfVal); in checkBeginFunction() local 285 Optional<Loc> LValLoc = LVal.getAs<Loc>(); in checkBeginFunction() 955 SVal LVal = State->getLValue(PropIvarDecl, ReceiverVal); in getValueReleasedByNillingOut() local 956 Optional<Loc> LValLoc = LVal.getAs<Loc>(); in getValueReleasedByNillingOut()
|
/external/llvm-project/clang/lib/AST/ |
D | APValue.cpp | 907 const LV &LVal = *((const LV *)(const char *)&Data); in getLValuePath() local 908 return llvm::makeArrayRef(LVal.getPath(), LVal.PathLength); in getLValuePath() 929 LV &LVal = *((LV *)(char *)&Data); in setLValue() local 930 LVal.Base = B; in setLValue() 931 LVal.IsOnePastTheEnd = false; in setLValue() 932 LVal.Offset = O; in setLValue() 933 LVal.resizePath((unsigned)-1); in setLValue() 934 LVal.IsNullPtr = IsNullPtr; in setLValue() 941 LV &LVal = *((LV *)(char *)&Data); in setLValueUninit() local 942 LVal.Base = B; in setLValueUninit() [all …]
|
D | ExprConstant.cpp | 2022 static const ValueDecl *GetLValueBaseDecl(const LValue &LVal) { in GetLValueBaseDecl() argument 2023 return LVal.Base.dyn_cast<const ValueDecl*>(); in GetLValueBaseDecl() 2116 QualType Type, const LValue &LVal, in CheckLValueConstantExpression() argument 2121 APValue::LValueBase Base = LVal.getLValueBase(); in CheckLValueConstantExpression() 2122 const SubobjectDesignator &Designator = LVal.getLValueDesignator(); in CheckLValueConstantExpression() 2192 LVal.getLValueCallIndex() == 0) && in CheckLValueConstantExpression() 2392 LValue LVal; in CheckEvaluationResult() local 2393 LVal.setFrom(Info.Ctx, Value); in CheckEvaluationResult() 2394 return CheckLValueConstantExpression(Info, DiagLoc, Type, LVal, Kind, in CheckEvaluationResult() 3116 static bool HandleLValueMember(EvalInfo &Info, const Expr *E, LValue &LVal, in HandleLValueMember() argument [all …]
|
/external/llvm-project/llvm/test/CodeGen/PowerPC/ |
D | store-constant.ll | 7 @LVal = external local_unnamed_addr global i64, align 8 80 store i64 -7, i64* @LVal, align 8 106 store i64 8, i64* @LVal, align 8 128 store i64 -32768, i64* @LVal, align 8 150 store i64 32767, i64* @LVal, align 8 169 store i64 -32769, i64* @LVal, align 8 192 store i64 32768, i64* @LVal, align 8
|
/external/llvm-project/clang/lib/Sema/ |
D | SemaStmtAsm.cpp | 70 static void emitAndFixInvalidAsmCastLValue(const Expr *LVal, Expr *BadArgument, in emitAndFixInvalidAsmCastLValue() argument 73 S.Diag(LVal->getBeginLoc(), diag::err_invalid_asm_cast_lvalue) in emitAndFixInvalidAsmCastLValue() 76 S.Diag(LVal->getBeginLoc(), diag::warn_invalid_asm_cast_lvalue) in emitAndFixInvalidAsmCastLValue() 323 const Expr *LVal = OutputExpr->IgnoreParenNoopCasts(Context); in ActOnGCCAsmStmt() local 324 emitAndFixInvalidAsmCastLValue(LVal, OutputExpr, *this); in ActOnGCCAsmStmt()
|
/external/clang/lib/StaticAnalyzer/Checkers/ |
D | CheckObjCDealloc.cpp | 291 SVal LVal = State->getLValue(PropImpl->getPropertyIvarDecl(), SelfVal); in checkBeginFunction() local 292 Optional<Loc> LValLoc = LVal.getAs<Loc>(); in checkBeginFunction() 956 SVal LVal = State->getLValue(PropIvarDecl, ReceiverVal); in getValueReleasedByNillingOut() local 957 Optional<Loc> LValLoc = LVal.getAs<Loc>(); in getValueReleasedByNillingOut()
|
/external/clang/lib/Sema/ |
D | SemaStmtAsm.cpp | 214 const Expr *LVal = OutputExpr->IgnoreParenNoopCasts(Context); in ActOnGCCAsmStmt() local 216 Diag(LVal->getLocStart(), diag::err_invalid_asm_cast_lvalue) in ActOnGCCAsmStmt() 219 Diag(LVal->getLocStart(), diag::warn_invalid_asm_cast_lvalue) in ActOnGCCAsmStmt()
|
/external/clang/lib/StaticAnalyzer/Core/ |
D | BugReporterVisitors.cpp | 1019 SVal LVal = LVState->getSVal(Inner, LVNode->getLocationContext()); in trackNullOrUndefValue() local 1021 if (LVState->isNull(LVal).isConstrainedTrue()) { in trackNullOrUndefValue() 1035 if (Optional<KnownSVal> KV = LVal.getAs<KnownSVal>()) in trackNullOrUndefValue()
|
/external/llvm-project/clang/lib/StaticAnalyzer/Core/ |
D | BugReporterVisitors.cpp | 1968 SVal LVal = LVNode->getSVal(Inner); in trackExpressionValue() local 1971 bool LVIsNull = LVState->isNull(LVal).isConstrainedTrue(); in trackExpressionValue() 1977 if (auto KV = LVal.getAs<KnownSVal>()) in trackExpressionValue()
|
/external/llvm/lib/Transforms/Scalar/ |
D | LoopStrengthReduce.cpp | 2437 static bool isCompatibleIVType(Value *LVal, Value *RVal) { in isCompatibleIVType() argument 2438 Type *LType = LVal->getType(); in isCompatibleIVType()
|