/third_party/skia/third_party/externals/abseil-cpp/absl/base/ |
D | bit_cast_test.cc | 63 TEST(BitCast, Bool) { in TEST() argument 68 TEST(BitCast, Int32) { in TEST() argument 74 TEST(BitCast, Int64) { in TEST() argument 80 TEST(BitCast, Uint64) { in TEST() argument 86 TEST(BitCast, Float) { in TEST() argument 96 TEST(BitCast, Double) { in TEST() argument
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/ |
D | AMDGPUOpenCLEnqueuedBlockLowering.cpp | 134 auto *BitCast = cast<ConstantExpr>(UU); in runOnModule() local 135 auto *NewPtr = ConstantExpr::getPointerCast(GV, BitCast->getType()); in runOnModule() 136 BitCast->replaceAllUsesWith(NewPtr); in runOnModule()
|
D | AMDGPUPromoteAlloca.cpp | 342 case Instruction::BitCast: in canVectorizeInst() 434 Value *BitCast = Builder.CreateBitCast(Alloca, VecPtrTy); in tryPromoteAllocaToVector() local 435 Value *VecValue = Builder.CreateLoad(VectorTy, BitCast); in tryPromoteAllocaToVector() 449 Value *BitCast = Builder.CreateBitCast(Alloca, VecPtrTy); in tryPromoteAllocaToVector() local 450 Value *VecValue = Builder.CreateLoad(VectorTy, BitCast); in tryPromoteAllocaToVector() 454 Builder.CreateStore(NewVecValue, BitCast); in tryPromoteAllocaToVector() 458 case Instruction::BitCast: in tryPromoteAllocaToVector()
|
D | AMDGPUAtomicOptimizer.cpp | 463 Value *const BitCast = B.CreateBitCast(Ballot, VecTy); in optimizeAtomic() local 464 Value *const ExtractLo = B.CreateExtractElement(BitCast, B.getInt32(0)); in optimizeAtomic() 465 Value *const ExtractHi = B.CreateExtractElement(BitCast, B.getInt32(1)); in optimizeAtomic()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARM/ |
D | MVEGatherScatterLowering.cpp | 165 if (auto *BitCast = dyn_cast<BitCastInst>(Ptr)) { in lookThroughBitcast() local 166 Type *BCTy = BitCast->getType(); in lookThroughBitcast() 167 Type *BCSrcTy = BitCast->getOperand(0)->getType(); in lookThroughBitcast() 170 Ptr = BitCast->getOperand(0); in lookThroughBitcast()
|
/third_party/flutter/skia/third_party/externals/icu/source/i18n/ |
D | double-conversion-ieee.h | 50 static uint64_t double_to_uint64(double d) { return BitCast<uint64_t>(d); } in double_to_uint64() 51 static double uint64_to_double(uint64_t d64) { return BitCast<double>(d64); } in uint64_to_double() 52 static uint32_t float_to_uint32(float f) { return BitCast<uint32_t>(f); } in float_to_uint32() 53 static float uint32_to_float(uint32_t d32) { return BitCast<float>(d32); } in uint32_to_float()
|
D | double-conversion-utils.h | 332 inline Dest BitCast(const Source& source) { in BitCast() function 348 inline Dest BitCast(Source* source) { in BitCast() function 349 return BitCast<Dest>(reinterpret_cast<uintptr_t>(source)); in BitCast()
|
/third_party/skia/third_party/externals/icu/source/i18n/ |
D | double-conversion-ieee.h | 50 static uint64_t double_to_uint64(double d) { return BitCast<uint64_t>(d); } in double_to_uint64() 51 static double uint64_to_double(uint64_t d64) { return BitCast<double>(d64); } in uint64_to_double() 52 static uint32_t float_to_uint32(float f) { return BitCast<uint32_t>(f); } in float_to_uint32() 53 static float uint32_to_float(uint32_t d32) { return BitCast<float>(d32); } in uint32_to_float()
|
D | double-conversion-utils.h | 362 Dest BitCast(const Source& source) { in BitCast() function 379 Dest BitCast(Source* source) { in BitCast() function 380 return BitCast<Dest>(reinterpret_cast<uintptr_t>(source)); in BitCast()
|
/third_party/node/deps/icu-small/source/i18n/ |
D | double-conversion-ieee.h | 50 static uint64_t double_to_uint64(double d) { return BitCast<uint64_t>(d); } in double_to_uint64() 51 static double uint64_to_double(uint64_t d64) { return BitCast<double>(d64); } in uint64_to_double() 52 static uint32_t float_to_uint32(float f) { return BitCast<uint32_t>(f); } in float_to_uint32() 53 static float uint32_to_float(uint32_t d32) { return BitCast<float>(d32); } in uint32_to_float()
|
D | double-conversion-utils.h | 363 Dest BitCast(const Source& source) { in BitCast() function 380 Dest BitCast(Source* source) { in BitCast() function 381 return BitCast<Dest>(reinterpret_cast<uintptr_t>(source)); in BitCast()
|
/third_party/icu/vendor/double-conversion/upstream/double-conversion/ |
D | ieee.h | 36 static uint64_t double_to_uint64(double d) { return BitCast<uint64_t>(d); } in double_to_uint64() 37 static double uint64_to_double(uint64_t d64) { return BitCast<double>(d64); } in uint64_to_double() 38 static uint32_t float_to_uint32(float f) { return BitCast<uint32_t>(f); } in float_to_uint32() 39 static float uint32_to_float(uint32_t d32) { return BitCast<float>(d32); } in uint32_to_float()
|
D | utils.h | 349 Dest BitCast(const Source& source) { in BitCast() function 366 Dest BitCast(Source* source) { in BitCast() function 367 return BitCast<Dest>(reinterpret_cast<uintptr_t>(source)); in BitCast()
|
/third_party/icu/icu4c/source/i18n/ |
D | double-conversion-ieee.h | 50 static uint64_t double_to_uint64(double d) { return BitCast<uint64_t>(d); } in double_to_uint64() 51 static double uint64_to_double(uint64_t d64) { return BitCast<double>(d64); } in uint64_to_double() 52 static uint32_t float_to_uint32(float f) { return BitCast<uint32_t>(f); } in float_to_uint32() 53 static float uint32_to_float(uint32_t d32) { return BitCast<float>(d32); } in uint32_to_float()
|
D | double-conversion-utils.h | 362 Dest BitCast(const Source& source) { in BitCast() function 379 Dest BitCast(Source* source) { in BitCast() function 380 return BitCast<Dest>(reinterpret_cast<uintptr_t>(source)); in BitCast()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/IR/ |
D | Instructions.cpp | 2450 case Instruction::BitCast: in isIntegerCast() 2458 if (getOpcode() != Instruction::BitCast) in isLosslessCast() 2499 case Instruction::BitCast: in isNoopCast() 2583 bool IsFirstBitcast = (firstOp == Instruction::BitCast); in isEliminableCastPair() 2584 bool IsSecondBitcast = (secondOp == Instruction::BitCast); in isEliminableCastPair() 2641 return Instruction::BitCast; in isEliminableCastPair() 2648 return Instruction::BitCast; in isEliminableCastPair() 2658 return Instruction::BitCast; in isEliminableCastPair() 2674 return Instruction::BitCast; in isEliminableCastPair() 2682 return Instruction::BitCast; in isEliminableCastPair() [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/ |
D | Evaluator.cpp | 86 case Instruction::BitCast: in isSimpleEnoughValueToCommitHelper() 166 } else if (CE->getOpcode() == Instruction::BitCast && in isSimpleEnoughPointerToCommit() 239 case Instruction::BitCast: in ComputeLoadResult() 276 if (!CE || CE->getOpcode() != Instruction::BitCast || in getCalleeWithFormalArgs() 313 if (!RV || !CE || CE->getOpcode() != Instruction::BitCast) in castCallResultIfNeeded() 365 if (CE->getOpcode() == Instruction::BitCast) { in EvaluateBlock()
|
/third_party/skia/third_party/externals/swiftshader/third_party/subzero/pnacl-llvm/ |
D | NaClBitcodeDecoders.cpp | 19 LLVMOpcode = Instruction::BitCast; in DecodeCastOpcode() 49 LLVMOpcode = Instruction::BitCast; in DecodeCastOpcode()
|
/third_party/flutter/skia/third_party/externals/dawn/src/common/ |
D | Math.h | 46 destType BitCast(const sourceType& source) { in BitCast() function
|
D | Math.cpp | 85 uint32_t fp32i = BitCast<uint32_t>(fp32); in Float32ToFloat16()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/ |
D | InferAddressSpaces.cpp | 229 case Instruction::BitCast: in isAddressExpression() 251 case Instruction::BitCast: in getPointerOperands() 470 case Instruction::BitCast: in cloneInstructionWithNewAddressSpace() 518 if (CE->getOpcode() == Instruction::BitCast) { in cloneConstantExprWithNewAddressSpace() 989 NewV = CastInst::Create(Instruction::BitCast, NewV, in rewriteWithNewAddressSpaces()
|
/third_party/flutter/skia/third_party/externals/icu/patches/ |
D | double_conversion.patch | 25 inline Dest BitCast(const Source& source) {
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/InstCombine/ |
D | InstCombineCasts.cpp | 2023 case Instruction::BitCast: in collectInsertionElements() 2095 static Instruction *canonicalizeBitCastExtElt(BitCastInst &BitCast, in canonicalizeBitCastExtElt() argument 2098 auto *ExtElt = dyn_cast<ExtractElementInst>(BitCast.getOperand(0)); in canonicalizeBitCastExtElt() 2104 Type *DestType = BitCast.getType(); in canonicalizeBitCastExtElt() 2116 static Instruction *foldBitCastBitwiseLogic(BitCastInst &BitCast, in foldBitCastBitwiseLogic() argument 2118 Type *DestTy = BitCast.getType(); in foldBitCastBitwiseLogic() 2121 !match(BitCast.getOperand(0), m_OneUse(m_BinOp(BO))) || in foldBitCastBitwiseLogic() 2162 static Instruction *foldBitCastSelect(BitCastInst &BitCast, in foldBitCastSelect() argument 2165 if (!match(BitCast.getOperand(0), in foldBitCastSelect() 2171 Type *DestTy = BitCast.getType(); in foldBitCastSelect() [all …]
|
/third_party/skia/third_party/externals/dawn/src/common/ |
D | Math.h | 81 destType BitCast(const sourceType& source) { in BitCast() function
|
D | Math.cpp | 102 uint32_t fp32i = BitCast<uint32_t>(fp32); in Float32ToFloat16()
|