/external/swiftshader/third_party/LLVM/lib/Target/X86/ |
D | X86SelectionDAGInfo.cpp | 78 uint64_t SizeVal = ConstantSize->getZExtValue(); in EmitTargetCodeForMemset() local 110 Count = DAG.getIntPtrConstant(SizeVal); in EmitTargetCodeForMemset() 116 Count = DAG.getIntPtrConstant(SizeVal / UBytes); in EmitTargetCodeForMemset() 117 BytesLeft = SizeVal % UBytes; in EmitTargetCodeForMemset() 125 Count = DAG.getIntPtrConstant(SizeVal); in EmitTargetCodeForMemset() 158 unsigned Offset = SizeVal - BytesLeft; in EmitTargetCodeForMemset() 186 uint64_t SizeVal = ConstantSize->getZExtValue(); in EmitTargetCodeForMemcpy() local 187 if (!AlwaysInline && SizeVal > Subtarget->getMaxInlineSizeThreshold()) in EmitTargetCodeForMemcpy() 215 unsigned CountVal = SizeVal / UBytes; in EmitTargetCodeForMemcpy() 217 unsigned BytesLeft = SizeVal % UBytes; in EmitTargetCodeForMemcpy() [all …]
|
/external/swiftshader/third_party/LLVM/lib/Target/MSP430/ |
D | MSP430InstrFormats.td | 43 class SizeVal<bits<3> val> { 47 def SizeUnknown : SizeVal<0>; // Unknown / unset size 48 def SizeSpecial : SizeVal<1>; // Special instruction, e.g. pseudo 49 def Size2Bytes : SizeVal<2>; 50 def Size4Bytes : SizeVal<3>; 51 def Size6Bytes : SizeVal<4>; 54 class MSP430Inst<dag outs, dag ins, SizeVal sz, Format f, 64 SizeVal Sz = sz; 77 class IForm<bits<4> opcode, DestMode dest, bit bw, SourceMode src, SizeVal sz, 92 class IForm8<bits<4> opcode, DestMode dest, SourceMode src, SizeVal sz, [all …]
|
/external/llvm/lib/Target/MSP430/ |
D | MSP430InstrFormats.td | 43 class SizeVal<bits<3> val> { 47 def SizeUnknown : SizeVal<0>; // Unknown / unset size 48 def SizeSpecial : SizeVal<1>; // Special instruction, e.g. pseudo 49 def Size2Bytes : SizeVal<2>; 50 def Size4Bytes : SizeVal<3>; 51 def Size6Bytes : SizeVal<4>; 54 class MSP430Inst<dag outs, dag ins, SizeVal sz, Format f, 64 SizeVal Sz = sz; 77 class IForm<bits<4> opcode, DestMode dest, bit bw, SourceMode src, SizeVal sz, 92 class IForm8<bits<4> opcode, DestMode dest, SourceMode src, SizeVal sz, [all …]
|
/external/llvm/lib/Target/X86/ |
D | X86SelectionDAGInfo.cpp | 101 uint64_t SizeVal = ConstantSize->getZExtValue(); in EmitTargetCodeForMemset() local 133 Count = DAG.getIntPtrConstant(SizeVal, dl); in EmitTargetCodeForMemset() 139 Count = DAG.getIntPtrConstant(SizeVal / UBytes, dl); in EmitTargetCodeForMemset() 140 BytesLeft = SizeVal % UBytes; in EmitTargetCodeForMemset() 148 Count = DAG.getIntPtrConstant(SizeVal, dl); in EmitTargetCodeForMemset() 179 unsigned Offset = SizeVal - BytesLeft; in EmitTargetCodeForMemset() 207 uint64_t SizeVal = ConstantSize->getZExtValue(); in EmitTargetCodeForMemcpy() local 208 if (!AlwaysInline && SizeVal > Subtarget.getMaxInlineSizeThreshold()) in EmitTargetCodeForMemcpy() 242 unsigned CountVal = SizeVal / UBytes; in EmitTargetCodeForMemcpy() 244 unsigned BytesLeft = SizeVal % UBytes; in EmitTargetCodeForMemcpy() [all …]
|
/external/llvm/lib/Target/Hexagon/ |
D | HexagonSelectionDAGInfo.cpp | 28 uint64_t SizeVal = ConstantSize->getZExtValue(); in EmitTargetCodeForMemcpy() local 29 if (SizeVal < 32 || (SizeVal % 8) != 0) in EmitTargetCodeForMemcpy()
|
/external/swiftshader/third_party/LLVM/lib/Target/ARM/ |
D | ARMSelectionDAGInfo.cpp | 45 uint64_t SizeVal = ConstantSize->getZExtValue(); in EmitTargetCodeForMemcpy() local 46 if (!AlwaysInline && SizeVal > Subtarget->getMaxInlineSizeThreshold()) in EmitTargetCodeForMemcpy() 49 unsigned BytesLeft = SizeVal & 3; in EmitTargetCodeForMemcpy() 50 unsigned NumMemOps = SizeVal >> 2; in EmitTargetCodeForMemcpy()
|
/external/swiftshader/third_party/LLVM/lib/Target/PTX/ |
D | PTXSelectionDAGInfo.cpp | 45 uint64_t SizeVal = ConstantSize->getZExtValue(); in EmitTargetCodeForMemcpy() local 51 unsigned BytesLeft = SizeVal & 3; in EmitTargetCodeForMemcpy() 52 unsigned NumMemOps = SizeVal >> 2; in EmitTargetCodeForMemcpy()
|
/external/llvm/lib/Target/ARM/ |
D | ARMSelectionDAGInfo.cpp | 144 uint64_t SizeVal = ConstantSize->getZExtValue(); in EmitTargetCodeForMemcpy() local 145 if (!AlwaysInline && SizeVal > Subtarget.getMaxInlineSizeThreshold()) in EmitTargetCodeForMemcpy() 149 unsigned BytesLeft = SizeVal & 3; in EmitTargetCodeForMemcpy() 150 unsigned NumMemOps = SizeVal >> 2; in EmitTargetCodeForMemcpy()
|
D | ARMISelLowering.cpp | 7907 unsigned SizeVal = MI.getOperand(2).getImm(); in EmitStructByval() local 7928 if ((Align % 16 == 0) && SizeVal >= 16) in EmitStructByval() 7930 else if ((Align % 8 == 0) && SizeVal >= 8) in EmitStructByval() 7946 unsigned BytesLeft = SizeVal % UnitSize; in EmitStructByval() 7947 unsigned LoopSize = SizeVal - BytesLeft; in EmitStructByval() 7949 if (SizeVal <= Subtarget->getMaxInlineSizeThreshold()) { in EmitStructByval()
|
/external/clang/lib/CodeGen/ |
D | CGExprAgg.cpp | 1420 llvm::Constant *SizeVal = CGF.Builder.getInt64(Size.getQuantity()); in CheckAggExprForMemSetUse() local 1424 CGF.Builder.CreateMemSet(Loc, CGF.Builder.getInt8(0), SizeVal, false); in CheckAggExprForMemSetUse() 1502 llvm::Value *SizeVal = nullptr; in EmitAggregateCopy() local 1508 SizeVal = emitArrayLength(VAT, BaseEltTy, DestPtr); in EmitAggregateCopy() 1514 SizeVal = Builder.CreateNUWMul( in EmitAggregateCopy() 1515 SizeVal, in EmitAggregateCopy() 1518 SizeVal = Builder.CreateNUWSub( in EmitAggregateCopy() 1519 SizeVal, in EmitAggregateCopy() 1521 SizeVal = Builder.CreateNUWAdd( in EmitAggregateCopy() 1522 SizeVal, llvm::ConstantInt::get( in EmitAggregateCopy() [all …]
|
D | CodeGenFunction.cpp | 1455 llvm::Value *SizeVal; in EmitNullInitialization() local 1468 SizeVal = numElts; in EmitNullInitialization() 1471 SizeVal = Builder.CreateNUWMul(SizeVal, CGM.getSize(eltSize)); in EmitNullInitialization() 1477 SizeVal = CGM.getSize(size); in EmitNullInitialization() 1501 if (vla) return emitNonZeroVLAInit(*this, Ty, DestPtr, SrcPtr, SizeVal); in EmitNullInitialization() 1504 Builder.CreateMemCpy(DestPtr, SrcPtr, SizeVal, false); in EmitNullInitialization() 1511 Builder.CreateMemSet(DestPtr, Builder.getInt8(0), SizeVal, false); in EmitNullInitialization()
|
D | CGDecl.cpp | 1236 llvm::Value *SizeVal = in EmitAutoVarInit() local 1248 Builder.CreateMemSet(Loc, llvm::ConstantInt::get(Int8Ty, 0), SizeVal, in EmitAutoVarInit() 1271 Builder.CreateMemCpy(Loc, SrcPtr, SizeVal, isVolatile); in EmitAutoVarInit()
|
D | CGBuiltin.cpp | 971 Value *SizeVal = EmitScalarExpr(E->getArg(1)); in EmitBuiltinExpr() local 974 Builder.CreateMemSet(Dest, Builder.getInt8(0), SizeVal, false); in EmitBuiltinExpr() 981 Value *SizeVal = EmitScalarExpr(E->getArg(2)); in EmitBuiltinExpr() local 986 Builder.CreateMemCpy(Dest, Src, SizeVal, false); in EmitBuiltinExpr() 1000 Value *SizeVal = llvm::ConstantInt::get(Builder.getContext(), Size); in EmitBuiltinExpr() local 1001 Builder.CreateMemCpy(Dest, Src, SizeVal, false); in EmitBuiltinExpr() 1008 Value *SizeVal = EmitScalarExpr(E->getArg(2)); in EmitBuiltinExpr() local 1010 DestAddr, SrcAddr, SizeVal); in EmitBuiltinExpr() 1024 Value *SizeVal = llvm::ConstantInt::get(Builder.getContext(), Size); in EmitBuiltinExpr() local 1025 Builder.CreateMemMove(Dest, Src, SizeVal, false); in EmitBuiltinExpr() [all …]
|
D | CGCall.cpp | 2179 auto SizeVal = llvm::ConstantInt::get(IntPtrTy, Size.getQuantity()); in EmitFunctionProlog() local 2182 Builder.CreateMemCpy(Dst, Src, SizeVal, false); in EmitFunctionProlog()
|
/external/clang/lib/AST/ |
D | ExprConstant.cpp | 7061 APSInt SizeVal; in VisitCallExpr() local 7062 if (!EvaluateInteger(E->getArg(0), SizeVal, Info)) in VisitCallExpr() 7075 CharUnits Size = CharUnits::fromQuantity(SizeVal.getZExtValue()); in VisitCallExpr()
|
/external/clang/lib/Sema/ |
D | SemaType.cpp | 2050 static bool isArraySizeVLA(Sema &S, Expr *ArraySize, llvm::APSInt &SizeVal) { in isArraySizeVLA() argument 2065 return S.VerifyIntegerConstantExpression(ArraySize, &SizeVal, Diagnoser, in isArraySizeVLA()
|