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

12

/macosx-10.10.1/llvmCore-3425.0.34/unittests/VMCore/
H A DInstructionsTest.cpp170 CastInst *BTC0 = new BitCastInst(Gep0, V2xi8PTy);
171 CastInst *BTC1 = new BitCastInst(Gep1, V2xi8PTy);
172 CastInst *BTC2 = new BitCastInst(Gep2, V2xi8PTy);
173 CastInst *BTC3 = new BitCastInst(Gep3, V2xi8PTy);
H A DMetadataTest.cpp119 Instruction *I = new BitCastInst(C, Type::getInt32Ty(getGlobalContext()));
H A DValueMapTest.cpp28 OwningPtr<BitCastInst> BitcastV;
33 BitcastV(new BitCastInst(ConstantV, Type::getInt32Ty(getGlobalContext()))),
/macosx-10.10.1/llvmCore-3425.0.34/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 DObjCARC.cpp554 if (const BitCastInst *BC = dyn_cast<BitCastInst>(Arg))
633 if (isa<BitCastInst>(UUser) || isa<GetElementPtrInst>(UUser) ||
2156 return isa<BitCastInst>(I) ||
2246 if (isa<BitCastInst>(I))
2467 Op = new BitCastInst(Op, ParamTy, "", InsertPos);
3120 new BitCastInst(Arg, ParamTy, "", InsertPt);
3137 new BitCastInst(Arg, ParamTy, "", InsertPt);
3990 Args[0] = new BitCastInst(Args[0], I8XX, "", Store);
3992 Args[1] = new BitCastInst(Arg
[all...]
H A DCodeGenPrepare.cpp783 BitCastInst *BCI = 0;
786 BCI = dyn_cast<BitCastInst>(V);
1388 Instruction *NC = new BitCastInst(GEPI->getOperand(0), GEPI->getType(),
/macosx-10.10.1/llvmCore-3425.0.34/lib/VMCore/
H A DIRBuilder.cpp49 BitCastInst *BCI = new BitCastInst(Ptr, PT, "");
H A DInstructions.cpp418 Result = new BitCastInst(MCall, AllocPtrType, Name, InsertBefore);
425 Result = new BitCastInst(MCall, AllocPtrType, Name);
487 PtrCast = new BitCastInst(Source, IntPtrTy, "", InsertBefore);
491 PtrCast = new BitCastInst(Source, IntPtrTy, "", InsertAtEnd);
2293 case BitCast: return new BitCastInst (S, Ty, Name, InsertBefore);
2314 case BitCast: return new BitCastInst (S, Ty, Name, InsertAtEnd);
2823 BitCastInst::BitCastInst( function in class:BitCastInst
2829 BitCastInst::BitCastInst( function in class:BitCastInst
[all...]
/macosx-10.10.1/llvmCore-3425.0.34/lib/Transforms/InstCombine/
H A DInstCombineCasts.cpp79 Instruction *InstCombiner::PromoteCastOfAllocation(BitCastInst &CI,
1337 if (TD && GEP->hasOneUse() && isa<BitCastInst>(GEP->getOperand(0)) &&
1343 Value *OrigBase = cast<BitCastInst>(GEP->getOperand(0))->getOperand(0);
1356 if (isa<BitCastInst>(CI))
1357 return new BitCastInst(NGEP, CI.getType());
1561 static Value *OptimizeIntegerToVectorInsertions(BitCastInst &CI,
1588 static Instruction *OptimizeIntToFloatBitCast(BitCastInst &CI,InstCombiner &IC){
1638 Instruction *InstCombiner::visitBitCast(BitCastInst &CI) {
1707 if (BitCastInst *BCIn = dyn_cast<BitCastInst>(SrcCas
[all...]
H A DInstCombineLoadStoreAlloca.cpp63 if (BitCastInst *BCI = dyn_cast<BitCastInst>(U)) {
261 return new BitCastInst(EntryAI, AI.getType());
347 return new BitCastInst(NewLoad, LI.getType());
625 (isa<BitCastInst>(BBI) && BBI->getType()->isPointerTy())) {
692 (isa<BitCastInst>(BBI) && BBI->getType()->isPointerTy()));
756 (isa<BitCastInst>(BBI) && BBI->getType()->isPointerTy())) {
H A DInstCombine.h174 Instruction *visitBitCast(BitCastInst &CI);
360 Instruction *PromoteCastOfAllocation(BitCastInst &CI, AllocaInst &AI);
H A DInstructionCombining.cpp576 if (BitCastInst *BC = dyn_cast<BitCastInst>(&Op)) {
986 return new BitCastInst(NewGEP, GEP.getType());
1045 return new BitCastInst(NewGEP, GEP.getType());
1056 if (BitCastInst *BCI = dyn_cast<BitCastInst>(PtrOp)) {
1058 !isa<BitCastInst>(BCI->getOperand(0)) && GEP.hasAllConstantIndices() &&
1082 return new BitCastInst(BCI->getOperand(0), GEP.getType());
1099 return new BitCastInst(NGEP, GEP.getType());
1201 } else if (isa<BitCastInst>(
[all...]
H A DInstCombineVectorOps.cpp137 if (BitCastInst *BCI = dyn_cast<BitCastInst>(EI.getOperand(0))) {
141 return new BitCastInst(Elt, EI.getType());
/macosx-10.10.1/llvmCore-3425.0.34/lib/Transforms/Utils/
H A DLowerInvoke.cpp309 CastInst *NC = new BitCastInst(
489 JmpBufPtr = new BitCastInst(JmpBufPtr,
542 Idx[0] = new BitCastInst(Idx[0],
H A DBasicBlockUtils.cpp665 if (BitCastInst *BCI = dyn_cast<BitCastInst>(V)) {
/macosx-10.10.1/llvmCore-3425.0.34/unittests/Support/
H A DValueHandleTest.cpp28 std::auto_ptr<BitCastInst> BitcastV;
32 BitcastV(new BitCastInst(ConstantV, Type::getInt32Ty(getGlobalContext()))) {
/macosx-10.10.1/llvmCore-3425.0.34/lib/ExecutionEngine/Interpreter/
H A DInterpreter.h167 void visitBitCastInst(BitCastInst &I);
/macosx-10.10.1/llvmCore-3425.0.34/lib/Transforms/IPO/
H A DGlobalOpt.cpp257 } else if (isa<BitCastInst>(I)) {
824 } else if (const BitCastInst *CI = dyn_cast<BitCastInst>(U)) {
966 isa<BitCastInst>(GlobalUser) ||
1046 BitCastInst *TheBC = 0;
1049 if (BitCastInst *BCI = dyn_cast<BitCastInst>(User)) {
1058 TheBC = new BitCastInst(NewGV, CI->getType(), "newgv", CI);
1185 if (const BitCastInst *BCI = dyn_cast<BitCastInst>(Ins
[all...]
/macosx-10.10.1/llvmCore-3425.0.34/lib/Analysis/IPA/
H A DGlobalsModRef.cpp263 } else if (BitCastInst *BCI = dyn_cast<BitCastInst>(U)) {
/macosx-10.10.1/llvmCore-3425.0.34/lib/CodeGen/SelectionDAG/
H A DFunctionLoweringInfo.cpp126 if (const BitCastInst *BCI = dyn_cast<BitCastInst>(Address))
/macosx-10.10.1/llvmCore-3425.0.34/include/llvm/Support/
H A DInstVisitor.h193 RetTy visitBitCastInst(BitCastInst &I) { DELEGATE(CastInst);}
/macosx-10.10.1/llvmCore-3425.0.34/lib/Analysis/
H A DScalarEvolutionExpander.cpp131 while ((isa<BitCastInst>(IP) &&
132 isa<Argument>(cast<BitCastInst>(IP)->getOperand(0)) &&
133 cast<BitCastInst>(IP)->getOperand(0) != A) ||
866 (isa<CastInst>(IncV) && !isa<BitCastInst>(IncV)))
H A DInlineCost.cpp116 bool visitBitCast(BitCastInst &I);
358 bool CallAnalyzer::visitBitCast(BitCastInst &I) {
/macosx-10.10.1/llvmCore-3425.0.34/lib/CodeGen/
H A DAnalysis.cpp224 if (isa<BitCastInst>(I)) {

Completed in 290 milliseconds

12