Home
last modified time | relevance | path

Searched refs:LVal (Results 1 – 16 of 16) sorted by relevance

/netbsd-src/external/apache2/llvm/dist/clang/lib/CodeGen/
H A DCGAtomic.cpp40 LValue LVal; member in __anon41f132f00111::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 …]
H A DCGStmtOpenMP.cpp3643 LValue LVal = CGF.MakeAddrLValue(CGF.CreateMemTemp(Ty, Name), Ty); in createSectionLVal() local
3645 CGF.EmitStoreThroughLValue(RValue::get(Init), LVal, /*isInit*/ true); in createSectionLVal()
3646 return LVal; in createSectionLVal()
5355 LValue LVal, RValue RVal) { in emitSimpleAtomicStore() argument
5356 if (LVal.isGlobalReg()) in emitSimpleAtomicStore()
5357 CGF.EmitStoreThroughGlobalRegLValue(RVal, LVal); in emitSimpleAtomicStore()
5359 CGF.EmitAtomicStore(RVal, LVal, AO, LVal.isVolatile(), /*isInit=*/false); in emitSimpleAtomicStore()
5363 llvm::AtomicOrdering AO, LValue LVal, in emitSimpleAtomicLoad() argument
5365 if (LVal.isGlobalReg()) in emitSimpleAtomicLoad()
5366 return CGF.EmitLoadOfLValue(LVal, Loc); in emitSimpleAtomicLoad()
[all …]
H A DCGOpenMPRuntime.cpp1483 LValue LVal = OMPRegionInfo->getThreadIDVariableLValue(CGF); in getThreadID() local
1488 !isa<llvm::Instruction>(LVal.getPointer(CGF)) || in getThreadID()
1489 cast<llvm::Instruction>(LVal.getPointer(CGF))->getParent() == in getThreadID()
1491 cast<llvm::Instruction>(LVal.getPointer(CGF))->getParent() == in getThreadID()
1493 ThreadID = CGF.EmitLoadOfScalar(LVal, Loc); in getThreadID()
12393 LValue LVal, in emitLastprivateConditionalUpdate() argument
12407 CGF.ConvertTypeForMem(LVal.getType()), UniqueDeclName); in emitLastprivateConditionalUpdate()
12409 LVal.getAlignment().getAsAlign()); in emitLastprivateConditionalUpdate()
12411 CGF.MakeAddrLValue(Last, LVal.getType(), LVal.getAlignment()); in emitLastprivateConditionalUpdate()
12422 auto &&CodeGen = [&LastIVLVal, &IVLVal, IVVal, &LVal, &LastLVal, in emitLastprivateConditionalUpdate()
[all …]
H A DCGExprComplex.cpp1153 LValue LVal = ComplexExprEmitter(*this).EmitBinAssignLValue(E, Val); in EmitComplexAssignmentLValue() local
1157 return LVal; in EmitComplexAssignmentLValue()
H A DCGOpenMPRuntime.h882 StringRef UniqueDeclName, LValue LVal,
H A DCodeGenFunction.h3290 void emitOMPSimpleStore(LValue LVal, RValue RVal, QualType RValTy,
3739 void EmitAtomicUpdate(LValue LVal, llvm::AtomicOrdering AO,
/netbsd-src/external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Checkers/
H A DInvalidatedIteratorChecker.cpp93 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()
H A DIteratorRangeChecker.cpp166 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()
H A DIteratorModeling.cpp101 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()
H A DMismatchedIteratorChecker.cpp198 SVal LVal = State->getSVal(BO->getLHS(), C.getLocationContext()); in checkPreStmt() local
200 verifyMatch(C, LVal, RVal); in checkPreStmt()
H A DCheckObjCDealloc.cpp284 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()
/netbsd-src/external/apache2/llvm/dist/clang/lib/AST/
H A DAPValue.cpp915 const LV &LVal = *((const LV *)(const char *)&Data); in getLValuePath() local
916 return llvm::makeArrayRef(LVal.getPath(), LVal.PathLength); in getLValuePath()
937 LV &LVal = *((LV *)(char *)&Data); in setLValue() local
938 LVal.Base = B; in setLValue()
939 LVal.IsOnePastTheEnd = false; in setLValue()
940 LVal.Offset = O; in setLValue()
941 LVal.resizePath((unsigned)-1); in setLValue()
942 LVal.IsNullPtr = IsNullPtr; in setLValue()
949 LV &LVal = *((LV *)(char *)&Data); in setLValueUninit() local
950 LVal.Base = B; in setLValueUninit()
[all …]
H A DExprConstant.cpp2028 static const ValueDecl *GetLValueBaseDecl(const LValue &LVal) { in GetLValueBaseDecl() argument
2029 return LVal.Base.dyn_cast<const ValueDecl*>(); in GetLValueBaseDecl()
2122 QualType Type, const LValue &LVal, in CheckLValueConstantExpression() argument
2127 APValue::LValueBase Base = LVal.getLValueBase(); in CheckLValueConstantExpression()
2128 const SubobjectDesignator &Designator = LVal.getLValueDesignator(); in CheckLValueConstantExpression()
2198 LVal.getLValueCallIndex() == 0) && in CheckLValueConstantExpression()
2398 LValue LVal; in CheckEvaluationResult() local
2399 LVal.setFrom(Info.Ctx, Value); in CheckEvaluationResult()
2400 return CheckLValueConstantExpression(Info, DiagLoc, Type, LVal, Kind, in CheckEvaluationResult()
3121 static bool HandleLValueMember(EvalInfo &Info, const Expr *E, LValue &LVal, in HandleLValueMember() argument
[all …]
/netbsd-src/external/apache2/llvm/dist/clang/lib/Sema/
H A DSemaStmtAsm.cpp70 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()
/netbsd-src/external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Core/
H A DBugReporterVisitors.cpp2091 SVal LVal = LVNode->getSVal(Inner); in trackExpressionValue() local
2094 bool LVIsNull = LVState->isNull(LVal).isConstrainedTrue(); in trackExpressionValue()
2100 if (auto KV = LVal.getAs<KnownSVal>()) in trackExpressionValue()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Scalar/
H A DLoopStrengthReduce.cpp2749 static bool isCompatibleIVType(Value *LVal, Value *RVal) { in isCompatibleIVType() argument
2750 Type *LType = LVal->getType(); in isCompatibleIVType()