/external/llvm/lib/Target/R600/ |
D | AMDGPUPromoteAlloca.cpp | 141 case Instruction::BitCast: in canVectorizeInst() 207 Value *BitCast = Builder.CreateBitCast(Alloca, VectorTy->getPointerTo(0)); in tryPromoteAllocaToVector() local 208 Value *VecValue = Builder.CreateLoad(BitCast); in tryPromoteAllocaToVector() 217 Value *BitCast = Builder.CreateBitCast(Alloca, VectorTy->getPointerTo(0)); in tryPromoteAllocaToVector() local 218 Value *VecValue = Builder.CreateLoad(BitCast); in tryPromoteAllocaToVector() 222 Builder.CreateStore(NewVecValue, BitCast); in tryPromoteAllocaToVector() 226 case Instruction::BitCast: in tryPromoteAllocaToVector()
|
D | SITypeRewriter.cpp | 86 Value *BitCast = Builder.CreateBitCast(Ptr, in visitLoadInst() local 88 LoadInst *Load = Builder.CreateLoad(BitCast); in visitLoadInst()
|
D | AMDGPUISelDAGToDAG.cpp | 438 SDValue BitCast = CurDAG->getNode(ISD::BITCAST, SDLoc(N), in Select() local 441 CurDAG->ReplaceAllUsesOfValueWith(SDValue(N, 0), BitCast); in Select() 443 N = BitCast.getNode(); in Select()
|
/external/llvm/lib/Target/NVPTX/ |
D | NVPTXLowerStructArgs.cpp | 92 BitCastInst *BitCast = new BitCastInst( in handleParam() local 95 LoadInst *LI = new LoadInst(BitCast, Arg->getName(), FirstInst); in handleParam()
|
/external/llvm/lib/IR/ |
D | Instructions.cpp | 1992 case Instruction::BitCast: in isIntegerCast() 2000 if (getOpcode() != Instruction::BitCast) in isLosslessCast() 2041 case Instruction::BitCast: in isNoopCast() 2137 bool isFirstBitcast = (firstOp == Instruction::BitCast); in isEliminableCastPair() 2138 bool isSecondBitcast = (secondOp == Instruction::BitCast); in isEliminableCastPair() 2195 return Instruction::BitCast; in isEliminableCastPair() 2202 return Instruction::BitCast; in isEliminableCastPair() 2212 return Instruction::BitCast; in isEliminableCastPair() 2224 return Instruction::BitCast; in isEliminableCastPair() 2234 return Instruction::BitCast; in isEliminableCastPair() [all …]
|
D | Value.cpp | 410 } else if (Operator::getOpcode(V) == Instruction::BitCast || in stripPointerCastsAndOffsets() 462 } else if (Operator::getOpcode(V) == Instruction::BitCast || in stripAndAccumulateInBoundsConstantOffsets()
|
D | AutoUpgrade.cpp | 870 if (Opc != Instruction::BitCast) in UpgradeBitCastInst() 891 if (Opc != Instruction::BitCast) in UpgradeBitCastExpr()
|
D | Instruction.cpp | 235 case BitCast: return "bitcast"; in getOpcodeName()
|
D | Constants.cpp | 1236 case Instruction::BitCast: in getWithOperands() 1598 case Instruction::BitCast: in getCast() 1656 (SrcBits == DstBits ? Instruction::BitCast : in getIntegerCast() 1812 assert(CastInst::castIsValid(Instruction::BitCast, C, DstTy) && in getBitCast() 1819 return getFoldedCast(Instruction::BitCast, C, DstTy, OnlyIfReduced); in getBitCast() 2990 case Instruction::BitCast: in getAsInstruction()
|
/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() 421 CastInst::BitCast); in TEST() 429 CastInst::BitCast); in TEST() 444 CastInst::BitCast); in TEST() 481 CastInst::BitCast, in TEST()
|
/external/llvm/include/llvm/CodeGen/ |
D | BasicTTIImpl.h | 360 if (Opcode == Instruction::BitCast || Opcode == Instruction::Trunc) in getCastInstrCost() 381 if (Opcode == Instruction::BitCast) in getCastInstrCost() 431 if (Opcode == Instruction::BitCast) in getCastInstrCost()
|
/external/llvm/lib/Analysis/ |
D | CaptureTracking.cpp | 229 case Instruction::BitCast: in PointerMayBeCaptured()
|
D | ConstantFolding.cpp | 251 CE->getOpcode() == Instruction::BitCast || in IsConstantOffsetFromGlobal() 499 Instruction::CastOps Cast = Instruction::BitCast; in ConstantFoldLoadThroughBitcast() 550 if (CE->getOpcode() == Instruction::BitCast) in ConstantFoldLoadFromConstPtr() 1079 case Instruction::BitCast: in ConstantFoldInstOperands()
|
D | CostModel.cpp | 455 case Instruction::BitCast: in getInstructionCost()
|
/external/llvm/lib/Target/SystemZ/ |
D | SystemZTargetTransformInfo.cpp | 172 case Instruction::BitCast: in getIntImmCost()
|
/external/llvm/lib/Target/XCore/ |
D | XCoreLowerThreadLocal.cpp | 119 case Instruction::BitCast: in createReplacementInstr()
|
/external/lldb/source/Expression/ |
D | IRInterpreter.cpp | 242 case Instruction::BitCast: in ResolveConstantValue() 465 case Instruction::BitCast: in CanInterpret() 807 case Instruction::BitCast: in Interpret()
|
/external/llvm/include/llvm/IR/ |
D | ConstantFolder.h | 178 return CreateCast(Instruction::BitCast, C, DestTy); in CreateBitCast()
|
D | Instruction.def | 156 HANDLE_CAST_INST(44, BitCast , BitCastInst ) // Type cast
|
D | Operator.h | 513 : public ConcreteOperator<Operator, Instruction::BitCast> {
|
D | NoFolder.h | 231 return CreateCast(Instruction::BitCast, C, DestTy); in CreateBitCast()
|
/external/llvm/include/llvm/Analysis/ |
D | TargetFolder.h | 191 return CreateCast(Instruction::BitCast, C, DestTy); in CreateBitCast()
|
D | TargetTransformInfoImpl.h | 63 case Instruction::BitCast: in getOperationCost()
|
/external/llvm/lib/CodeGen/ |
D | MachineFunction.cpp | 900 A = ConstantFoldInstOperands(Instruction::BitCast, IntTy, in CanShareConstantPoolEntry() 906 B = ConstantFoldInstOperands(Instruction::BitCast, IntTy, in CanShareConstantPoolEntry()
|
/external/llvm/lib/Analysis/IPA/ |
D | GlobalsModRef.cpp | 269 } else if (Operator::getOpcode(I) == Instruction::BitCast) { in AnalyzeUsesOfPointer()
|