Home
last modified time | relevance | path

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

/external/clang/lib/CodeGen/
DCGAtomic.cpp40 LValue LVal; member in __anonb0d75cc80111::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 …]
DCGStmtOpenMP.cpp1625 auto LVal = CGF.MakeAddrLValue(CGF.CreateMemTemp(Ty, Name), Ty); in createSectionLVal() local
1627 CGF.EmitScalarInit(Init, LVal); in createSectionLVal()
1628 return LVal; in createSectionLVal()
2131 LValue LVal, RValue RVal) { in emitSimpleAtomicStore() argument
2132 if (LVal.isGlobalReg()) { in emitSimpleAtomicStore()
2133 CGF.EmitStoreThroughGlobalRegLValue(RVal, LVal); in emitSimpleAtomicStore()
2135 CGF.EmitAtomicStore(RVal, LVal, IsSeqCst ? llvm::SequentiallyConsistent in emitSimpleAtomicStore()
2137 LVal.isVolatile(), /*IsInit=*/false); in emitSimpleAtomicStore()
2141 static void emitSimpleStore(CodeGenFunction &CGF, LValue LVal, RValue RVal, in emitSimpleStore() argument
2143 switch (CGF.getEvaluationKind(LVal.getType())) { in emitSimpleStore()
[all …]
DCGOpenMPRuntime.cpp478 auto LVal = OMPRegionInfo->getThreadIDVariableLValue(CGF); in getThreadID() local
479 ThreadID = CGF.EmitLoadOfLValue(LVal, Loc).getScalarVal(); in getThreadID()
DCodeGenFunction.h2451 void EmitAtomicUpdate(LValue LVal, llvm::AtomicOrdering AO,
/external/clang/lib/AST/
DAPValue.cpp575 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 …]
DExprConstant.cpp1326 QualType Type, const LValue &LVal) { in CheckLValueConstantExpression() argument
1329 APValue::LValueBase Base = LVal.getLValueBase(); in CheckLValueConstantExpression()
1330 const SubobjectDesignator &Designator = LVal.getLValueDesignator(); in CheckLValueConstantExpression()
1349 LVal.getLValueCallIndex() == 0) && in CheckLValueConstantExpression()
1479 LValue LVal; in CheckConstantExpression() local
1480 LVal.setFrom(Info.Ctx, Value); in CheckConstantExpression()
1481 return CheckLValueConstantExpression(Info, DiagLoc, Type, LVal); in CheckConstantExpression()
1488 static const ValueDecl *GetLValueBaseDecl(const LValue &LVal) { in GetLValueBaseDecl() argument
1489 return LVal.Base.dyn_cast<const ValueDecl*>(); in GetLValueBaseDecl()
1937 static bool HandleLValueMember(EvalInfo &Info, const Expr *E, LValue &LVal, in HandleLValueMember() argument
[all …]
/external/clang/lib/Sema/
DSemaStmtAsm.cpp214 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/
DBugReporterVisitors.cpp961 SVal LVal = LVState->getSVal(Inner, LVNode->getLocationContext()); in trackNullOrUndefValue() local
963 if (LVState->isNull(LVal).isConstrainedTrue()) { in trackNullOrUndefValue()
977 if (Optional<KnownSVal> KV = LVal.getAs<KnownSVal>()) in trackNullOrUndefValue()
/external/llvm/lib/Transforms/Scalar/
DLoopStrengthReduce.cpp2453 static bool isCompatibleIVType(Value *LVal, Value *RVal) { in isCompatibleIVType() argument
2454 Type *LType = LVal->getType(); in isCompatibleIVType()