/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AMDGPU/ |
D | AMDGPUOpenCLEnqueuedBlockLowering.cpp | 135 auto *BitCast = cast<ConstantExpr>(UU); in runOnModule() local 136 auto *NewPtr = ConstantExpr::getPointerCast(GV, BitCast->getType()); in runOnModule() 137 BitCast->replaceAllUsesWith(NewPtr); in runOnModule()
|
D | AMDGPUPromoteAlloca.cpp | 331 case Instruction::BitCast: in canVectorizeInst() 413 Value *BitCast = Builder.CreateBitCast(Alloca, VecPtrTy); in tryPromoteAllocaToVector() local 414 Value *VecValue = Builder.CreateLoad(BitCast); in tryPromoteAllocaToVector() 426 Value *BitCast = Builder.CreateBitCast(Alloca, VecPtrTy); in tryPromoteAllocaToVector() local 427 Value *VecValue = Builder.CreateLoad(BitCast); in tryPromoteAllocaToVector() 431 Builder.CreateStore(NewVecValue, BitCast); in tryPromoteAllocaToVector() 435 case Instruction::BitCast: in tryPromoteAllocaToVector()
|
/external/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 | 336 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()
|
/external/swiftshader/third_party/LLVM/lib/VMCore/ |
D | Instructions.cpp | 2009 case Instruction::BitCast: in isIntegerCast() 2017 if (getOpcode() != Instruction::BitCast) in isLosslessCast() 2057 case Instruction::BitCast: in isNoopCast() 2137 bool isFirstBitcast = (firstOp == Instruction::BitCast); in isEliminableCastPair() 2138 bool isSecondBitcast = (secondOp == Instruction::BitCast); in isEliminableCastPair() 2191 return Instruction::BitCast; in isEliminableCastPair() 2201 return Instruction::BitCast; in isEliminableCastPair() 2212 return Instruction::BitCast; in isEliminableCastPair() 2233 return Instruction::BitCast; in isEliminableCastPair() 2264 case BitCast: return new BitCastInst (S, Ty, Name, InsertBefore); in Create() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/IR/ |
D | Instructions.cpp | 2172 case Instruction::BitCast: in isIntegerCast() 2180 if (getOpcode() != Instruction::BitCast) in isLosslessCast() 2221 case Instruction::BitCast: in isNoopCast() 2305 bool IsFirstBitcast = (firstOp == Instruction::BitCast); in isEliminableCastPair() 2306 bool IsSecondBitcast = (secondOp == Instruction::BitCast); in isEliminableCastPair() 2363 return Instruction::BitCast; in isEliminableCastPair() 2370 return Instruction::BitCast; in isEliminableCastPair() 2380 return Instruction::BitCast; in isEliminableCastPair() 2396 return Instruction::BitCast; in isEliminableCastPair() 2404 return Instruction::BitCast; in isEliminableCastPair() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Utils/ |
D | Evaluator.cpp | 87 case Instruction::BitCast: in isSimpleEnoughValueToCommitHelper() 167 } else if (CE->getOpcode() == Instruction::BitCast && in isSimpleEnoughPointerToCommit() 206 case Instruction::BitCast: in ComputeLoadResult() 239 if (!CE || CE->getOpcode() != Instruction::BitCast || in getCalleeWithFormalArgs() 276 if (!RV || !CE || CE->getOpcode() != Instruction::BitCast) in castCallResultIfNeeded() 328 if (CE->getOpcode() == Instruction::BitCast) { in EvaluateBlock()
|
D | CallPromotionUtils.cpp | 180 auto *Cast = CastInst::Create(Instruction::BitCast, CS.getInstruction(), in createRetBitCast() 399 auto *Cast = CastInst::Create(Instruction::BitCast, Arg, FormalTy, "", in promoteCall()
|
/external/llvm/lib/Target/AMDGPU/ |
D | AMDGPUPromoteAlloca.cpp | 379 case Instruction::BitCast: in canVectorizeInst() 448 Value *BitCast = Builder.CreateBitCast(Alloca, VectorTy->getPointerTo(0)); in tryPromoteAllocaToVector() local 449 Value *VecValue = Builder.CreateLoad(BitCast); in tryPromoteAllocaToVector() 458 Value *BitCast = Builder.CreateBitCast(Alloca, VectorTy->getPointerTo(0)); in tryPromoteAllocaToVector() local 459 Value *VecValue = Builder.CreateLoad(BitCast); in tryPromoteAllocaToVector() 463 Builder.CreateStore(NewVecValue, BitCast); in tryPromoteAllocaToVector() 467 case Instruction::BitCast: in tryPromoteAllocaToVector()
|
D | SITypeRewriter.cpp | 80 Value *BitCast = Builder.CreateBitCast(Ptr, in visitLoadInst() local 82 LoadInst *Load = Builder.CreateLoad(BitCast); in visitLoadInst()
|
/external/llvm/lib/IR/ |
D | Instructions.cpp | 2336 case Instruction::BitCast: in isIntegerCast() 2344 if (getOpcode() != Instruction::BitCast) in isLosslessCast() 2385 case Instruction::BitCast: in isNoopCast() 2483 bool IsFirstBitcast = (firstOp == Instruction::BitCast); in isEliminableCastPair() 2484 bool IsSecondBitcast = (secondOp == Instruction::BitCast); in isEliminableCastPair() 2541 return Instruction::BitCast; in isEliminableCastPair() 2548 return Instruction::BitCast; in isEliminableCastPair() 2558 return Instruction::BitCast; in isEliminableCastPair() 2570 return Instruction::BitCast; in isEliminableCastPair() 2580 return Instruction::BitCast; in isEliminableCastPair() [all …]
|
/external/llvm/unittests/IR/ |
D | InstructionsTest.cpp | 264 EXPECT_FALSE(CastInst::castIsValid(Instruction::BitCast, in TEST() 267 EXPECT_FALSE(CastInst::castIsValid(Instruction::BitCast, in TEST() 425 CastInst::BitCast); in TEST() 433 CastInst::BitCast); in TEST() 448 CastInst::BitCast); in TEST() 485 CastInst::BitCast, in TEST()
|
/external/swiftshader/third_party/subzero/pnacl-llvm/ |
D | NaClBitcodeDecoders.cpp | 20 LLVMOpcode = Instruction::BitCast; in DecodeCastOpcode() 50 LLVMOpcode = Instruction::BitCast; in DecodeCastOpcode()
|
/external/llvm/lib/Target/NVPTX/ |
D | NVPTXInferAddressSpaces.cpp | 166 case Instruction::BitCast: in isAddressExpression() 187 case Instruction::BitCast: in getPointerOperands() 303 case Instruction::BitCast: in cloneInstructionWithNewAddressSpace()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Scalar/ |
D | InferAddressSpaces.cpp | 223 case Instruction::BitCast: in isAddressExpression() 244 case Instruction::BitCast: in getPointerOperands() 472 case Instruction::BitCast: in cloneInstructionWithNewAddressSpace() 520 if (CE->getOpcode() == Instruction::BitCast) { in cloneConstantExprWithNewAddressSpace() 984 NewV = CastInst::Create(Instruction::BitCast, NewV, in rewriteWithNewAddressSpaces()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/InstCombine/ |
D | InstCombineCasts.cpp | 1926 case Instruction::BitCast: in collectInsertionElements() 1998 static Instruction *canonicalizeBitCastExtElt(BitCastInst &BitCast, in canonicalizeBitCastExtElt() argument 2001 auto *ExtElt = dyn_cast<ExtractElementInst>(BitCast.getOperand(0)); in canonicalizeBitCastExtElt() 2007 Type *DestType = BitCast.getType(); in canonicalizeBitCastExtElt() 2019 static Instruction *foldBitCastBitwiseLogic(BitCastInst &BitCast, in foldBitCastBitwiseLogic() argument 2021 Type *DestTy = BitCast.getType(); in foldBitCastBitwiseLogic() 2024 !match(BitCast.getOperand(0), m_OneUse(m_BinOp(BO))) || in foldBitCastBitwiseLogic() 2065 static Instruction *foldBitCastSelect(BitCastInst &BitCast, in foldBitCastSelect() argument 2068 if (!match(BitCast.getOperand(0), in foldBitCastSelect() 2074 Type *DestTy = BitCast.getType(); in foldBitCastSelect() [all …]
|
/external/llvm/lib/Transforms/Utils/ |
D | Evaluator.cpp | 71 case Instruction::BitCast: in isSimpleEnoughValueToCommitHelper() 151 } else if (CE->getOpcode() == Instruction::BitCast && in isSimpleEnoughPointerToCommit() 228 if (CE->getOpcode() == Instruction::BitCast) { in EvaluateBlock()
|
/external/tensorflow/tensorflow/compiler/xla/service/cpu/ |
D | ir_emitter.cc | 170 BitCast(GetEmittedValueFor(bitcast->operand(0)), in HandleBitcast() 1218 BitCast(GetEmittedValueFor(convolution), ir_ptr_type), in HandleConvolution() 1219 BitCast(lhs_address, ir_ptr_type), in HandleConvolution() 1220 BitCast(rhs_address, ir_ptr_type), in HandleConvolution() 1299 BitCast(GetEmittedValueFor(fft), int8_ptr_type), in HandleFft() 1300 BitCast(operand_address, int8_ptr_type), b_.getInt32(fft->fft_type()), in HandleFft() 1613 llvm::Value* input_address = BitCast( in EmitInnerLoopForVectorizedReduction() 1618 BitCast(input_address, accumulator[i]->getType()); in EmitInnerLoopForVectorizedReduction() 1649 BitCast(store_address, in EmitShardedVectorStore() 2438 llvm::Value* target_region_begin = BitCast( in EmitFastConcatenate() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/IR/ |
D | InstructionsTest.cpp | 276 EXPECT_FALSE(CastInst::castIsValid(Instruction::BitCast, in TEST() 279 EXPECT_FALSE(CastInst::castIsValid(Instruction::BitCast, in TEST() 437 CastInst::BitCast); in TEST() 445 CastInst::BitCast); in TEST() 460 CastInst::BitCast); in TEST() 497 CastInst::BitCast, in TEST()
|
/external/swiftshader/third_party/LLVM/lib/Transforms/IPO/ |
D | InlineSimple.cpp | 110 if (CE->getOpcode() == Instruction::BitCast) in doInitialization()
|
/external/swiftshader/third_party/LLVM/lib/Analysis/ |
D | CaptureTracking.cpp | 116 case Instruction::BitCast: in PointerMayBeCaptured()
|
D | Loads.cpp | 68 } else if (Operator::getOpcode(V) == Instruction::BitCast) { in getUnderlyingObjectWithOffset()
|
/external/swiftshader/third_party/LLVM/lib/Transforms/Utils/ |
D | AddrModeMatcher.cpp | 125 case Instruction::BitCast: in MightBeFoldableInst() 168 case Instruction::BitCast: in MatchOperationAddr()
|
/external/llvm/lib/Target/SystemZ/ |
D | SystemZTargetTransformInfo.cpp | 172 case Instruction::BitCast: in getIntImmCost()
|
/external/swiftshader/third_party/LLVM/ |
D | OnlyX86.patch | 170 - return CastInst::Create(Instruction::BitCast, Result, CI.getType()); 217 + // return CastInst::Create(Instruction::BitCast, Result, CI.getType());
|