Home
last modified time | relevance | path

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

/external/clang/lib/CodeGen/
DCGCUDABuiltin.cpp101 ArgTypes.push_back(Args[I].RV.getScalarVal()->getType()); in EmitCUDADevicePrintfCallExpr()
107 llvm::Value *Arg = Args[I].RV.getScalarVal(); in EmitCUDADevicePrintfCallExpr()
116 Builder.CreateCall(VprintfFunc, {Args[0].RV.getScalarVal(), BufferPtr})); in EmitCUDADevicePrintfCallExpr()
DCGObjC.cpp109 return Builder.CreateBitCast(result.getScalarVal(), in EmitObjCBoxedExpr()
221 return Builder.CreateBitCast(result.getScalarVal(), in EmitObjCCollectionLiteral()
258 if (ExpLLVMTy == Result.getScalarVal()->getType()) in AdjustObjCObjectType()
262 return RValue::get(CGF.Builder.CreateBitCast(Result.getScalarVal(), in AdjustObjCObjectType()
474 llvm::Value *newSelf = result.getScalarVal(); in EmitObjCMessageExpr()
967 RV.getScalarVal(), in generateObjCGetterBody()
1017 value = EmitLoadOfLValue(LV, SourceLocation()).getScalarVal(); in generateObjCGetterBody()
1540 llvm::Value *initialBufferLimit = CountRV.getScalarVal(); in EmitObjCForCollectionStmt()
1714 llvm::Value *refetchCount = CountRV.getScalarVal(); in EmitObjCForCollectionStmt()
2337 Receiver = AllocRV.getScalarVal(); in EmitObjCMRRAutoreleasePoolPush()
[all …]
DCGStmtOpenMP.cpp141 EmitLoadOfLValue(EmitLValue(*I), SourceLocation()).getScalarVal(); in GenerateOpenMPCapturedVars()
162 CV = EmitLoadOfLValue(DstLV, SourceLocation()).getScalarVal(); in GenerateOpenMPCapturedVars()
282 EmitLoadOfLValue(CastedArgLVal, SourceLocation()).getScalarVal(); in GenerateOpenMPCapturedStmtFunction()
307 EmitLoadOfLValue(ArgLVal, Args[Cnt]->getLocation()).getScalarVal(); in GenerateOpenMPCapturedStmtFunction()
1516 llvm::ConstantInt *Val = cast<llvm::ConstantInt>(Len.getScalarVal()); in emitSimdlenSafelenClause()
1526 llvm::ConstantInt *Val = cast<llvm::ConstantInt>(Len.getScalarVal()); in emitSimdlenSafelenClause()
2199 CGF.EmitLoadOfLValue(IV, S.getLocStart()).getScalarVal(), ExitBB, in EmitSections()
2788 ? CGF.EmitScalarConversion(Val.getScalarVal(), SrcType, DestType, in convertToScalarValue()
2803 auto ScalarVal = CGF.EmitScalarConversion(Val.getScalarVal(), SrcType, in convertToComplexValue()
2897 !Update.getScalarVal()->getType()->isIntegerTy() || in emitOMPAtomicRMW()
[all …]
DCGExpr.cpp1297 return EmitAtomicLoad(AtomicLValue, Loc).getScalarVal(); in EmitLoadOfScalar()
1600 Vec = Builder.CreateInsertElement(Vec, Src.getScalarVal(), in EmitStoreThroughLValue()
1630 EmitARCStoreStrong(Dst, Src.getScalarVal(), /*ignore*/ true); in EmitStoreThroughLValue()
1634 EmitARCStoreWeak(Dst.getAddress(), Src.getScalarVal(), /*ignore*/ true); in EmitStoreThroughLValue()
1639 Src.getScalarVal())); in EmitStoreThroughLValue()
1648 llvm::Value *src = Src.getScalarVal(); in EmitStoreThroughLValue()
1656 llvm::Value *src = Src.getScalarVal(); in EmitStoreThroughLValue()
1679 EmitStoreOfScalar(Src.getScalarVal(), Dst, isInit); in EmitStoreThroughLValue()
1689 llvm::Value *SrcVal = Src.getScalarVal(); in EmitStoreThroughBitfieldLValue()
1757 llvm::Value *SrcVal = Src.getScalarVal(); in EmitStoreThroughExtVectorComponentLValue()
[all …]
DCGAtomic.cpp998 if (UseOptimizedLibcall && Res.getScalarVal()) { in EmitAtomicExpr()
999 llvm::Value *ResVal = Res.getScalarVal(); in EmitAtomicExpr()
1001 llvm::Value *LoadVal1 = Args[1].RV.getScalarVal(); in EmitAtomicExpr()
1364 CGF.EmitStoreOfScalar(rvalue.getScalarVal(), TempLVal, /*init*/ true); in emitCopyIntoMemory()
1390 llvm::Value *Value = RVal.getScalarVal(); in convertRValueToInt()
1454 return SuccessFailureRVal.getScalarVal(); in EmitAtomicCompareExchangeLibcall()
DCGExprScalar.cpp93 return CGF.EmitLoadOfLValue(LV, Loc).getScalarVal(); in EmitLoadOfLValue()
258 return CGF.EmitPseudoObjectRValue(E).getScalarVal(); in VisitPseudoObjectExpr()
266 return CGF.getOpaqueRValueMapping(E).getScalarVal(); in VisitOpaqueValueExpr()
293 return CGF.EmitObjCMessageExpr(E).getScalarVal(); in VisitObjCMessageExpr()
298 Value *V = CGF.EmitLoadOfLValue(LV, E->getExprLoc()).getScalarVal(); in VisitObjCIsaExpr()
326 Value *V = CGF.EmitCallExpr(E).getScalarVal(); in VisitCallExpr()
1833 llvm::Value *old = CGF.EmitToMemory(Pair.first.getScalarVal(), type); in EmitScalarPrePostIncDec()
2044 E->getExprLoc()).getScalarVal(); in VisitUnaryReal()
2061 E->getExprLoc()).getScalarVal(); in VisitUnaryImag()
2187 llvm::Value *old = CGF.EmitToMemory(Pair.first.getScalarVal(), LHSTy); in EmitCompoundAssignLValue()
[all …]
DCGStmt.cpp980 Builder.CreateStore(RV.getScalarVal(), ReturnValue); in EmitReturnOfRValue()
1037 Builder.CreateStore(Result.getScalarVal(), ReturnValue); in EmitReturnStmt()
1716 Arg = EmitLoadOfLValue(InputValue, Loc).getScalarVal(); in EmitAsmInputLValue()
2239 S.getLocStart()).getScalarVal(); in GenerateCapturedStmtFunction()
2249 CXXThisValue = EmitLoadOfLValue(ThisLValue, Loc).getScalarVal(); in GenerateCapturedStmtFunction()
DCGCall.cpp1026 llvm::Value *V = RV.getScalarVal(); in ExpandTypeToArgs()
3092 llvm::Value *src = srcRV.getScalarVal(); in emitWritebackArg()
3161 llvm::Value *V = RV.getScalarVal(); in EmitNonNullArgCheck()
3497 CGF.EmitStoreOfScalar(Src.getScalarVal(), Dst, /*init=*/true); in EmitInitStoreOfNonAggregate()
3684 V = RV.getScalarVal(); in EmitCall()
3787 llvm::Type *scalarType = RV.getScalarVal()->getType(); in EmitCall()
3794 addr = CreateTempAlloca(RV.getScalarVal()->getType(), in EmitCall()
3799 Builder.CreateStore(RV.getScalarVal(), addr); in EmitCall()
4123 EmitAlignmentAssumption(Ret.getScalarVal(), AlignmentCI->getZExtValue(), in EmitCall()
DCGVTables.cpp93 llvm::Value *ReturnValue = RV.getScalarVal(); in PerformReturnAdjustment()
199 Builder.CreateRet(RV.getScalarVal()); in GenerateVarArgsThunk()
DCGValue.h58 llvm::Value *getScalarVal() const { in getScalarVal() function
DCGCleanup.cpp29 return DominatingLLVMValue::needsSaving(rv.getScalarVal()); in needsSaving()
38 llvm::Value *V = rv.getScalarVal(); in save()
DCodeGenFunction.cpp864 EmitLoadOfLValue(ThisFieldLValue, SourceLocation()).getScalarVal(); in StartFunction()
870 SourceLocation()).getScalarVal(); in StartFunction()
1832 llvm::Value *value = rvalue.getScalarVal(); in protectFromPeepholes()
DCGDeclCXX.cpp189 EmitStoreOfScalar(RV.getScalarVal(), DeclAddr, false, T); in EmitCXXGlobalVarDeclInit()
DCGOpenMPRuntime.cpp1002 ThreadID = CGF.EmitLoadOfLValue(LVal, Loc).getScalarVal(); in getThreadID()
3311 CGF.EmitLoadOfLValue(SharedsLVal, Loc).getScalarVal(), in emitProxyTaskFunction()
3334 auto *LBParam = CGF.EmitLoadOfLValue(LBLVal, Loc).getScalarVal(); in emitProxyTaskFunction()
3337 auto *UBParam = CGF.EmitLoadOfLValue(UBLVal, Loc).getScalarVal(); in emitProxyTaskFunction()
3340 auto *StParam = CGF.EmitLoadOfLValue(StLVal, Loc).getScalarVal(); in emitProxyTaskFunction()
3343 auto *LIParam = CGF.EmitLoadOfLValue(LILVal, Loc).getScalarVal(); in emitProxyTaskFunction()
DCGClass.cpp2128 Address Src(Args[1].RV.getScalarVal(), getNaturalTypeAlignment(SrcTy)); in EmitCXXConstructorCall()
2242 ? ParamValue::forDirect(RV.getScalarVal()) in EmitInlinedInheritingCXXConstructorCall()
DCGExprComplex.cpp1107 Result = Val.getScalarVal(); in EmitScalarCompoundAssignWithComplex()
DCGExprCXX.cpp1390 allocation = Address(RV.getScalarVal(), allocationAlign); in EmitCXXNewExpr()
DCGObjCMac.cpp1614 CGF.EmitARCRelease(RV.getScalarVal(), ARCImpreciseLifetime); in complete()
1640 phi->addIncoming(result.getScalarVal(), callBB); in complete()
DCGObjCGNU.cpp1484 llvm::Value *v = msgRet.getScalarVal(); in GenerateMessageSend()
DMicrosoftCXXABI.cpp1855 return RV.getScalarVal(); in EmitVirtualDestructorCall()