Home
last modified time | relevance | path

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

1234

/external/llvm/lib/Target/R600/
DAMDGPUPromoteAlloca.cpp141 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()
DSITypeRewriter.cpp86 Value *BitCast = Builder.CreateBitCast(Ptr, in visitLoadInst() local
88 LoadInst *Load = Builder.CreateLoad(BitCast); in visitLoadInst()
DAMDGPUISelDAGToDAG.cpp438 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/
DNVPTXLowerStructArgs.cpp92 BitCastInst *BitCast = new BitCastInst( in handleParam() local
95 LoadInst *LI = new LoadInst(BitCast, Arg->getName(), FirstInst); in handleParam()
/external/llvm/lib/IR/
DInstructions.cpp1992 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 …]
DValue.cpp410 } else if (Operator::getOpcode(V) == Instruction::BitCast || in stripPointerCastsAndOffsets()
462 } else if (Operator::getOpcode(V) == Instruction::BitCast || in stripAndAccumulateInBoundsConstantOffsets()
DAutoUpgrade.cpp870 if (Opc != Instruction::BitCast) in UpgradeBitCastInst()
891 if (Opc != Instruction::BitCast) in UpgradeBitCastExpr()
DInstruction.cpp235 case BitCast: return "bitcast"; in getOpcodeName()
DConstants.cpp1236 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/
DInstructionsTest.cpp264 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/
DBasicTTIImpl.h360 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/
DCaptureTracking.cpp229 case Instruction::BitCast: in PointerMayBeCaptured()
DConstantFolding.cpp251 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()
DCostModel.cpp455 case Instruction::BitCast: in getInstructionCost()
/external/llvm/lib/Target/SystemZ/
DSystemZTargetTransformInfo.cpp172 case Instruction::BitCast: in getIntImmCost()
/external/llvm/lib/Target/XCore/
DXCoreLowerThreadLocal.cpp119 case Instruction::BitCast: in createReplacementInstr()
/external/lldb/source/Expression/
DIRInterpreter.cpp242 case Instruction::BitCast: in ResolveConstantValue()
465 case Instruction::BitCast: in CanInterpret()
807 case Instruction::BitCast: in Interpret()
/external/llvm/include/llvm/IR/
DConstantFolder.h178 return CreateCast(Instruction::BitCast, C, DestTy); in CreateBitCast()
DInstruction.def156 HANDLE_CAST_INST(44, BitCast , BitCastInst ) // Type cast
DOperator.h513 : public ConcreteOperator<Operator, Instruction::BitCast> {
DNoFolder.h231 return CreateCast(Instruction::BitCast, C, DestTy); in CreateBitCast()
/external/llvm/include/llvm/Analysis/
DTargetFolder.h191 return CreateCast(Instruction::BitCast, C, DestTy); in CreateBitCast()
DTargetTransformInfoImpl.h63 case Instruction::BitCast: in getOperationCost()
/external/llvm/lib/CodeGen/
DMachineFunction.cpp900 A = ConstantFoldInstOperands(Instruction::BitCast, IntTy, in CanShareConstantPoolEntry()
906 B = ConstantFoldInstOperands(Instruction::BitCast, IntTy, in CanShareConstantPoolEntry()
/external/llvm/lib/Analysis/IPA/
DGlobalsModRef.cpp269 } else if (Operator::getOpcode(I) == Instruction::BitCast) { in AnalyzeUsesOfPointer()

1234