Home
last modified time | relevance | path

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

/NextBSD/contrib/llvm/tools/clang/lib/CodeGen/
HDCGAtomic.cpp40 LValue LVal; member in __anone9dd929e0111::AtomicInfo
74 LVal = lvalue; in AtomicInfo()
97 LVal = LValue::MakeBitfield(Addr, BFI, lvalue.getType(), in AtomicInfo()
99 LVal.setTBAAInfo(lvalue.getTBAAInfo()); in AtomicInfo()
115 LVal = lvalue; in AtomicInfo()
127 LVal = lvalue; in AtomicInfo()
141 const LValue &getAtomicLValue() const { return LVal; } in getAtomicLValue()
143 if (LVal.isSimple()) in getAtomicAddress()
144 return LVal.getAddress(); in getAtomicAddress()
145 else if (LVal.isBitField()) in getAtomicAddress()
[all …]
HDCGStmtOpenMP.cpp1209 auto LVal = CGF.MakeNaturalAlignAddrLValue(CGF.CreateMemTemp(Ty, Name), Ty); in createSectionLVal() local
1211 CGF.EmitScalarInit(Init, LVal); in createSectionLVal()
1212 return LVal; in createSectionLVal()
1694 LValue LVal, RValue RVal) { in emitSimpleAtomicStore() argument
1695 if (LVal.isGlobalReg()) { in emitSimpleAtomicStore()
1696 CGF.EmitStoreThroughGlobalRegLValue(RVal, LVal); in emitSimpleAtomicStore()
1698 CGF.EmitAtomicStore(RVal, LVal, IsSeqCst ? llvm::SequentiallyConsistent in emitSimpleAtomicStore()
1700 LVal.isVolatile(), /*IsInit=*/false); in emitSimpleAtomicStore()
1704 static void emitSimpleStore(CodeGenFunction &CGF, LValue LVal, RValue RVal, in emitSimpleStore() argument
1706 switch (CGF.getEvaluationKind(LVal.getType())) { in emitSimpleStore()
[all …]
HDCGOpenMPRuntime.cpp412 auto LVal = OMPRegionInfo->getThreadIDVariableLValue(CGF); in getThreadID() local
413 ThreadID = CGF.EmitLoadOfLValue(LVal, Loc).getScalarVal(); in getThreadID()
HDCodeGenFunction.h2326 void EmitAtomicUpdate(LValue LVal, llvm::AtomicOrdering AO,
/NextBSD/contrib/llvm/tools/clang/lib/AST/
HDAPValue.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 …]
HDExprConstant.cpp1247 QualType Type, const LValue &LVal) { in CheckLValueConstantExpression() argument
1250 APValue::LValueBase Base = LVal.getLValueBase(); in CheckLValueConstantExpression()
1251 const SubobjectDesignator &Designator = LVal.getLValueDesignator(); in CheckLValueConstantExpression()
1270 LVal.getLValueCallIndex() == 0) && in CheckLValueConstantExpression()
1400 LValue LVal; in CheckConstantExpression() local
1401 LVal.setFrom(Info.Ctx, Value); in CheckConstantExpression()
1402 return CheckLValueConstantExpression(Info, DiagLoc, Type, LVal); in CheckConstantExpression()
1409 static const ValueDecl *GetLValueBaseDecl(const LValue &LVal) { in GetLValueBaseDecl() argument
1410 return LVal.Base.dyn_cast<const ValueDecl*>(); in GetLValueBaseDecl()
1853 static bool HandleLValueMember(EvalInfo &Info, const Expr *E, LValue &LVal, in HandleLValueMember() argument
[all …]
/NextBSD/contrib/llvm/tools/clang/lib/Sema/
HDSemaStmtAsm.cpp181 const Expr *LVal = OutputExpr->IgnoreParenNoopCasts(Context); in ActOnGCCAsmStmt() local
183 Diag(LVal->getLocStart(), diag::err_invalid_asm_cast_lvalue) in ActOnGCCAsmStmt()
186 Diag(LVal->getLocStart(), diag::warn_invalid_asm_cast_lvalue) in ActOnGCCAsmStmt()
/NextBSD/contrib/llvm/tools/clang/lib/StaticAnalyzer/Core/
HDBugReporterVisitors.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()
/NextBSD/contrib/llvm/lib/Transforms/Scalar/
HDLoopStrengthReduce.cpp2449 static bool isCompatibleIVType(Value *LVal, Value *RVal) { in isCompatibleIVType() argument
2450 Type *LType = LVal->getType(); in isCompatibleIVType()