/frameworks/rs/cpu_ref/linkloader/include/ |
ELFReloc.h | 27 template <unsigned Bitwidth> 30 ELF_TYPE_INTRO_TO_TEMPLATE_SCOPE(Bitwidth);
|
ELFObject.h | 30 template <unsigned Bitwidth> 33 ELF_TYPE_INTRO_TO_TEMPLATE_SCOPE(Bitwidth);
|
ELFSectionHeader.h | 30 template <unsigned Bitwidth> 33 ELF_TYPE_INTRO_TO_TEMPLATE_SCOPE(Bitwidth);
|
/external/llvm/lib/ExecutionEngine/MCJIT/ |
MCJIT.cpp | 289 unsigned BitWidth = cast<IntegerType>(RetTy)->getBitWidth(); 290 if (BitWidth == 1) 291 rv.IntVal = APInt(BitWidth, ((bool(*)())(intptr_t)FPtr)()); 292 else if (BitWidth <= 8) 293 rv.IntVal = APInt(BitWidth, ((char(*)())(intptr_t)FPtr)()); 294 else if (BitWidth <= 16) 295 rv.IntVal = APInt(BitWidth, ((short(*)())(intptr_t)FPtr)()); 296 else if (BitWidth <= 32) 297 rv.IntVal = APInt(BitWidth, ((int(*)())(intptr_t)FPtr)()); 298 else if (BitWidth <= 64 [all...] |
/external/skia/tests/ |
PathOpsExtendedTest.cpp | 269 const int bitWidth = 64; 283 SkScalar hScale = (bitWidth - 2) / largerWidth; 292 bits.setConfig(SkBitmap::kARGB_8888_Config, bitWidth * 2, bitHeight); 304 canvas.translate(-bounds1.fLeft + 1 + bitWidth, -bounds1.fTop + 1); 312 uint32_t* addr3 = bits.getAddr32(bitWidth, y); 313 uint32_t* addr4 = bits.getAddr32(bitWidth, y + 1); 314 for (int x = 0; x < bitWidth - 1; ++x) { 350 int bitWidth = SkScalarCeil(larger.width()) + 2; 351 if (bitWidth * 2 + 1 >= (int) sizeof(out)) { 358 bits.setConfig(SkBitmap::kARGB_8888_Config, bitWidth * 2, bitHeight) [all...] |
/external/llvm/lib/CodeGen/SelectionDAG/ |
FunctionLoweringInfo.cpp | 249 FunctionLoweringInfo::GetLiveOutRegInfo(unsigned Reg, unsigned BitWidth) { 257 if (BitWidth > LOI->KnownZero.getBitWidth()) { 259 LOI->KnownZero = LOI->KnownZero.zextOrTrunc(BitWidth); 260 LOI->KnownOne = LOI->KnownOne.zextOrTrunc(BitWidth); 284 unsigned BitWidth = IntVT.getSizeInBits(); 295 APInt Zero(BitWidth, 0); 302 APInt Val = CI->getValue().zextOrTrunc(BitWidth); 314 const LiveOutInfo *SrcLOI = GetLiveOutRegInfo(SrcReg, BitWidth); 322 assert(DestLOI.KnownZero.getBitWidth() == BitWidth && 323 DestLOI.KnownOne.getBitWidth() == BitWidth & [all...] |
TargetLowering.cpp | 305 unsigned BitWidth, 321 unsigned DemandedSize = BitWidth - Demanded.countLeadingZeros(); 325 for (; SmallVTBits < BitWidth; SmallVTBits = NextPowerOf2(SmallVTBits)) { 357 unsigned BitWidth = DemandedMask.getBitWidth(); 358 assert(Op.getValueType().getScalarType().getSizeInBits() == BitWidth && 364 KnownZero = KnownOne = APInt(BitWidth, 0); 376 NewMask = APInt::getAllOnesValue(BitWidth); 433 if (TLO.ShrinkDemandedOp(Op, BitWidth, NewMask, dl)) 467 if (TLO.ShrinkDemandedOp(Op, BitWidth, NewMask, dl)) 492 if (TLO.ShrinkDemandedOp(Op, BitWidth, NewMask, dl) [all...] |
SelectionDAG.cpp | [all...] |
/external/llvm/test/Transforms/InstCombine/ |
apint-and2.ll | 2 ; This test is for Integer BitWidth > 64 && BitWidth <= 1024.
|
/external/clang/lib/StaticAnalyzer/Core/ |
APSIntType.cpp | 42 if (MinBits <= BitWidth)
|
BasicValueFactory.cpp | 95 const llvm::APSInt& BasicValueFactory::getValue(uint64_t X, unsigned BitWidth, 97 llvm::APSInt V(BitWidth, isUnsigned);
|
/external/llvm/include/llvm/CodeGen/ |
ValueTypes.h | 444 static MVT getFloatingPointVT(unsigned BitWidth) { 445 switch (BitWidth) { 461 static MVT getIntegerVT(unsigned BitWidth) { 462 switch (BitWidth) { 576 static EVT getFloatingPointVT(unsigned BitWidth) { 577 return MVT::getFloatingPointVT(BitWidth); 582 static EVT getIntegerVT(LLVMContext &Context, unsigned BitWidth) { 583 MVT M = MVT::getIntegerVT(BitWidth); 586 return getExtendedIntegerVT(Context, BitWidth); 600 /// integer type with the same bitwidth [all...] |
/external/grub/netboot/ |
otulip.c | 112 const unsigned bitwidth = SROM_BITWIDTH; local 113 const unsigned cmdmask = (SROMCMD_RD << bitwidth); 114 const unsigned msb = 1 << (bitwidth + 3 - 1); 115 unsigned lastidx = (1 << bitwidth) - 1; 127 for (bits = idx|cmdmask, bit = bitwidth + 3; bit > 0; bit--, bits <<= 1)
|
/external/llvm/lib/Transforms/Utils/ |
BypassSlowDivision.cpp | 245 // Get bitwidth of div/rem instruction 247 unsigned int bitwidth = T->getBitWidth(); local 249 // Continue if bitwidth is not bypassed 250 DenseMap<unsigned int, unsigned int>::const_iterator BI = BypassWidths.find(bitwidth); 254 // Get type for div/rem instruction with bypass bitwidth
|
/external/llvm/lib/Transforms/InstCombine/ |
InstCombineCalls.cpp | 320 uint32_t BitWidth = IT->getBitWidth(); 321 APInt KnownZero(BitWidth, 0); 322 APInt KnownOne(BitWidth, 0); 325 APInt Mask(APInt::getLowBitsSet(BitWidth, TrailingZeros)); 328 APInt(BitWidth, TrailingZeros))); 338 uint32_t BitWidth = IT->getBitWidth(); 339 APInt KnownZero(BitWidth, 0); 340 APInt KnownOne(BitWidth, 0); 343 APInt Mask(APInt::getHighBitsSet(BitWidth, LeadingZeros)); 346 APInt(BitWidth, LeadingZeros))) [all...] |
InstCombineCasts.cpp | 371 uint32_t BitWidth = Ty->getScalarSizeInBits(); 372 if (BitWidth < OrigBitWidth) { 373 APInt Mask = APInt::getHighBitsSet(OrigBitWidth, OrigBitWidth-BitWidth); 386 uint32_t BitWidth = Ty->getScalarSizeInBits(); 387 if (CI->getLimitedValue(BitWidth) < BitWidth) 397 uint32_t BitWidth = Ty->getScalarSizeInBits(); 399 APInt::getHighBitsSet(OrigBitWidth, OrigBitWidth-BitWidth)) && 400 CI->getLimitedValue(BitWidth) < BitWidth) { [all...] |
/external/llvm/lib/Analysis/ |
ScalarEvolutionAliasAnalysis.cpp | 128 unsigned BitWidth = SE->getTypeSizeInBits(AS->getType()); 129 APInt ASizeInt(BitWidth, LocA.Size); 130 APInt BSizeInt(BitWidth, LocB.Size);
|
/external/llvm/lib/ExecutionEngine/JIT/ |
JIT.cpp | 458 unsigned BitWidth = cast<IntegerType>(RetTy)->getBitWidth(); 459 if (BitWidth == 1) 460 rv.IntVal = APInt(BitWidth, ((bool(*)())(intptr_t)FPtr)()); 461 else if (BitWidth <= 8) 462 rv.IntVal = APInt(BitWidth, ((char(*)())(intptr_t)FPtr)()); 463 else if (BitWidth <= 16) 464 rv.IntVal = APInt(BitWidth, ((short(*)())(intptr_t)FPtr)()); 465 else if (BitWidth <= 32) 466 rv.IntVal = APInt(BitWidth, ((int(*)())(intptr_t)FPtr)()); 467 else if (BitWidth <= 64 [all...] |
/external/llvm/lib/Support/ |
StringRef.cpp | 416 unsigned BitWidth = Log2Radix * Str.size(); 417 if (BitWidth < Result.getBitWidth()) 418 BitWidth = Result.getBitWidth(); // don't shrink the result 419 else if (BitWidth > Result.getBitWidth()) 420 Result = Result.zext(BitWidth); 425 RadixAP = APInt(BitWidth, Radix); 426 CharAP = APInt(BitWidth, 0);
|
/external/llvm/lib/Transforms/Scalar/ |
Reassociate.cpp | 331 /// CarmichaelShift - Returns k such that lambda(2^Bitwidth) = 2^k, where lambda 332 /// is the Carmichael function. This means that x^(2^k) === 1 mod 2^Bitwidth for 333 /// every odd x, i.e. x^(2^k) = 1 for every odd x in Bitwidth-bit arithmetic. 334 /// Note that 0 <= k < Bitwidth, and if Bitwidth > 3 then x^(2^k) = 0 for every 335 /// even x in Bitwidth-bit arithmetic. 336 static unsigned CarmichaelShift(unsigned Bitwidth) { 337 if (Bitwidth < 3) 338 return Bitwidth - 1; 339 return Bitwidth - 2 [all...] |
/external/llvm/lib/Target/AArch64/InstPrinter/ |
AArch64InstPrinter.cpp | 31 static int64_t unpackSignedImm(int BitWidth, uint64_t Value) { 32 assert(!(Value & ~((1ULL << BitWidth)-1)) && "immediate not n-bit"); 33 if (Value & (1ULL << (BitWidth - 1))) 34 return static_cast<int64_t>(Value) - (1LL << BitWidth);
|
/external/llvm/lib/Target/SystemZ/ |
SystemZOperators.td | 211 unsigned BitWidth = N->getValueType(0).getScalarType().getSizeInBits(); 213 APInt::getLowBitsSet(BitWidth, 8)); 219 unsigned BitWidth = N->getValueType(0).getScalarType().getSizeInBits(); 221 APInt::getLowBitsSet(BitWidth, 8));
|
/external/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ |
BasicValueFactory.h | 79 const llvm::APSInt& getValue(uint64_t X, unsigned BitWidth, bool isUnsigned); 102 /// but with the bitwidth and signedness of 'To'.
|
/external/clang/test/Analysis/ |
null-deref-ps.c | 218 // for 'x' should have a bitwidth of 8. 222 // x against 0 (with the same bitwidth).
|
/external/clang/include/clang/AST/ |
TemplateBase.h | 81 // BitWidth > 64. The memory may be shared between multiple 87 unsigned BitWidth : 31; 275 if (Integer.BitWidth <= 64) 276 return APSInt(APInt(Integer.BitWidth, Integer.VAL), Integer.IsUnsigned); 278 unsigned NumWords = APInt::getNumWords(Integer.BitWidth); 279 return APSInt(APInt(Integer.BitWidth, makeArrayRef(Integer.pVal, NumWords)),
|