Home
last modified time | relevance | path

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

/external/swiftshader/src/Reactor/
DLLVMReactor.cpp374 uint64_t truncNumBits = dstElemTy->getIntegerBitWidth(); in lowerPack() local
375 assert(truncNumBits < 64 && "shift 64 must be handled separately"); in lowerPack()
379 max = llvm::ConstantInt::get(srcTy, (1LL << (truncNumBits - 1)) - 1, true); in lowerPack()
380 min = llvm::ConstantInt::get(srcTy, (-1LL << (truncNumBits - 1)), true); in lowerPack()
384 max = llvm::ConstantInt::get(srcTy, (1ULL << truncNumBits) - 1, false); in lowerPack()