| /minix3/external/bsd/llvm/dist/llvm/lib/Target/R600/ |
| H A D | AMDGPUPromoteAlloca.cpp | 140 case Instruction::BitCast: in canVectorizeInst() 206 Value *BitCast = Builder.CreateBitCast(Alloca, VectorTy->getPointerTo(0)); in tryPromoteAllocaToVector() local 207 Value *VecValue = Builder.CreateLoad(BitCast); in tryPromoteAllocaToVector() 216 Value *BitCast = Builder.CreateBitCast(Alloca, VectorTy->getPointerTo(0)); in tryPromoteAllocaToVector() local 217 Value *VecValue = Builder.CreateLoad(BitCast); in tryPromoteAllocaToVector() 221 Builder.CreateStore(NewVecValue, BitCast); in tryPromoteAllocaToVector() 225 case Instruction::BitCast: in tryPromoteAllocaToVector()
|
| H A D | SITypeRewriter.cpp | 87 Value *BitCast = Builder.CreateBitCast(Ptr, in visitLoadInst() local 89 LoadInst *Load = Builder.CreateLoad(BitCast); in visitLoadInst()
|
| H A D | AMDGPUISelDAGToDAG.cpp | 433 SDValue BitCast = CurDAG->getNode(ISD::BITCAST, SDLoc(N), in Select() local 436 CurDAG->ReplaceAllUsesOfValueWith(SDValue(N, 0), BitCast); in Select() 438 N = BitCast.getNode(); in Select()
|
| /minix3/external/bsd/llvm/dist/llvm/lib/Target/NVPTX/ |
| H A D | NVPTXLowerStructArgs.cpp | 90 BitCastInst *BitCast = new BitCastInst( in handleParam() local 93 LoadInst *LI = new LoadInst(BitCast, Arg->getName(), FirstInst); in handleParam()
|
| /minix3/external/bsd/llvm/dist/llvm/lib/IR/ |
| H A D | Instructions.cpp | 2095 case Instruction::BitCast: in isIntegerCast() 2103 if (getOpcode() != Instruction::BitCast) in isLosslessCast() 2144 case Instruction::BitCast: in isNoopCast() 2246 bool isFirstBitcast = (firstOp == Instruction::BitCast); in isEliminableCastPair() 2247 bool isSecondBitcast = (secondOp == Instruction::BitCast); in isEliminableCastPair() 2304 return Instruction::BitCast; in isEliminableCastPair() 2311 return Instruction::BitCast; in isEliminableCastPair() 2321 return Instruction::BitCast; in isEliminableCastPair() 2333 return Instruction::BitCast; in isEliminableCastPair() 2343 return Instruction::BitCast; in isEliminableCastPair() [all …]
|
| H A D | Value.cpp | 409 } else if (Operator::getOpcode(V) == Instruction::BitCast || in stripPointerCastsAndOffsets() 461 } else if (Operator::getOpcode(V) == Instruction::BitCast || in stripAndAccumulateInBoundsConstantOffsets()
|
| H A D | AutoUpgrade.cpp | 601 if (Opc != Instruction::BitCast) in UpgradeBitCastInst() 622 if (Opc != Instruction::BitCast) in UpgradeBitCastExpr()
|
| H A D | Instruction.cpp | 235 case BitCast: return "bitcast"; in getOpcodeName()
|
| H A D | Constants.cpp | 1234 case Instruction::BitCast: in getWithOperands() 1596 case Instruction::BitCast: in getCast() 1654 (SrcBits == DstBits ? Instruction::BitCast : in getIntegerCast() 1810 assert(CastInst::castIsValid(Instruction::BitCast, C, DstTy) && in getBitCast() 1817 return getFoldedCast(Instruction::BitCast, C, DstTy, OnlyIfReduced); in getBitCast() 2939 case Instruction::BitCast: in getAsInstruction()
|
| /minix3/external/bsd/llvm/dist/llvm/unittests/IR/ |
| H A D | InstructionsTest.cpp | 264 EXPECT_FALSE(CastInst::castIsValid(Instruction::BitCast, in TEST() 267 EXPECT_FALSE(CastInst::castIsValid(Instruction::BitCast, in TEST() 419 CastInst::BitCast); in TEST() 427 CastInst::BitCast); in TEST() 442 CastInst::BitCast); in TEST() 479 CastInst::BitCast, in TEST()
|
| /minix3/external/bsd/llvm/dist/llvm/lib/CodeGen/ |
| H A D | BasicTargetTransformInfo.cpp | 375 if (Opcode == Instruction::BitCast || Opcode == Instruction::Trunc) in getCastInstrCost() 396 if (Opcode == Instruction::BitCast) in getCastInstrCost() 443 if (Opcode == Instruction::BitCast) in getCastInstrCost()
|
| H A D | JumpInstrTables.cpp | 97 if (CE->getOpcode() == Instruction::BitCast) { in replaceGlobalValueIndirectUse()
|
| H A D | MachineFunction.cpp | 912 A = ConstantFoldInstOperands(Instruction::BitCast, IntTy, in CanShareConstantPoolEntry() 918 B = ConstantFoldInstOperands(Instruction::BitCast, IntTy, in CanShareConstantPoolEntry()
|
| /minix3/external/bsd/llvm/dist/llvm/lib/Analysis/ |
| H A D | CaptureTracking.cpp | 229 case Instruction::BitCast: in PointerMayBeCaptured()
|
| H A D | ConstantFolding.cpp | 252 CE->getOpcode() == Instruction::BitCast || in IsConstantOffsetFromGlobal() 503 Instruction::CastOps Cast = Instruction::BitCast; in ConstantFoldLoadThroughBitcast() 554 if (CE->getOpcode() == Instruction::BitCast) in ConstantFoldLoadFromConstPtr() 1089 case Instruction::BitCast: in ConstantFoldInstOperands()
|
| H A D | CostModel.cpp | 454 case Instruction::BitCast: in getInstructionCost()
|
| H A D | TargetTransformInfo.cpp | 293 case Instruction::BitCast: in getOperationCost()
|
| /minix3/external/bsd/llvm/dist/llvm/lib/Transforms/ObjCARC/ |
| H A D | ObjCARCUtil.cpp | 210 case Instruction::BitCast: in GetInstructionClass()
|
| /minix3/external/bsd/llvm/dist/llvm/lib/Target/XCore/ |
| H A D | XCoreLowerThreadLocal.cpp | 118 case Instruction::BitCast: in createReplacementInstr()
|
| /minix3/external/bsd/llvm/dist/llvm/include/llvm/IR/ |
| H A D | ConstantFolder.h | 177 return CreateCast(Instruction::BitCast, C, DestTy); in CreateBitCast()
|
| H A D | Instruction.def | 156 HANDLE_CAST_INST(44, BitCast , BitCastInst ) // Type cast
|
| H A D | NoFolder.h | 230 return CreateCast(Instruction::BitCast, C, DestTy); in CreateBitCast()
|
| /minix3/external/bsd/llvm/dist/llvm/include/llvm/Analysis/ |
| H A D | TargetFolder.h | 190 return CreateCast(Instruction::BitCast, C, DestTy); in CreateBitCast()
|
| /minix3/minix/llvm/passes/magic/support/ |
| H A D | MagicUtil.cpp | 490 Constant* varAddress = ConstantExpr::getCast(Instruction::BitCast, GV, voidPointerType); in insertCopyInst() 491 Constant* varShadowAddress = ConstantExpr::getCast(Instruction::BitCast, SGV, voidPointerType); in insertCopyInst() 508 … assert(CE->getOpcode() == Instruction::BitCast && "Bitcast expected, something else found!"); in getCalledFunctionFromCS()
|
| /minix3/external/bsd/llvm/dist/llvm/lib/Analysis/IPA/ |
| H A D | GlobalsModRef.cpp | 269 } else if (Operator::getOpcode(I) == Instruction::BitCast) { in AnalyzeUsesOfPointer()
|