Home
last modified time | relevance | path

Searched refs:getScalarVal (Results 1 – 18 of 18) sorted by relevance

/external/clang/lib/CodeGen/
DCGObjC.cpp82 return Builder.CreateBitCast(result.getScalarVal(), in EmitObjCBoxedExpr()
194 return Builder.CreateBitCast(result.getScalarVal(), in EmitObjCCollectionLiteral()
236 return RValue::get(CGF.Builder.CreateBitCast(Result.getScalarVal(), in AdjustRelatedResultType()
411 llvm::Value *newSelf = result.getScalarVal(); in EmitObjCMessageExpr()
904 RV.getScalarVal(), in generateObjCGetterBody()
951 value = EmitLoadOfLValue(LV, SourceLocation()).getScalarVal(); in generateObjCGetterBody()
1496 llvm::Value *initialBufferLimit = CountRV.getScalarVal(); in EmitObjCForCollectionStmt()
1668 llvm::Value *refetchCount = CountRV.getScalarVal(); in EmitObjCForCollectionStmt()
2286 Receiver = AllocRV.getScalarVal(); in EmitObjCMRRAutoreleasePoolPush()
2293 return InitRV.getScalarVal(); in EmitObjCMRRAutoreleasePoolPush()
[all …]
DCGStmtOpenMP.cpp726 llvm::ConstantInt *Val = cast<llvm::ConstantInt>(Len.getScalarVal()); in EmitOMPSimdDirective()
897 (Dynamic ? EmitAnyExpr(S.getLastIteration()).getScalarVal() : UB), ST, in EmitOMPForOuterLoop()
1155 CGF.EmitLoadOfLValue(IV, S.getLocStart()).getScalarVal(), ExitBB, in emitSections()
1385 ? CGF.EmitScalarConversion(Val.getScalarVal(), SrcType, DestType) in convertToScalarValue()
1400 CGF.EmitScalarConversion(Val.getScalarVal(), SrcType, DestElementType); in convertToComplexValue()
1480 !Update.getScalarVal()->getType()->isIntegerTy() || !X.isSimple() || in emitOMPAtomicRMW()
1481 (!isa<llvm::ConstantInt>(Update.getScalarVal()) && in emitOMPAtomicRMW()
1482 (Update.getScalarVal()->getType() != in emitOMPAtomicRMW()
1549 auto *UpdateVal = Update.getScalarVal(); in emitOMPAtomicRMW()
DCGAtomic.cpp912 llvm::Value *ResVal = Res.getScalarVal(); in EmitAtomicExpr()
1266 CGF.EmitStoreOfScalar(rvalue.getScalarVal(), TempLVal, /*init*/ true); in emitCopyIntoMemory()
1293 llvm::Value *Value = RVal.getScalarVal(); in convertRValueToInt()
1366 SuccessFailureRVal.getScalarVal()); in EmitAtomicCompareExchangeLibcall()
1477 llvm::PHINode *PHI = Builder.CreatePHI(OldRVal.getScalarVal()->getType(), in EmitAtomicStore()
1479 PHI->addIncoming(OldRVal.getScalarVal(), CurBB); in EmitAtomicStore()
1505 PHI->addIncoming(Pair.first.getScalarVal(), ContBB); in EmitAtomicStore()
1542 IsScalar ? OldRVal.getScalarVal() : Atomics.convertRValueToInt(OldRVal); in EmitAtomicUpdate()
1593 OldVal = IsScalar ? Pair.first.getScalarVal() in EmitAtomicUpdate()
DCGExpr.cpp1168 return EmitAtomicLoad(lvalue, Loc).getScalarVal(); in EmitLoadOfScalar()
1476 Vec = Builder.CreateInsertElement(Vec, Src.getScalarVal(), in EmitStoreThroughLValue()
1507 EmitARCStoreStrong(Dst, Src.getScalarVal(), /*ignore*/ true); in EmitStoreThroughLValue()
1511 EmitARCStoreWeak(Dst.getAddress(), Src.getScalarVal(), /*ignore*/ true); in EmitStoreThroughLValue()
1516 Src.getScalarVal())); in EmitStoreThroughLValue()
1525 llvm::Value *src = Src.getScalarVal(); in EmitStoreThroughLValue()
1533 llvm::Value *src = Src.getScalarVal(); in EmitStoreThroughLValue()
1555 EmitStoreOfScalar(Src.getScalarVal(), Dst, isInit); in EmitStoreThroughLValue()
1565 llvm::Value *SrcVal = Src.getScalarVal(); in EmitStoreThroughBitfieldLValue()
1639 llvm::Value *SrcVal = Src.getScalarVal(); in EmitStoreThroughExtVectorComponentLValue()
[all …]
DCGExprScalar.cpp92 return CGF.EmitLoadOfLValue(LV, Loc).getScalarVal(); in EmitLoadOfLValue()
253 return CGF.EmitPseudoObjectRValue(E).getScalarVal(); in VisitPseudoObjectExpr()
261 return CGF.getOpaqueRValueMapping(E).getScalarVal(); in VisitOpaqueValueExpr()
288 return CGF.EmitObjCMessageExpr(E).getScalarVal(); in VisitObjCMessageExpr()
293 Value *V = CGF.EmitLoadOfLValue(LV, E->getExprLoc()).getScalarVal(); in VisitObjCIsaExpr()
326 Value *V = CGF.EmitCallExpr(E).getScalarVal(); in VisitCallExpr()
1849 llvm::Value *old = CGF.EmitToMemory(Pair.first.getScalarVal(), type); in EmitScalarPrePostIncDec()
2053 E->getExprLoc()).getScalarVal(); in VisitUnaryReal()
2070 E->getExprLoc()).getScalarVal(); in VisitUnaryImag()
2192 llvm::Value *old = CGF.EmitToMemory(Pair.first.getScalarVal(), LHSTy); in EmitCompoundAssignLValue()
[all …]
DCGStmt.cpp1009 Builder.CreateStore(RV.getScalarVal(), ReturnValue); in EmitReturnOfRValue()
1067 Builder.CreateStore(Result.getScalarVal(), ReturnValue); in EmitReturnStmt()
1740 Arg = EmitLoadOfLValue(InputValue, Loc).getScalarVal(); in EmitAsmInputLValue()
2213 S.getLocStart()).getScalarVal(); in GenerateCapturedStmtFunction()
2223 CXXThisValue = EmitLoadOfLValue(ThisLValue, Loc).getScalarVal(); in GenerateCapturedStmtFunction()
DCGValue.h54 llvm::Value *getScalarVal() const { in getScalarVal() function
DCGVTables.cpp79 llvm::Value *ReturnValue = RV.getScalarVal(); in PerformReturnAdjustment()
182 Builder.CreateRet(RV.getScalarVal()); in GenerateVarArgsThunk()
DCGCleanup.cpp28 return DominatingLLVMValue::needsSaving(rv.getScalarVal()); in needsSaving()
37 llvm::Value *V = rv.getScalarVal(); in save()
DCodeGenFunction.cpp731 SourceLocation()).getScalarVal(); in StartFunction()
736 SourceLocation()).getScalarVal(); in StartFunction()
1651 llvm::Value *value = rvalue.getScalarVal(); in protectFromPeepholes()
DCGCall.cpp816 llvm::Value *V = RV.getScalarVal(); in ExpandTypeToArgs()
2627 llvm::Value *src = srcRV.getScalarVal(); in emitWritebackArg()
2707 llvm::Value *V = RV.getScalarVal(); in emitNonNullArgCheck()
3008 CGF.EmitStoreOfScalar(Src.getScalarVal(), Dst, /*init=*/true); in EmitInitStoreOfNonAggregate()
3182 V = RV.getScalarVal(); in EmitCall()
3499 EmitAlignmentAssumption(Ret.getScalarVal(), AlignmentCI->getZExtValue(), in EmitCall()
DCGDeclCXX.cpp183 EmitStoreOfScalar(RV.getScalarVal(), DeclPtr, false, Alignment, T); in EmitCXXGlobalVarDeclInit()
DCGExprComplex.cpp1097 Result = Val.getScalarVal(); in EmitScalarCompoundAssignWithComplex()
DCGExprCXX.cpp1295 llvm::Value *allocation = RV.getScalarVal(); in EmitCXXNewExpr()
DCGOpenMPRuntime.cpp407 ThreadID = CGF.EmitLoadOfLValue(LVal, Loc).getScalarVal(); in getThreadID()
DCGObjCMac.cpp1611 CGF.EmitARCRelease(RV.getScalarVal(), ARCImpreciseLifetime); in complete()
1637 phi->addIncoming(result.getScalarVal(), callBB); in complete()
DCGObjCGNU.cpp1437 llvm::Value *v = msgRet.getScalarVal(); in GenerateMessageSend()
DMicrosoftCXXABI.cpp1629 return RV.getScalarVal(); in EmitVirtualDestructorCall()