/external/clang/lib/CodeGen/ |
D | CGCUDABuiltin.cpp | 101 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()
|
D | CGObjC.cpp | 109 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 …]
|
D | CGStmtOpenMP.cpp | 141 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 …]
|
D | CGExpr.cpp | 1297 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 …]
|
D | CGAtomic.cpp | 998 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()
|
D | CGExprScalar.cpp | 93 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 …]
|
D | CGStmt.cpp | 980 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()
|
D | CGCall.cpp | 1026 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()
|
D | CGVTables.cpp | 93 llvm::Value *ReturnValue = RV.getScalarVal(); in PerformReturnAdjustment() 199 Builder.CreateRet(RV.getScalarVal()); in GenerateVarArgsThunk()
|
D | CGValue.h | 58 llvm::Value *getScalarVal() const { in getScalarVal() function
|
D | CGCleanup.cpp | 29 return DominatingLLVMValue::needsSaving(rv.getScalarVal()); in needsSaving() 38 llvm::Value *V = rv.getScalarVal(); in save()
|
D | CodeGenFunction.cpp | 864 EmitLoadOfLValue(ThisFieldLValue, SourceLocation()).getScalarVal(); in StartFunction() 870 SourceLocation()).getScalarVal(); in StartFunction() 1832 llvm::Value *value = rvalue.getScalarVal(); in protectFromPeepholes()
|
D | CGDeclCXX.cpp | 189 EmitStoreOfScalar(RV.getScalarVal(), DeclAddr, false, T); in EmitCXXGlobalVarDeclInit()
|
D | CGOpenMPRuntime.cpp | 1002 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()
|
D | CGClass.cpp | 2128 Address Src(Args[1].RV.getScalarVal(), getNaturalTypeAlignment(SrcTy)); in EmitCXXConstructorCall() 2242 ? ParamValue::forDirect(RV.getScalarVal()) in EmitInlinedInheritingCXXConstructorCall()
|
D | CGExprComplex.cpp | 1107 Result = Val.getScalarVal(); in EmitScalarCompoundAssignWithComplex()
|
D | CGExprCXX.cpp | 1390 allocation = Address(RV.getScalarVal(), allocationAlign); in EmitCXXNewExpr()
|
D | CGObjCMac.cpp | 1614 CGF.EmitARCRelease(RV.getScalarVal(), ARCImpreciseLifetime); in complete() 1640 phi->addIncoming(result.getScalarVal(), callBB); in complete()
|
D | CGObjCGNU.cpp | 1484 llvm::Value *v = msgRet.getScalarVal(); in GenerateMessageSend()
|
D | MicrosoftCXXABI.cpp | 1855 return RV.getScalarVal(); in EmitVirtualDestructorCall()
|