Home
last modified time | relevance | path

Searched refs:BitCast (Results 1 – 25 of 118) sorted by relevance

12345

/third_party/skia/third_party/externals/abseil-cpp/absl/base/
Dbit_cast_test.cc63 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/
DAMDGPUOpenCLEnqueuedBlockLowering.cpp134 auto *BitCast = cast<ConstantExpr>(UU); in runOnModule() local
135 auto *NewPtr = ConstantExpr::getPointerCast(GV, BitCast->getType()); in runOnModule()
136 BitCast->replaceAllUsesWith(NewPtr); in runOnModule()
DAMDGPUPromoteAlloca.cpp342 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()
DAMDGPUAtomicOptimizer.cpp463 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/
DMVEGatherScatterLowering.cpp165 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/
Ddouble-conversion-ieee.h50 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()
Ddouble-conversion-utils.h332 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/
Ddouble-conversion-ieee.h50 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()
Ddouble-conversion-utils.h362 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/
Ddouble-conversion-ieee.h50 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()
Ddouble-conversion-utils.h363 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/
Dieee.h36 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()
Dutils.h349 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/
Ddouble-conversion-ieee.h50 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()
Ddouble-conversion-utils.h362 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/
DInstructions.cpp2450 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/
DEvaluator.cpp86 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/
DNaClBitcodeDecoders.cpp19 LLVMOpcode = Instruction::BitCast; in DecodeCastOpcode()
49 LLVMOpcode = Instruction::BitCast; in DecodeCastOpcode()
/third_party/flutter/skia/third_party/externals/dawn/src/common/
DMath.h46 destType BitCast(const sourceType& source) { in BitCast() function
DMath.cpp85 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/
DInferAddressSpaces.cpp229 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/
Ddouble_conversion.patch25 inline Dest BitCast(const Source& source) {
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/InstCombine/
DInstCombineCasts.cpp2023 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/
DMath.h81 destType BitCast(const sourceType& source) { in BitCast() function
DMath.cpp102 uint32_t fp32i = BitCast<uint32_t>(fp32); in Float32ToFloat16()

12345