reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

Declarations

tools/clang/lib/CodeGen/CodeGenFunction.h
 3887   llvm::Value *EmitScalarExpr(const Expr *E , bool IgnoreResultAssign = false);

References

gen/tools/clang/include/clang/Basic/arm_mve_builtin_cg.inc
   18   Value *Val2 = EmitScalarExpr(E->getArg(1));
   28   Value *Val2 = EmitScalarExpr(E->getArg(1));
   29   Value *Val3 = EmitScalarExpr(E->getArg(2));
  159   Value *Val0 = EmitScalarExpr(E->getArg(0));
  161   Value *Val2 = EmitScalarExpr(E->getArg(1));
  167   Value *Val0 = EmitScalarExpr(E->getArg(0));
  168   Value *Val1 = EmitScalarExpr(E->getArg(1));
  206   Value *Val0 = EmitScalarExpr(E->getArg(0));
  207   Value *Val1 = EmitScalarExpr(E->getArg(1));
  213   Value *Val0 = EmitScalarExpr(E->getArg(0));
  214   Value *Val1 = EmitScalarExpr(E->getArg(1));
  215   Value *Val2 = EmitScalarExpr(E->getArg(2));
  220   Value *Val7 = EmitScalarExpr(E->getArg(4));
  234   Value *Val0 = EmitScalarExpr(E->getArg(0));
  235   Value *Val1 = EmitScalarExpr(E->getArg(1));
  236   Value *Val2 = EmitScalarExpr(E->getArg(2));
  238   Value *Val4 = EmitScalarExpr(E->getArg(4));
  253   Value *Val0 = EmitScalarExpr(E->getArg(0));
  254   Value *Val1 = EmitScalarExpr(E->getArg(1));
  277   Value *Val0 = EmitScalarExpr(E->getArg(0));
  278   Value *Val1 = EmitScalarExpr(E->getArg(1));
  280   Value *Val3 = EmitScalarExpr(E->getArg(2));
  296   Value *Val0 = EmitScalarExpr(E->getArg(0));
  297   Value *Val1 = EmitScalarExpr(E->getArg(1));
  307   Value *Val0 = EmitScalarExpr(E->getArg(0));
  308   Value *Val1 = EmitScalarExpr(E->getArg(1));
  313   Value *Val0 = EmitScalarExpr(E->getArg(0));
  314   Value *Val1 = EmitScalarExpr(E->getArg(1));
  319   Value *Val0 = EmitScalarExpr(E->getArg(0));
  320   Value *Val1 = EmitScalarExpr(E->getArg(1));
  329   Value *Val0 = EmitScalarExpr(E->getArg(0));
  330   Value *Val1 = EmitScalarExpr(E->getArg(1));
  334   Value *Val0 = EmitScalarExpr(E->getArg(0));
  339   Value *Val5 = EmitScalarExpr(E->getArg(1));
  450   Value *Val0 = EmitScalarExpr(E->getArg(1));
  451   Value *Val1 = EmitScalarExpr(E->getArg(2));
  452   Value *Val2 = EmitScalarExpr(E->getArg(3));
  455   Value *Val5 = EmitScalarExpr(E->getArg(0));
tools/clang/lib/CodeGen/CGAtomic.cpp
  779   llvm::Value *Order = EmitScalarExpr(E->getOrder());
  781       E->getScopeModel() ? EmitScalarExpr(E->getScope()) : nullptr;
  817     OrderFail = EmitScalarExpr(E->getOrderFail());
  820       IsWeak = EmitScalarExpr(E->getWeak());
  833       llvm::Value *Val1Scalar = EmitScalarExpr(E->getVal1());
 2010     llvm::Value *value = EmitScalarExpr(init);
tools/clang/lib/CodeGen/CGBlocks.cpp
 1257   llvm::Value *BlockPtr = EmitScalarExpr(E->getCallee());
tools/clang/lib/CodeGen/CGBuiltin.cpp
  126   llvm::Value *DestPtr = CGF.EmitScalarExpr(E->getArg(0));
  136   Args[1] = CGF.EmitScalarExpr(E->getArg(1));
  146   Value *Val = CGF.EmitScalarExpr(E->getArg(0));
  147   Value *Address = CGF.EmitScalarExpr(E->getArg(1));
  160   Value *Address = CGF.EmitScalarExpr(E->getArg(0));
  187   llvm::Value *DestPtr = CGF.EmitScalarExpr(E->getArg(0));
  196   Args[1] = CGF.EmitScalarExpr(E->getArg(1));
  228   llvm::Value *DestPtr = CGF.EmitScalarExpr(E->getArg(0));
  237   Args[1] = CGF.EmitScalarExpr(E->getArg(1));
  240   Args[2] = EmitToInt(CGF, CGF.EmitScalarExpr(E->getArg(2)), T, IntType);
  279   auto *Destination = CGF.EmitScalarExpr(E->getArg(0));
  280   auto *Comparand = CGF.EmitScalarExpr(E->getArg(2));
  281   auto *Exchange = CGF.EmitScalarExpr(E->getArg(1));
  302                    CGF.EmitScalarExpr(E->getArg(0)),
  315                    CGF.EmitScalarExpr(E->getArg(0)),
  323   Value *Ptr = CGF.EmitScalarExpr(E->getArg(0));
  336   Value *Ptr = CGF.EmitScalarExpr(E->getArg(0));
  337   Value *Value = CGF.EmitScalarExpr(E->getArg(1));
  354   llvm::Value *Src0 = CGF.EmitScalarExpr(E->getArg(0));
  364   llvm::Value *Src0 = CGF.EmitScalarExpr(E->getArg(0));
  365   llvm::Value *Src1 = CGF.EmitScalarExpr(E->getArg(1));
  375   llvm::Value *Src0 = CGF.EmitScalarExpr(E->getArg(0));
  376   llvm::Value *Src1 = CGF.EmitScalarExpr(E->getArg(1));
  377   llvm::Value *Src2 = CGF.EmitScalarExpr(E->getArg(2));
  387   llvm::Value *Src0 = CGF.EmitScalarExpr(E->getArg(0));
  388   llvm::Value *Src1 = CGF.EmitScalarExpr(E->getArg(1));
  399    llvm::Value *Src0 = CGF.EmitScalarExpr(E->getArg(0));
  603   Value *Ptr = EmittedE ? EmittedE : EmitScalarExpr(E);
  745   Value *BitBase = CGF.EmitScalarExpr(E->getArg(0));
  746   Value *BitPos = CGF.EmitScalarExpr(E->getArg(1));
  864       CGF.EmitScalarExpr(E->getArg(0)), CGF.Int8PtrTy);
  916     Value *ArgValue = EmitScalarExpr(E->getArg(1));
  920       EmitScalarExpr(E->getArg(0))->getType()->getPointerElementType();
 1072     llvm::CallInst *CI = Builder.CreateCall(IA, EmitScalarExpr(E->getArg(0)));
 1097   Value *ArgValue = EmitScalarExpr(E);
 1250       ArgVal = EmitScalarExpr(TheExpr, /*Ignore*/ false);
 1321   llvm::Value *Signed = CGF.EmitScalarExpr(SignedOp);
 1322   llvm::Value *Unsigned = CGF.EmitScalarExpr(UnsignedOp);
 1517   llvm::Value *Src = EmitScalarExpr(E->getArg(0));
 1518   llvm::Value *ShiftAmt = EmitScalarExpr(E->getArg(1));
 1655       Value *Arg1 = EmitScalarExpr(E->getArg(0));
 1656       Value *Arg2 = EmitScalarExpr(E->getArg(1));
 1797                            ? EmitScalarExpr(E->getArg(0))
 1816     Value *ArgValue = EmitScalarExpr(E->getArg(0));
 1852     Value *Func = EmitScalarExpr(E->getArg(1)->IgnoreImpCasts());
 1858     Value *RecordPtr = EmitScalarExpr(Arg0);
 1870       return RValue::get(EmitScalarExpr(E->getArg(0)));
 1876       return RValue::get(EmitScalarExpr(E->getArg(0)));
 1880     Value *Res = EmitScalarExpr(E->getArg(0));
 1899     Value *ArgValue = EmitScalarExpr(E->getArg(0));
 1953     Value *ArgValue = EmitScalarExpr(E->getArg(0));
 1974     Value *ArgValue = EmitScalarExpr(E->getArg(0));
 1990     Value *ArgValue = EmitScalarExpr(E->getArg(0));
 2008     Value *ArgValue = EmitScalarExpr(E->getArg(0));
 2024     return RValue::get(EmitScalarExpr(E->getArg(0)));
 2027     Value *ArgValue = EmitScalarExpr(E->getArg(0));
 2030     Value *ExpectedValue = EmitScalarExpr(E->getArg(1));
 2044     Value *PtrValue = EmitScalarExpr(Ptr);
 2046       (E->getNumArgs() > 2) ? EmitScalarExpr(E->getArg(2)) : nullptr;
 2048     Value *AlignmentValue = EmitScalarExpr(E->getArg(1));
 2064     Value *ArgValue = EmitScalarExpr(E->getArg(0));
 2119     Value *ArgValue = EmitScalarExpr(Arg);
 2146     Value *Locality, *RW, *Address = EmitScalarExpr(E->getArg(0));
 2148     RW = (E->getNumArgs() > 1) ? EmitScalarExpr(E->getArg(1)) :
 2150     Locality = (E->getNumArgs() > 2) ? EmitScalarExpr(E->getArg(2)) :
 2161     Value *Begin = EmitScalarExpr(E->getArg(0));
 2162     Value *End = EmitScalarExpr(E->getArg(1));
 2182     Value *Base = EmitScalarExpr(E->getArg(0));
 2183     Value *Exponent = EmitScalarExpr(E->getArg(1));
 2197     Value *LHS = EmitScalarExpr(E->getArg(0));
 2198     Value *RHS = EmitScalarExpr(E->getArg(1));
 2225     Value *V = EmitScalarExpr(E->getArg(0));
 2241     Value *V = EmitScalarExpr(E->getArg(0));
 2253     Value *Arg = EmitScalarExpr(E->getArg(0));
 2270     Value *V = EmitScalarExpr(E->getArg(0));
 2298     Value *V = EmitScalarExpr(E->getArg(5));
 2313     Value *ZeroLiteral = EmitScalarExpr(E->getArg(4));
 2321     Value *NanLiteral = EmitScalarExpr(E->getArg(0));
 2332     Value *InfLiteral = EmitScalarExpr(E->getArg(1));
 2345       Builder.CreateSelect(IsNormal, EmitScalarExpr(E->getArg(2)),
 2346                            EmitScalarExpr(E->getArg(3)));
 2358     Value *Size = EmitScalarExpr(E->getArg(0));
 2372     Value *Size = EmitScalarExpr(E->getArg(0));
 2373     Value *AlignmentInBitsValue = EmitScalarExpr(E->getArg(1));
 2387     Value *SizeVal = EmitScalarExpr(E->getArg(1));
 2397     Value *SizeVal = EmitScalarExpr(E->getArg(2));
 2430     Value *SizeVal = EmitScalarExpr(E->getArg(2));
 2457     Value *SizeVal = EmitScalarExpr(E->getArg(2));
 2468     Value *ByteVal = Builder.CreateTrunc(EmitScalarExpr(E->getArg(1)),
 2470     Value *SizeVal = EmitScalarExpr(E->getArg(2));
 2487     Value *ByteVal = Builder.CreateTrunc(EmitScalarExpr(E->getArg(1)),
 2501     Value *Dst = EmitScalarExpr(E->getArg(0));
 2502     Value *Src = EmitScalarExpr(E->getArg(1));
 2503     Value *Size = EmitScalarExpr(E->getArg(2));
 2582     Value *Address = EmitScalarExpr(E->getArg(0));
 2587     Value *Address = EmitScalarExpr(E->getArg(0));
 2602     Value *Address = EmitScalarExpr(E->getArg(0));
 2608     Value *Int = EmitScalarExpr(E->getArg(0));
 2609     Value *Ptr = EmitScalarExpr(E->getArg(1));
 2641     Value *Ptr = EmitScalarExpr(E->getArg(0));
 2676     Value *Buf = EmitScalarExpr(E->getArg(0));
 2693     Value *Ptr = EmitScalarExpr(Arg);
 2840     Value *Ptr = EmitScalarExpr(E->getArg(0));
 2876     Args.add(RValue::get(EmitScalarExpr(E->getArg(0))),
 2879       Args.add(RValue::get(EmitScalarExpr(E->getArg(1))),
 2899     Value *Ptr = EmitScalarExpr(E->getArg(0));
 2903     Value *Order = EmitScalarExpr(E->getArg(1));
 2986     Value *Order = EmitScalarExpr(E->getArg(1));
 3044     Value *Order = EmitScalarExpr(E->getArg(0));
 3107         Builder.CreateZExt(EmitSignBit(*this, EmitScalarExpr(E->getArg(0))),
 3134     llvm::Value *AnnVal = EmitScalarExpr(E->getArg(0));
 3173     llvm::Value *X = EmitScalarExpr(E->getArg(0));
 3174     llvm::Value *Y = EmitScalarExpr(E->getArg(1));
 3175     llvm::Value *Carryin = EmitScalarExpr(E->getArg(2));
 3264     llvm::Value *Left = EmitScalarExpr(LeftArg);
 3265     llvm::Value *Right = EmitScalarExpr(RightArg);
 3322     llvm::Value *X = EmitScalarExpr(E->getArg(0));
 3323     llvm::Value *Y = EmitScalarExpr(E->getArg(1));
 3386                     EmitScalarExpr(Chain));
 3403       Builder.CreateBitCast(EmitScalarExpr(E->getArg(0)), IntPtrType);
 3405     llvm::Value *Exchange = EmitScalarExpr(E->getArg(1));
 3410       Builder.CreatePtrToInt(EmitScalarExpr(E->getArg(2)), IntType);
 3564     Value *Arg0 = EmitScalarExpr(E->getArg(0)),
 3565           *Arg1 = EmitScalarExpr(E->getArg(1));
 3597       Value *Arg2 = EmitScalarExpr(E->getArg(2)),
 3598             *Arg3 = EmitScalarExpr(E->getArg(3));
 3634     Value *Arg0 = EmitScalarExpr(E->getArg(0)),
 3635           *Arg1 = EmitScalarExpr(E->getArg(1));
 3675     Value *Arg0 = EmitScalarExpr(E->getArg(0)),
 3676           *Arg1 = EmitScalarExpr(E->getArg(1));
 3704     Value *Arg0 = EmitScalarExpr(E->getArg(0));
 3720     auto Arg0 = EmitScalarExpr(E->getArg(0));
 3750     llvm::Value *Queue = EmitScalarExpr(E->getArg(0));
 3751     llvm::Value *Flags = EmitScalarExpr(E->getArg(1));
 3807             Builder.CreateZExtOrTrunc(EmitScalarExpr(E->getArg(I)), SizeTy);
 3852           Builder.CreateZExtOrTrunc(EmitScalarExpr(E->getArg(3)), Int32Ty);
 3864                         : EmitScalarExpr(E->getArg(4));
 3874             Builder.CreatePointerCast(EmitScalarExpr(E->getArg(5)), EventPtrTy);
 3978     Value *Val = EmitScalarExpr(E->getArg(0));
 4027     auto Arg0Val = EmitScalarExpr(Arg0);
 4036     auto Arg1 = EmitScalarExpr(E->getArg(1));
 4060     auto Arg0 = EmitScalarExpr(E->getArg(0));
 4065     auto Arg1Val = EmitScalarExpr(Arg1);
 4074     auto Arg2 = EmitScalarExpr(E->getArg(2));
 4120                       cast<llvm::Constant>(EmitScalarExpr(E->getCallee())));
 4163         ArgValue = EmitScalarExpr(E->getArg(i));
 5955   llvm::Value *ArgValue = CGF.EmitScalarExpr(E->getArg(1));
 6036     Value *Option = EmitScalarExpr(E->getArg(0));
 6041     Value *Address = EmitScalarExpr(E->getArg(0));
 6042     Value *RW      = EmitScalarExpr(E->getArg(1));
 6043     Value *IsData  = EmitScalarExpr(E->getArg(2));
 6053     llvm::Value *Arg = EmitScalarExpr(E->getArg(0));
 6059     llvm::Value *Arg = EmitScalarExpr(E->getArg(0));
 6063     llvm::Value *Arg = EmitScalarExpr(E->getArg(0));
 6073       Ops[i] = EmitScalarExpr(E->getArg(i));
 6101     Value *Coproc = EmitScalarExpr(E->getArg(0));
 6102     Value *Opc1 = EmitScalarExpr(E->getArg(1));
 6103     Value *RtAndRt2 = EmitScalarExpr(E->getArg(2));
 6104     Value *CRm = EmitScalarExpr(E->getArg(3));
 6128     Value *Coproc = EmitScalarExpr(E->getArg(0));
 6129     Value *Opc1 = EmitScalarExpr(E->getArg(1));
 6130     Value *CRm  = EmitScalarExpr(E->getArg(2));
 6167     Value *LdPtr = EmitScalarExpr(E->getArg(0));
 6184     Value *LoadAddr = EmitScalarExpr(E->getArg(0));
 6218     Value *Val = EmitScalarExpr(E->getArg(0));
 6226     Value *StPtr = Builder.CreateBitCast(EmitScalarExpr(E->getArg(1)), Int8PtrTy);
 6232     Value *StoreVal = EmitScalarExpr(E->getArg(0));
 6233     Value *StoreAddr = EmitScalarExpr(E->getArg(1));
 6282     Value *Arg0 = EmitScalarExpr(E->getArg(0));
 6283     Value *Arg1 = EmitScalarExpr(E->getArg(1));
 6417       Ops.push_back(EmitScalarExpr(E->getArg(i)));
 6444     Value *Arg = EmitScalarExpr(E->getArg(0));
 6832     Ops.push_back(EmitScalarExpr(Addr));
 6854     Ops.push_back(EmitScalarExpr(Addr));
 7084     Value *Address         = EmitScalarExpr(E->getArg(0));
 7085     Value *RW              = EmitScalarExpr(E->getArg(1));
 7086     Value *CacheLevel      = EmitScalarExpr(E->getArg(2));
 7087     Value *RetentionPolicy = EmitScalarExpr(E->getArg(3));
 7088     Value *IsData          = EmitScalarExpr(E->getArg(4));
 7109     llvm::Value *Arg = EmitScalarExpr(E->getArg(0));
 7116     llvm::Value *Arg = EmitScalarExpr(E->getArg(0));
 7122     llvm::Value *Arg = EmitScalarExpr(E->getArg(0));
 7127     llvm::Value *Arg = EmitScalarExpr(E->getArg(0));
 7135     llvm::Value *Arg = EmitScalarExpr(E->getArg(0));
 7145       Ops[i] = EmitScalarExpr(E->getArg(i));
 7159     Value *LdPtr = EmitScalarExpr(E->getArg(0));
 7175     Value *LoadAddr = EmitScalarExpr(E->getArg(0));
 7214     Value *StPtr = Builder.CreateBitCast(EmitScalarExpr(E->getArg(1)),
 7221     Value *StoreVal = EmitScalarExpr(E->getArg(0));
 7222     Value *StoreAddr = EmitScalarExpr(E->getArg(1));
 7295     Value *Arg0 = EmitScalarExpr(E->getArg(0));
 7296     Value *Arg1 = EmitScalarExpr(E->getArg(1));
 7326       Value *Pointer = EmitScalarExpr(E->getArg(0));
 7327       Value *Mask = EmitScalarExpr(E->getArg(1));
 7336       Value *Pointer = EmitScalarExpr(E->getArg(0));
 7337       Value *TagOffset = EmitScalarExpr(E->getArg(1));
 7346       Value *Pointer = EmitScalarExpr(E->getArg(0));
 7347       Value *ExcludedMask = EmitScalarExpr(E->getArg(1));
 7358       Value *TagAddress = EmitScalarExpr(E->getArg(0));
 7368         Value *TagAddress = EmitScalarExpr(E->getArg(0));
 7374       Value *PointerA = EmitScalarExpr(E->getArg(0));
 7375       Value *PointerB = EmitScalarExpr(E->getArg(1));
 7442     llvm::Value *ArgValue = EmitScalarExpr(E->getArg(1));
 7468       Ops.push_back(EmitScalarExpr(E->getArg(i)));
 7485     Ops.push_back(EmitScalarExpr(E->getArg(E->getNumArgs() - 1)));
 7505     Ops.push_back(EmitScalarExpr(E->getArg(0)));
 7510     Value *Ptr = Builder.CreateBitCast(EmitScalarExpr(E->getArg(0)), Int128PTy);
 7517     return Builder.CreateDefaultAlignedStore(EmitScalarExpr(E->getArg(1)), Ptr);
 7525     Ops.push_back(EmitScalarExpr(E->getArg(0)));
 7540     Ops.push_back(EmitScalarExpr(E->getArg(0)));
 7557     Ops.push_back(EmitScalarExpr(E->getArg(0)));
 7575     Ops.push_back(EmitScalarExpr(E->getArg(0)));
 7585     Ops.push_back(EmitScalarExpr(E->getArg(0)));
 7595     Ops.push_back(EmitScalarExpr(E->getArg(0)));
 7613     Ops.push_back(EmitScalarExpr(E->getArg(0)));
 7644     Ops.push_back(EmitScalarExpr(E->getArg(1)));
 7665     Ops.push_back(EmitScalarExpr(E->getArg(1)));
 7682     Ops.push_back(EmitScalarExpr(E->getArg(1)));
 7698     Value *Vec = EmitScalarExpr(E->getArg(0));
 7711     Value *Vec = EmitScalarExpr(E->getArg(0));
 7724     Value *Vec = EmitScalarExpr(E->getArg(0));
 7738     Ops.push_back(EmitScalarExpr(E->getArg(0)));
 7746     Ops.push_back(EmitScalarExpr(E->getArg(0)));
 7754     Ops.push_back(EmitScalarExpr(E->getArg(0)));
 7762     Ops.push_back(EmitScalarExpr(E->getArg(0)));
 7770     Ops.push_back(EmitScalarExpr(E->getArg(0)));
 7776     Ops.push_back(EmitScalarExpr(E->getArg(0)));
 7796     Ops.push_back(EmitScalarExpr(E->getArg(1)));
 7816     Ops.push_back(EmitScalarExpr(E->getArg(1)));
 7836     Ops.push_back(EmitScalarExpr(E->getArg(1)));
 7866     Ops.push_back(EmitScalarExpr(E->getArg(1)));
 7874     Ops.push_back(EmitScalarExpr(E->getArg(1)));
 7892     Ops.push_back(EmitScalarExpr(E->getArg(2)));
 7898     Ops.push_back(EmitScalarExpr(E->getArg(2)));
 7904     Ops.push_back(EmitScalarExpr(E->getArg(2)));
 7910     return Builder.CreateExtractElement(Ops[0], EmitScalarExpr(E->getArg(1)),
 7915     return Builder.CreateExtractElement(Ops[0], EmitScalarExpr(E->getArg(1)),
 7920     return Builder.CreateExtractElement(Ops[0], EmitScalarExpr(E->getArg(1)),
 7925     return Builder.CreateExtractElement(Ops[0], EmitScalarExpr(E->getArg(1)),
 7930     return Builder.CreateExtractElement(Ops[0], EmitScalarExpr(E->getArg(1)),
 7935     return Builder.CreateExtractElement(Ops[0], EmitScalarExpr(E->getArg(1)),
 7940     return Builder.CreateExtractElement(Ops[0], EmitScalarExpr(E->getArg(1)),
 7945     return Builder.CreateExtractElement(Ops[0], EmitScalarExpr(E->getArg(1)),
 7950     return Builder.CreateExtractElement(Ops[0], EmitScalarExpr(E->getArg(1)),
 7955     return Builder.CreateExtractElement(Ops[0], EmitScalarExpr(E->getArg(1)),
 7960     return Builder.CreateExtractElement(Ops[0], EmitScalarExpr(E->getArg(1)),
 7965     return Builder.CreateExtractElement(Ops[0], EmitScalarExpr(E->getArg(1)),
 7971     return Builder.CreateExtractElement(Ops[0], EmitScalarExpr(E->getArg(1)),
 7977     return Builder.CreateExtractElement(Ops[0], EmitScalarExpr(E->getArg(1)),
 7980     Ops.push_back(EmitScalarExpr(E->getArg(1)));
 7983     Ops.push_back(EmitScalarExpr(E->getArg(1)));
 7986     Ops.push_back(EmitScalarExpr(E->getArg(1)));
 7989     Ops.push_back(EmitScalarExpr(E->getArg(1)));
 7995       {EmitScalarExpr(E->getArg(1)), EmitScalarExpr(E->getArg(2)), Ops[0]});
 7995       {EmitScalarExpr(E->getArg(1)), EmitScalarExpr(E->getArg(2)), Ops[0]});
 8000     Value* Sub = Builder.CreateFSub(Zero, EmitScalarExpr(E->getArg(1)), "vsubh");
 8002     return Builder.CreateCall(F, {Sub, EmitScalarExpr(E->getArg(2)), Ops[0]});
 8006     return Builder.CreateAdd(Ops[0], EmitScalarExpr(E->getArg(1)), "vaddd");
 8009     return Builder.CreateSub(Ops[0], EmitScalarExpr(E->getArg(1)), "vsubd");
 8014     ProductOps.push_back(vectorWrapScalar16(EmitScalarExpr(E->getArg(2))));
 8027     Ops.push_back(EmitScalarExpr(E->getArg(1)));
 8037     Ops.push_back(EmitScalarExpr(E->getArg(1)));
 8046     Ops.push_back(EmitScalarExpr(E->getArg(1)));
 8057     Ops.push_back(Builder.CreateNeg(EmitScalarExpr(E->getArg(2))));
 8064     llvm::ConstantInt *Amt = cast<ConstantInt>(EmitScalarExpr(E->getArg(1)));
 8069     llvm::ConstantInt *Amt = cast<ConstantInt>(EmitScalarExpr(E->getArg(1)));
 8076     llvm::ConstantInt *Amt = cast<ConstantInt>(EmitScalarExpr(E->getArg(1)));
 8085     llvm::ConstantInt *Amt = cast<ConstantInt>(EmitScalarExpr(E->getArg(2)));
 8093     llvm::ConstantInt *Amt = cast<ConstantInt>(EmitScalarExpr(E->getArg(2)));
 8107     Ops[2] = Builder.CreateExtractElement(Ops[2], EmitScalarExpr(E->getArg(3)),
 8129     ProductOps.push_back(EmitScalarExpr(E->getArg(2)));
 8143     Ops[2] = Builder.CreateExtractElement(Ops[2], EmitScalarExpr(E->getArg(3)),
 8160     return Builder.CreateExtractElement(Ops[0], EmitScalarExpr(E->getArg(1)),
 8164     return Builder.CreateExtractElement(Ops[0], EmitScalarExpr(E->getArg(1)),
 8305     Value *Arg0 = EmitScalarExpr(E->getArg(0));
 8306     Value *Arg1 = EmitScalarExpr(E->getArg(1));
 8414     Ops.push_back(EmitScalarExpr(E->getArg(3)));
 8432     Ops.push_back(EmitScalarExpr(E->getArg(1)));
 8443     Ops.push_back(EmitScalarExpr(E->getArg(1)));
 8486     Ops.push_back(EmitScalarExpr(E->getArg(1)));
 8494     Ops.push_back(EmitScalarExpr(E->getArg(1)));
 8498     Ops.push_back(EmitScalarExpr(E->getArg(1)));
 8503     Ops.push_back(EmitScalarExpr(E->getArg(1)));
 8507     Ops.push_back(EmitScalarExpr(E->getArg(1)));
 8526     Ops.push_back(EmitScalarExpr(E->getArg(0)));
 8536     Ops.push_back(EmitScalarExpr(E->getArg(0)));
 8541     Ops.push_back(EmitScalarExpr(E->getArg(0)));
 8551     Ops.push_back(EmitScalarExpr(E->getArg(0)));
 8561     Ops.push_back(EmitScalarExpr(E->getArg(0)));
 8566     Ops.push_back(EmitScalarExpr(E->getArg(0)));
 8576     Ops.push_back(EmitScalarExpr(E->getArg(0)));
 8586     Ops.push_back(EmitScalarExpr(E->getArg(0)));
 8707     Ops.push_back(EmitScalarExpr(E->getArg(2)));
 8728     return Builder.CreateNeg(EmitScalarExpr(E->getArg(0)), "vnegd");
 8730     return Builder.CreateFNeg(EmitScalarExpr(E->getArg(0)), "vnegh");
 8742     Ops.push_back(EmitScalarExpr(E->getArg(0)));
 8766     Ops.push_back(EmitScalarExpr(E->getArg(0)));
 8778     Ops.push_back(EmitScalarExpr(E->getArg(0)));
 8790     Ops.push_back(EmitScalarExpr(E->getArg(0)));
 8802     Ops.push_back(EmitScalarExpr(E->getArg(0)));
 8811     Ops.push_back(EmitScalarExpr(E->getArg(0)));
 8820     Ops.push_back(EmitScalarExpr(E->getArg(0)));
 8829     Ops.push_back(EmitScalarExpr(E->getArg(0)));
 8838     Ops.push_back(EmitScalarExpr(E->getArg(0)));
 8847     Ops.push_back(EmitScalarExpr(E->getArg(0)));
 8856     Ops.push_back(EmitScalarExpr(E->getArg(0)));
 8865     Ops.push_back(EmitScalarExpr(E->getArg(0)));
 8874     Ops.push_back(EmitScalarExpr(E->getArg(0)));
 8883     Ops.push_back(EmitScalarExpr(E->getArg(0)));
 8892     Ops.push_back(EmitScalarExpr(E->getArg(0)));
 8901     Ops.push_back(EmitScalarExpr(E->getArg(0)));
 8910     Ops.push_back(EmitScalarExpr(E->getArg(0)));
 8919     Ops.push_back(EmitScalarExpr(E->getArg(0)));
 8928     Ops.push_back(EmitScalarExpr(E->getArg(0)));
 8937     Ops.push_back(EmitScalarExpr(E->getArg(0)));
 8946     Ops.push_back(EmitScalarExpr(E->getArg(0)));
 8955     Ops.push_back(EmitScalarExpr(E->getArg(0)));
 8964     Ops.push_back(EmitScalarExpr(E->getArg(0)));
 8973     Ops.push_back(EmitScalarExpr(E->getArg(0)));
 8982     Ops.push_back(EmitScalarExpr(E->getArg(0)));
 8991     Ops.push_back(EmitScalarExpr(E->getArg(0)));
 9000     Ops.push_back(EmitScalarExpr(E->getArg(0)));
 9009     Ops.push_back(EmitScalarExpr(E->getArg(0)));
 9018     Ops.push_back(EmitScalarExpr(E->getArg(0)));
 9024     Value *RHS = Builder.CreateBitCast(EmitScalarExpr(E->getArg(1)), DoubleTy);
 9032     Ops.push_back(EmitScalarExpr(E->getArg(0)));
 9041     Ops.push_back(EmitScalarExpr(E->getArg(0)));
 9049     Ops.push_back(EmitScalarExpr(E->getArg(0)));
 9058     Ops.push_back(EmitScalarExpr(E->getArg(0)));
 9066     Ops.push_back(EmitScalarExpr(E->getArg(0)));
 9075     Ops.push_back(EmitScalarExpr(E->getArg(0)));
 9083     Ops.push_back(EmitScalarExpr(E->getArg(0)));
 9092     Ops.push_back(EmitScalarExpr(E->getArg(0)));
 9453   ConstantInt *C = cast<ConstantInt>(EmitScalarExpr(E->getArg(1)));
10176       Ops.push_back(EmitScalarExpr(E->getArg(i)));
12384     Ops.push_back(EmitScalarExpr(E->getArg(i)));
12531     Value *X = EmitScalarExpr(E->getArg(0));
12542     Value *X = EmitScalarExpr(E->getArg(0));
12552     Value *X = EmitScalarExpr(E->getArg(0));
12562     Value *X = EmitScalarExpr(E->getArg(0));
12570     Value *X = EmitScalarExpr(E->getArg(0));
12571     Value *Y = EmitScalarExpr(E->getArg(1));
12588     Value *X = EmitScalarExpr(E->getArg(0));
12612     Value *X = EmitScalarExpr(E->getArg(0));
12627     Value *X = EmitScalarExpr(E->getArg(0));
12628     Value *Y = EmitScalarExpr(E->getArg(1));
12629     Value *Z = EmitScalarExpr(E->getArg(2));
12833     llvm::Value *X = EmitScalarExpr(E->getArg(0));
12834     llvm::Value *Y = EmitScalarExpr(E->getArg(1));
12835     llvm::Value *Z = EmitScalarExpr(E->getArg(2));
12854     llvm::Value *Src0 = EmitScalarExpr(E->getArg(0));
12855     llvm::Value *Src1 = EmitScalarExpr(E->getArg(1));
12856     llvm::Value *Src2 = EmitScalarExpr(E->getArg(2));
12857     llvm::Value *Src3 = EmitScalarExpr(E->getArg(3));
12873       Args.push_back(EmitScalarExpr(E->getArg(I)));
12917     Value *Src0 = EmitScalarExpr(E->getArg(0));
12923     Value *Src0 = EmitScalarExpr(E->getArg(0));
12942     llvm::Value *Src0 = EmitScalarExpr(E->getArg(0));
12943     llvm::Value *Src1 = EmitScalarExpr(E->getArg(1));
12944     llvm::Value *Src2 = EmitScalarExpr(E->getArg(2));
12953     llvm::Value *Src0 = EmitScalarExpr(E->getArg(0));
12954     llvm::Value *Src1 = EmitScalarExpr(E->getArg(1));
12955     llvm::Value *Src2 = EmitScalarExpr(E->getArg(2));
12973     Value *Src0 = EmitScalarExpr(E->getArg(0));
13024     Args[I] = CGF.EmitScalarExpr(E->getArg(I));
13037     Value *TDB = EmitScalarExpr(E->getArg(0));
13043     Value *TDB = EmitScalarExpr(E->getArg(0));
13055     Value *Data = EmitScalarExpr(E->getArg(0));
13060     Value *Address = EmitScalarExpr(E->getArg(0));
13061     Value *Data = EmitScalarExpr(E->getArg(1));
13076     Value *X = EmitScalarExpr(E->getArg(0));
13086     Value *X = EmitScalarExpr(E->getArg(0));
13097     Value *X = EmitScalarExpr(E->getArg(0));
13106     Value *X = EmitScalarExpr(E->getArg(0));
13113     Value *X = EmitScalarExpr(E->getArg(0));
13114     Value *Y = EmitScalarExpr(E->getArg(1));
13115     Value *Z = EmitScalarExpr(E->getArg(2));
13122     Value *X = EmitScalarExpr(E->getArg(0));
13123     Value *Y = EmitScalarExpr(E->getArg(1));
13124     Value *Z = EmitScalarExpr(E->getArg(2));
13132     Value *X = EmitScalarExpr(E->getArg(0));
13133     Value *Y = EmitScalarExpr(E->getArg(1));
13134     Value *Z = EmitScalarExpr(E->getArg(2));
13142     Value *X = EmitScalarExpr(E->getArg(0));
13143     Value *Y = EmitScalarExpr(E->getArg(1));
13144     Value *Z = EmitScalarExpr(E->getArg(2));
13153     Value *X = EmitScalarExpr(E->getArg(0));
13160     Value *X = EmitScalarExpr(E->getArg(0));
13168     Value *X = EmitScalarExpr(E->getArg(0));
13214     Value *X = EmitScalarExpr(E->getArg(0));
13215     Value *Y = EmitScalarExpr(E->getArg(1));
13244     Value *X = EmitScalarExpr(E->getArg(0));
13245     Value *Y = EmitScalarExpr(E->getArg(1));
13276     Value *X = EmitScalarExpr(E->getArg(0));
13618     Value *Ptr = EmitScalarExpr(E->getArg(0));
13627     Value *Ptr = EmitScalarExpr(E->getArg(0));
13631         {Ptr, EmitScalarExpr(E->getArg(1))});
13693     Value *Ptr = EmitScalarExpr(E->getArg(0));
13694     Value *Val = EmitScalarExpr(E->getArg(1));
13700     Value *Ptr = EmitScalarExpr(E->getArg(0));
13701     Value *Val = EmitScalarExpr(E->getArg(1));
13708     Value *Ptr = EmitScalarExpr(E->getArg(0));
13709     Value *Val = EmitScalarExpr(E->getArg(1));
13835     Value *Ptr = EmitScalarExpr(E->getArg(0));
13840         {Ptr, EmitScalarExpr(E->getArg(1)), EmitScalarExpr(E->getArg(2))});
13840         {Ptr, EmitScalarExpr(E->getArg(1)), EmitScalarExpr(E->getArg(2))});
13845     Value *Ptr = EmitScalarExpr(E->getArg(0));
13850         {Ptr, EmitScalarExpr(E->getArg(1)), EmitScalarExpr(E->getArg(2))});
13850         {Ptr, EmitScalarExpr(E->getArg(1)), EmitScalarExpr(E->getArg(2))});
13854     Value *Mask = EmitScalarExpr(E->getArg(0));
13855     Value *Val = EmitScalarExpr(E->getArg(1));
13908     Value *Src = EmitScalarExpr(E->getArg(1));
13909     Value *Ldm = EmitScalarExpr(E->getArg(2));
13951     Value *Dst = EmitScalarExpr(E->getArg(0));
13953     Value *Ldm = EmitScalarExpr(E->getArg(2));
14070     Value *I = EmitScalarExpr(E->getArg(0));
14077       EmitScalarExpr(E->getArg(0)),
14078       EmitScalarExpr(E->getArg(1))
14094                      EmitScalarExpr(E->getArg(2)), EmitScalarExpr(E->getArg(3)),
14094                      EmitScalarExpr(E->getArg(2)), EmitScalarExpr(E->getArg(3)),
14095                      EmitScalarExpr(E->getArg(4))};
14122     Value *Tag = EmitScalarExpr(E->getArg(0));
14123     Value *Obj = EmitScalarExpr(E->getArg(1));
14132     Value *Addr = EmitScalarExpr(E->getArg(0));
14133     Value *Expected = EmitScalarExpr(E->getArg(1));
14134     Value *Timeout = EmitScalarExpr(E->getArg(2));
14139     Value *Addr = EmitScalarExpr(E->getArg(0));
14140     Value *Expected = EmitScalarExpr(E->getArg(1));
14141     Value *Timeout = EmitScalarExpr(E->getArg(2));
14146     Value *Addr = EmitScalarExpr(E->getArg(0));
14147     Value *Count = EmitScalarExpr(E->getArg(1));
14155     Value *Src = EmitScalarExpr(E->getArg(0));
14165     Value *Src = EmitScalarExpr(E->getArg(0));
14177     Value *Src = EmitScalarExpr(E->getArg(0));
14189     Value *Src = EmitScalarExpr(E->getArg(0));
14199     Value *LHS = EmitScalarExpr(E->getArg(0));
14200     Value *RHS = EmitScalarExpr(E->getArg(1));
14209     Value *LHS = EmitScalarExpr(E->getArg(0));
14210     Value *RHS = EmitScalarExpr(E->getArg(1));
14216     Value *Src = EmitScalarExpr(E->getArg(0));
14217     Value *Indices = EmitScalarExpr(E->getArg(1));
14232     Value *Vec = EmitScalarExpr(E->getArg(0));
14260     Value *Vec = EmitScalarExpr(E->getArg(0));
14262     Value *Val = EmitScalarExpr(E->getArg(2));
14308     Value *LHS = EmitScalarExpr(E->getArg(0));
14309     Value *RHS = EmitScalarExpr(E->getArg(1));
14314     Value *V1 = EmitScalarExpr(E->getArg(0));
14315     Value *V2 = EmitScalarExpr(E->getArg(1));
14316     Value *C = EmitScalarExpr(E->getArg(2));
14346     Value *Vec = EmitScalarExpr(E->getArg(0));
14352     Value *Vec = EmitScalarExpr(E->getArg(0));
14358     Value *Vec = EmitScalarExpr(E->getArg(0));
14366     Value *A = EmitScalarExpr(E->getArg(0));
14367     Value *B = EmitScalarExpr(E->getArg(1));
14368     Value *C = EmitScalarExpr(E->getArg(2));
14389     Value *Low = EmitScalarExpr(E->getArg(0));
14390     Value *High = EmitScalarExpr(E->getArg(1));
14416     Value *Vec = EmitScalarExpr(E->getArg(0));
14460       Ops = { Base, EmitScalarExpr(E->getArg(1)), EmitScalarExpr(E->getArg(2)),
14460       Ops = { Base, EmitScalarExpr(E->getArg(1)), EmitScalarExpr(E->getArg(2)),
14461               EmitScalarExpr(E->getArg(3)) };
14463       Ops = { Base, EmitScalarExpr(E->getArg(1)),
14464               EmitScalarExpr(E->getArg(2)) };
14468     llvm::Value *LV = Builder.CreateBitCast(EmitScalarExpr(E->getArg(0)),
14485       Ops = { Base, EmitScalarExpr(E->getArg(1)), EmitScalarExpr(E->getArg(2)),
14485       Ops = { Base, EmitScalarExpr(E->getArg(1)), EmitScalarExpr(E->getArg(2)),
14486               EmitScalarExpr(E->getArg(3)), EmitScalarExpr(E->getArg(4)) };
14486               EmitScalarExpr(E->getArg(3)), EmitScalarExpr(E->getArg(4)) };
14488       Ops = { Base, EmitScalarExpr(E->getArg(1)),
14489               EmitScalarExpr(E->getArg(2)), EmitScalarExpr(E->getArg(3)) };
14489               EmitScalarExpr(E->getArg(2)), EmitScalarExpr(E->getArg(3)) };
14492     llvm::Value *LV = Builder.CreateBitCast(EmitScalarExpr(E->getArg(0)),
14508         Builder.CreateBitCast(EmitScalarExpr(E->getArg(0)), Int8PtrTy);
14521     Ops = {BaseAddress, EmitScalarExpr(E->getArg(2))};
14554     Ops = { EmitScalarExpr(E->getArg(0)), EmitScalarExpr(E->getArg(1)), QLd };
14554     Ops = { EmitScalarExpr(E->getArg(0)), EmitScalarExpr(E->getArg(1)), QLd };
14557     llvm::Value *Base = Builder.CreateBitCast(EmitScalarExpr(E->getArg(2)),
14576     Ops = { EmitScalarExpr(E->getArg(0)), EmitScalarExpr(E->getArg(1)), QLd };
14576     Ops = { EmitScalarExpr(E->getArg(0)), EmitScalarExpr(E->getArg(1)), QLd };
14579     llvm::Value *Base = Builder.CreateBitCast(EmitScalarExpr(E->getArg(2)),
tools/clang/lib/CodeGen/CGCall.cpp
 2406               EmitScalarExpr(AVAttr->getAlignment());
 4567         OffsetValue = EmitScalarExpr(Offset);
 4569       llvm::Value *Alignment = EmitScalarExpr(AA->getAlignment());
tools/clang/lib/CodeGen/CGClass.cpp
  676       RValue RHS = RValue::get(EmitScalarExpr(Init));
 1553       return CGF.EmitScalarExpr(ThisArg);
tools/clang/lib/CodeGen/CGCoroutine.cpp
  201   auto *SuspendRet = CGF.EmitScalarExpr(S.getSuspendExpr());
  568   auto *AllocateCall = EmitScalarExpr(S.getAllocate());
  735     Args.push_back(EmitScalarExpr(Arg));
tools/clang/lib/CodeGen/CGDecl.cpp
  744     llvm::Value *value = EmitScalarExpr(init);
  825     value = EmitScalarExpr(init);
tools/clang/lib/CodeGen/CGDeclCXX.cpp
   44       CGM.getObjCRuntime().EmitObjCGlobalAssign(CGF, CGF.EmitScalarExpr(Init),
   47       CGM.getObjCRuntime().EmitObjCWeakAssign(CGF, CGF.EmitScalarExpr(Init),
tools/clang/lib/CodeGen/CGException.cpp
 1901   llvm::Value *R = EmitScalarExpr(FilterExpr);
tools/clang/lib/CodeGen/CGExpr.cpp
  167     llvm::Value *MemPtr = EmitScalarExpr(E);
  174     return EmitScalarConversion(EmitScalarExpr(E), E->getType(), BoolTy, Loc);
  199     return RValue::get(EmitScalarExpr(E, ignoreResult));
  244     RValue RV = RValue::get(EmitScalarExpr(E, /*Ignore*/ false));
  581       llvm::Value *Ptr = EmitScalarExpr(Adjustment.Ptr.RHS);
 1141   return Address(EmitScalarExpr(E), Align);
 3454       (E->getLHS() == E->getIdx()) ? EmitScalarExpr(E->getIdx()) : nullptr;
 3460       Idx = EmitScalarExpr(E->getIdx());
 3661           EmitScalarExpr(LowerBound), IntPtrTy,
 3693                       EmitScalarExpr(LowerBound), IntPtrTy,
 3699                       EmitScalarExpr(Length), IntPtrTy,
 3727             EmitScalarExpr(Length), IntPtrTy,
 3823     llvm::Value *Vec = EmitScalarExpr(E->getBase());
 4589     calleePtr = EmitScalarExpr(E);
 4748     BaseValue = EmitScalarExpr(BaseExpr);
 4966   llvm::Value *OffsetV = EmitScalarExpr(E->getRHS());
tools/clang/lib/CodeGen/CGExprAgg.cpp
 1422       CGF.EmitStoreThroughLValue(RValue::get(CGF.EmitScalarExpr(E)), LV);
tools/clang/lib/CodeGen/CGExprCXX.cpp
  437   llvm::Value *MemFnPtr = EmitScalarExpr(MemFnExpr);
  700     numElements = CGF.EmitScalarExpr(*e->getArraySize());
tools/clang/lib/CodeGen/CGExprComplex.cpp
  401   llvm::Value *Imag = CGF.EmitScalarExpr(IL->getSubExpr());
  532     return EmitScalarToComplexCast(CGF.EmitScalarExpr(Op), Op->getType(),
  872     Ops.LHS = ComplexPairTy(CGF.EmitScalarExpr(E->getLHS()), nullptr);
  876     Ops.RHS = ComplexPairTy(CGF.EmitScalarExpr(E->getRHS()), nullptr);
  908     OpInfo.RHS = ComplexPairTy(CGF.EmitScalarExpr(E->getRHS()), nullptr);
 1069     llvm::Value *Real = CGF.EmitScalarExpr(E->getInit(0));
 1070     llvm::Value *Imag = CGF.EmitScalarExpr(E->getInit(1));
tools/clang/lib/CodeGen/CGExprScalar.cpp
  295     Value *AlignmentValue = CGF.EmitScalarExpr(AVAttr->getAlignment());
  694     CGF.EmitScalarExpr(E->getBase());
 1593     Value *LHS = CGF.EmitScalarExpr(E->getExpr(0));
 1594     Value *RHS = CGF.EmitScalarExpr(E->getExpr(1));
 1628   Value* V1 = CGF.EmitScalarExpr(E->getExpr(0));
 1629   Value* V2 = CGF.EmitScalarExpr(E->getExpr(1));
 1649   Value *Src  = CGF.EmitScalarExpr(E->getSrcExpr());
 2655       llvm::Value* Idx = CGF.EmitScalarExpr(IdxExpr);
 2804     CGF.EmitScalarExpr(Op, true);
 3736     Value *LHS = CGF.EmitScalarExpr(E->getLHS());
 3737     Value *RHS = CGF.EmitScalarExpr(E->getRHS());
 4192     llvm::Value *CondV = CGF.EmitScalarExpr(condExpr);
 4388   Value *Src  = CGF.EmitScalarExpr(E->getSrcExpr());
 4484     Addr = Address(EmitScalarExpr(BaseExpr), getPointerAlign());
tools/clang/lib/CodeGen/CGObjC.cpp
  170       llvm::Value *value = EmitScalarExpr(Rhs);
  180       llvm::Value *keyValue = EmitScalarExpr(Key);
  187       llvm::Value *valueValue = EmitScalarExpr(Value);
  473     Receiver = CGF.EmitScalarExpr(SelfInClassMethod);
  538       Receiver = EmitScalarExpr(E->getInstanceReceiver());
 1676     Collection = EmitScalarExpr(S.getCollection());
 2748     return TryEmitResult(CGF.EmitScalarExpr(e), false);
 2813   llvm::Value *value = CGF.EmitScalarExpr(e);
 2827   llvm::Value *value = CGF.EmitScalarExpr(e);
 3155     llvm::Value *result = CGF.EmitScalarExpr(e);
 3177       result = CGF.EmitScalarExpr(e);
 3215     llvm::Value *result = CGF.EmitScalarExpr(e);
 3278     result = EmitScalarExpr(e);
 3304   return EmitScalarExpr(expr);
 3324     return CGF.EmitScalarExpr(e);
 3330     llvm::Value *value = CGF.EmitScalarExpr(e);
 3348     return CGF.EmitScalarExpr(e);
 3353     return CGF.EmitScalarExpr(e);
 3387     value = EmitScalarExpr(e->getRHS());
tools/clang/lib/CodeGen/CGObjCMac.cpp
 4463       CGF.EmitScalarExpr(cast<ObjCAtSynchronizedStmt>(S).getSynchExpr());
tools/clang/lib/CodeGen/CGObjCRuntime.cpp
  338     lock = CGF.EmitScalarExpr(lockExpr);
tools/clang/lib/CodeGen/CGOpenCLRuntime.cpp
  162   CGF.EmitScalarExpr(E);
tools/clang/lib/CodeGen/CGOpenMPRuntime.cpp
 3214         CGF.EmitScalarExpr(Hint), CGM.IntPtrTy, /*isSigned=*/false));
 5101       DeviceID = CGF.Builder.CreateIntCast(CGF.EmitScalarExpr(Device),
 6627               CGF.EmitScalarExpr(NumTeams,
 6651           CGF.EmitScalarExpr(NumTeams,
 6784         NumThreads = CGF.EmitScalarExpr(NumThreadsClause->getNumThreads());
 6857         llvm::Value *ThreadLimit = CGF.EmitScalarExpr(
 6884       llvm::Value *ThreadLimit = CGF.EmitScalarExpr(
 6907       llvm::Value *ThreadLimit = CGF.EmitScalarExpr(
 6945       llvm::Value *ThreadLimit = CGF.EmitScalarExpr(
 6953       llvm::Value *NumThreads = CGF.EmitScalarExpr(
 7207         llvm::Value *LengthVal = CGF.EmitScalarExpr(LenExpr);
 7217       llvm::Value *LBVal = CGF.EmitScalarExpr(OAE->getLowerBound());
 9201       DeviceID = CGF.Builder.CreateIntCast(CGF.EmitScalarExpr(Device),
 9930           ? CGF.Builder.CreateIntCast(CGF.EmitScalarExpr(NumTeams),
 9936           ? CGF.Builder.CreateIntCast(CGF.EmitScalarExpr(ThreadLimit),
 9985       DeviceID = CGF.Builder.CreateIntCast(CGF.EmitScalarExpr(Device),
10021       DeviceID = CGF.Builder.CreateIntCast(CGF.EmitScalarExpr(Device),
10093       DeviceID = CGF.Builder.CreateIntCast(CGF.EmitScalarExpr(Device),
10845         CGF.EmitScalarConversion(CGF.EmitScalarExpr(NumIterations[I]),
10889         CGF.EmitScalarExpr(CounterVal), CounterVal->getType(), Int64Ty,
10995   llvm::Value *Allocator = CGF.EmitScalarExpr(AA->getAllocator());
tools/clang/lib/CodeGen/CGStmt.cpp
  618   llvm::Value *V = Builder.CreateBitCast(EmitScalarExpr(S.getTarget()),
 1112       Builder.CreateStore(EmitScalarExpr(RV), ReturnValue);
 1639   llvm::Value *CondV = EmitScalarExpr(S.getCond());
 1872       return EmitScalarExpr(InputExpr);
 1874     return EmitScalarExpr(InputExpr);
tools/clang/lib/CodeGen/CGStmtOpenMP.cpp
 1280         CGF.EmitScalarExpr(NumThreadsClause->getNumThreads(),
 1525           cast<llvm::ConstantInt>(CGF.EmitScalarExpr(AlignmentExpr));
 1543         llvm::Value *PtrValue = CGF.EmitScalarExpr(E);
 2411         Chunk = EmitScalarExpr(ChunkExpr);
 2556   llvm::Value *UBVal = CGF.EmitScalarExpr(LS.getLastIteration());
 2902         EmitScalarExpr(Prio), Prio->getType(),
 3459           Chunk = EmitScalarExpr(Ch);
 4182       llvm::Value *NumIterations = CGF.EmitScalarExpr(D.getNumIterations());
 4988     Data.Schedule.setPointer(EmitScalarExpr(Clause->getGrainsize()));
 4992     Data.Schedule.setPointer(EmitScalarExpr(Clause->getNumTasks()));
tools/clang/lib/CodeGen/CodeGenFunction.cpp
 1934           llvm::Value *Size = EmitScalarExpr(size);