Searched refs:BitCastInst (Results 1 - 25 of 50) sorted by relevance

12

/freebsd-9.3-release/contrib/llvm/lib/Target/R600/
H A DSITypeRewriter.cpp50 void visitBitCast(BitCastInst &I);
146 void SITypeRewriter::visitBitCast(BitCastInst &I) {
152 if (BitCastInst *Op = dyn_cast<BitCastInst>(I.getOperand(0))) {
/freebsd-9.3-release/contrib/llvm/lib/Transforms/ObjCARC/
H A DObjCARCContract.cpp273 Args[0] = new BitCastInst(Args[0], I8XX, "", Store);
275 Args[1] = new BitCastInst(Args[1], I8X, "", Store);
470 Replacement = new BitCastInst(Replacement, UseTy, "",
486 Replacement = new BitCastInst(Replacement, UseTy, "",
494 if (const BitCastInst *BI = dyn_cast<BitCastInst>(Arg))
H A DObjCARC.h270 return isa<BitCastInst>(I) ||
H A DObjCARCOpts.cpp150 if (const BitCastInst *BC = dyn_cast<BitCastInst>(Arg))
1275 if (isa<BitCastInst>(I))
1538 Op = new BitCastInst(Op, ParamTy, "", InsertPos);
2312 new BitCastInst(Arg, ParamTy, "", InsertPt);
2326 new BitCastInst(Arg, ParamTy, "", InsertPt);
/freebsd-9.3-release/contrib/llvm/lib/Transforms/Scalar/
H A DScalarReplAggregates.cpp170 void RewriteBitCast(BitCastInst *BC, AllocaInst *AI, uint64_t Offset,
495 if (BitCastInst *BCI = dyn_cast<BitCastInst>(User)) {
602 if (BitCastInst *CI = dyn_cast<BitCastInst>(User)) {
1295 if (BitCastInst *BCI = dyn_cast<BitCastInst>(U)) {
1313 if (BitCastInst *BCI = dyn_cast<BitCastInst>(InstsToRewrite[i])) {
1315 for (BitCastInst
[all...]
H A DReg2Mem.cpp86 new BitCastInst(Constant::getNullValue(Type::getInt32Ty(F.getContext())),
H A DMemCpyOptimizer.cpp665 if (isa<BitCastInst>(UI)) {
956 TmpCast = new BitCastInst(MDep->getSource(), ByValArg->getType(),
/freebsd-9.3-release/contrib/llvm/lib/IR/
H A DIRBuilder.cpp49 BitCastInst *BCI = new BitCastInst(Ptr, PT, "");
H A DInstructions.cpp430 Result = new BitCastInst(MCall, AllocPtrType, Name, InsertBefore);
437 Result = new BitCastInst(MCall, AllocPtrType, Name);
499 PtrCast = new BitCastInst(Source, IntPtrTy, "", InsertBefore);
503 PtrCast = new BitCastInst(Source, IntPtrTy, "", InsertAtEnd);
2366 case BitCast: return new BitCastInst (S, Ty, Name, InsertBefore);
2388 case BitCast: return new BitCastInst (S, Ty, Name, InsertAtEnd);
2978 BitCastInst::BitCastInst( function in class:BitCastInst
2984 BitCastInst::BitCastInst( function in class:BitCastInst
[all...]
/freebsd-9.3-release/contrib/llvm/lib/Transforms/InstCombine/
H A DInstCombineLoadStoreAlloca.cpp63 if (BitCastInst *BCI = dyn_cast<BitCastInst>(U)) {
243 return new BitCastInst(EntryAI, AI.getType());
334 return new BitCastInst(NewLoad, LI.getType());
612 (isa<BitCastInst>(BBI) && BBI->getType()->isPointerTy())) {
679 (isa<BitCastInst>(BBI) && BBI->getType()->isPointerTy()));
743 (isa<BitCastInst>(BBI) && BBI->getType()->isPointerTy())) {
H A DInstCombineCasts.cpp79 Instruction *InstCombiner::PromoteCastOfAllocation(BitCastInst &CI,
1405 BitCastInst *BCI = dyn_cast<BitCastInst>(GEP->getOperand(0));
1423 if (isa<BitCastInst>(CI))
1424 return new BitCastInst(NGEP, CI.getType());
1639 static Value *OptimizeIntegerToVectorInsertions(BitCastInst &CI,
1669 static Instruction *OptimizeIntToFloatBitCast(BitCastInst &CI,InstCombiner &IC){
1727 Instruction *InstCombiner::visitBitCast(BitCastInst &CI) {
1796 if (BitCastInst *BCIn = dyn_cast<BitCastInst>(SrcCas
[all...]
H A DInstCombine.h180 Instruction *visitBitCast(BitCastInst &CI);
374 Instruction *PromoteCastOfAllocation(BitCastInst &CI, AllocaInst &AI);
H A DInstructionCombining.cpp597 if (BitCastInst *BC = dyn_cast<BitCastInst>(&Op)) {
1269 return new BitCastInst(NewGEP, GEP.getType());
1300 return new BitCastInst(NewGEP, GEP.getType());
1340 return new BitCastInst(NewGEP, GEP.getType());
1355 if (BitCastInst *BCI = dyn_cast<BitCastInst>(PtrOp)) {
1360 if (!isa<BitCastInst>(Operand) &&
1380 return new BitCastInst(Operand, GEP.getType());
1395 return new BitCastInst(NGE
[all...]
H A DInstCombineVectorOps.cpp215 if (BitCastInst *BCI = dyn_cast<BitCastInst>(EI.getOperand(0))) {
219 return new BitCastInst(Elt, EI.getType());
/freebsd-9.3-release/contrib/llvm/include/llvm/Analysis/
H A DPtrUseVisitor.h238 void visitBitCastInst(BitCastInst &BC) {
/freebsd-9.3-release/contrib/llvm/lib/CodeGen/
H A DStackProtector.cpp155 } else if (const BitCastInst *BI = dyn_cast<BitCastInst>(U)) {
/freebsd-9.3-release/contrib/llvm/lib/Transforms/Utils/
H A DLowerInvoke.cpp306 CastInst *NC = new BitCastInst(
486 JmpBufPtr = new BitCastInst(JmpBufPtr,
539 Idx[0] = new BitCastInst(Idx[0],
H A DGlobalStatus.cpp123 } else if (isa<BitCastInst>(I)) {
H A DBasicBlockUtils.cpp607 if (BitCastInst *BCI = dyn_cast<BitCastInst>(V)) {
/freebsd-9.3-release/contrib/llvm/lib/ExecutionEngine/Interpreter/
H A DInterpreter.h167 void visitBitCastInst(BitCastInst &I);
/freebsd-9.3-release/contrib/llvm/lib/Transforms/IPO/
H A DGlobalOpt.cpp634 } else if (const BitCastInst *CI = dyn_cast<BitCastInst>(U)) {
776 isa<BitCastInst>(GlobalUser) ||
856 BitCastInst *TheBC = 0;
859 if (BitCastInst *BCI = dyn_cast<BitCastInst>(User)) {
868 TheBC = new BitCastInst(NewGV, CI->getType(), "newgv", CI);
995 if (const BitCastInst *BCI = dyn_cast<BitCastInst>(Inst)) {
1026 } else if (isa<BitCastInst>(
[all...]
/freebsd-9.3-release/contrib/llvm/lib/Analysis/IPA/
H A DGlobalsModRef.cpp263 } else if (BitCastInst *BCI = dyn_cast<BitCastInst>(U)) {
/freebsd-9.3-release/contrib/llvm/lib/CodeGen/SelectionDAG/
H A DFunctionLoweringInfo.cpp165 if (const BitCastInst *BCI = dyn_cast<BitCastInst>(Address))
/freebsd-9.3-release/contrib/llvm/include/llvm/
H A DInstVisitor.h193 RetTy visitBitCastInst(BitCastInst &I) { DELEGATE(CastInst);}
/freebsd-9.3-release/contrib/llvm/lib/Analysis/
H A DMemoryBuiltins.cpp266 if (const BitCastInst *BCI = dyn_cast<BitCastInst>(*UI++)) {

Completed in 254 milliseconds

12