| /freebsd-12.1/contrib/llvm/lib/Transforms/ObjCARC/ |
| H A D | ObjCARCContract.cpp | 409 Args[0] = new BitCastInst(Args[0], I8XX, "", Store); in tryToContractReleaseIntoStoreStrong() 411 Args[1] = new BitCastInst(Args[1], I8X, "", Store); in tryToContractReleaseIntoStoreStrong() 628 new BitCastInst(Replacement, UseTy, "", &InsertBB->back()); in runOnFunction() 645 Replacement = new BitCastInst(Replacement, UseTy, "", in runOnFunction() 661 if (const BitCastInst *BI = dyn_cast<BitCastInst>(Arg)) in runOnFunction() 683 SmallVector<BitCastInst *, 2> BitCastUsers; in runOnFunction() 687 if (auto *BC = dyn_cast<BitCastInst>(U)) in runOnFunction() 694 if (auto *B = dyn_cast<BitCastInst>(U)) in runOnFunction()
|
| H A D | ObjCARCOpts.cpp | 89 if (const BitCastInst *BC = dyn_cast<BitCastInst>(Arg)) in FindSingleUseIdentifiedObject() 678 if (isa<BitCastInst>(U)) in OptimizeAutoreleaseRVCall() 987 Op = new BitCastInst(Op, ParamTy, "", InsertPos); in OptimizeIndividualCalls() 1530 new BitCastInst(Arg, ParamTy, "", InsertPt); in MoveCalls() 1543 new BitCastInst(Arg, ParamTy, "", InsertPt); in MoveCalls()
|
| /freebsd-12.1/contrib/llvm/tools/lldb/source/Expression/ |
| H A D | IRDynamicChecks.cpp | 362 BitCastInst *bit_cast = in InstrumentInstruction() 363 new BitCastInst(dereferenced_ptr, GetI8PtrTy(), "", inst); in InstrumentInstruction() 446 BitCastInst *bit_cast = in InstrumentInstruction() 447 new BitCastInst(target_object, GetI8PtrTy(), "", inst); in InstrumentInstruction()
|
| /freebsd-12.1/contrib/llvm/lib/Analysis/ |
| H A D | TypeMetadataUtils.cpp | 38 if (isa<BitCastInst>(User)) { in findCallsAtConstantOffset() 57 if (isa<BitCastInst>(User)) { in findLoadCallsAtConstantOffset()
|
| /freebsd-12.1/contrib/llvm/lib/Transforms/Utils/ |
| H A D | EntryExitInstrumenter.cpp | 100 if (BitCastInst *BCI = dyn_cast_or_null<BitCastInst>(Prev)) in runOnFunction()
|
| H A D | StripGCRelocates.cpp | 63 ReplaceGCRel = new BitCastInst(OrigPtr, GCRel->getType(), "cast", GCRel); in runOnFunction()
|
| H A D | BypassSlowDivision.cpp | 206 if (!C && isa<BitCastInst>(Op1)) in isHashLikeValue() 207 C = dyn_cast<ConstantInt>(cast<BitCastInst>(Op1)->getOperand(0)); in isHashLikeValue() 395 if (auto *BCI = dyn_cast<BitCastInst>(Divisor)) in insertFastDivAndRem()
|
| H A D | GlobalStatus.cpp | 141 } else if (isa<BitCastInst>(I) || isa<GetElementPtrInst>(I)) { in analyzeGlobalAux()
|
| /freebsd-12.1/contrib/llvm/lib/Target/PowerPC/ |
| H A D | PPCLoopPreIncPrep.cpp | 147 while (BitCastInst *BC = dyn_cast<BitCastInst>(StrippedBasePtr)) in IsPtrInBounds() 461 NewBasePtr = new BitCastInst(PtrInc, BasePtr->getType(), in runOnLoop() 510 ReplNewPtr = new BitCastInst(RealNewPtr, Ptr->getType(), in runOnLoop()
|
| /freebsd-12.1/contrib/llvm/lib/Transforms/InstCombine/ |
| H A D | InstCombineLoadStoreAlloca.cpp | 80 if (isa<BitCastInst>(I) || isa<AddrSpaceCastInst>(I)) { in isOnlyCopiedFromConstantGlobal() 278 } else if (isa<GetElementPtrInst>(Inst) || isa<BitCastInst>(Inst)) { in findLoadAndReplace() 317 } else if (auto *BC = dyn_cast<BitCastInst>(I)) { in replace() 322 auto *NewI = new BitCastInst(V, NewT); in replace() 389 return new BitCastInst(EntryAI, AI.getType()); in visitAllocaInst() 1189 if (auto *BC = dyn_cast<BitCastInst>(V)) { in combineStoreToValueType() 1449 (isa<BitCastInst>(BBI) && BBI->getType()->isPointerTy())) { in visitStoreInst() 1507 (isa<BitCastInst>(BBI) && BBI->getType()->isPointerTy())); in visitStoreInst() 1555 (isa<BitCastInst>(BBI) && BBI->getType()->isPointerTy())) { in mergeStoreIntoSuccessor()
|
| H A D | InstCombineCasts.cpp | 84 Instruction *InstCombiner::PromoteCastOfAllocation(BitCastInst &CI, in PromoteCastOfAllocation() 1717 return new BitCastInst(SrcI, FITy); in FoldItoFPtoI() 2001 static Value *optimizeIntegerToVectorInsertions(BitCastInst &CI, in optimizeIntegerToVectorInsertions() 2097 static Instruction *foldBitCastSelect(BitCastInst &BitCast, in foldBitCastSelect() 2202 auto *BCI = dyn_cast<BitCastInst>(IncValue); in optimizeBitCastFromPhi() 2235 } else if (auto *BCI = dyn_cast<BitCastInst>(V)) { in optimizeBitCastFromPhi() 2261 Instruction *InstCombiner::visitBitCast(BitCastInst &CI) { in visitBitCast() 2331 if (BitCastInst *BCIn = dyn_cast<BitCastInst>(SrcCast->getOperand(0))) in visitBitCast() 2373 BitCastInst *Tmp; in visitBitCast() 2377 if (((Tmp = dyn_cast<BitCastInst>(SVI->getOperand(0))) && in visitBitCast() [all …]
|
| H A D | InstCombineInternal.h | 120 if (auto *BitCast = dyn_cast<BitCastInst>(V)) 391 Instruction *visitBitCast(BitCastInst &CI); 871 Instruction *foldICmpBitCastConstant(ICmpInst &Cmp, BitCastInst *Bitcast, 923 Instruction *PromoteCastOfAllocation(BitCastInst &CI, AllocaInst &AI);
|
| /freebsd-12.1/contrib/llvm/lib/Target/NVPTX/ |
| H A D | NVPTXLowerAlloca.cpp | 105 auto BI = dyn_cast<BitCastInst>(AllocaUse.getUser()); in runOnBasicBlock()
|
| /freebsd-12.1/contrib/llvm/lib/Transforms/IPO/ |
| H A D | GlobalOpt.cpp | 639 } else if (const BitCastInst *CI = dyn_cast<BitCastInst>(U)) { in AllUsesOfValueWillTrapIfNull() 780 isa<BitCastInst>(GlobalUser) || in OptimizeAwayTrappingUsesOfLoads() 858 BitCastInst *TheBC = nullptr; in OptimizeGlobalAddressOfMalloc() 861 if (BitCastInst *BCI = dyn_cast<BitCastInst>(User)) { in OptimizeGlobalAddressOfMalloc() 870 TheBC = new BitCastInst(NewGV, CI->getType(), "newgv", CI); in OptimizeGlobalAddressOfMalloc() 994 if (const BitCastInst *BCI = dyn_cast<BitCastInst>(Inst)) { in ValueIsOnlyUsedLocallyOrStoredToOneGlobal() 1024 } else if (isa<BitCastInst>(U)) { in ReplaceUsesOfMallocWithGlobal() 1542 Instruction *Cast = new BitCastInst(Malloc, CI->getType(), "tmp", CI); in tryToOptimizeStoreOfMallocToGlobal() 1545 if (BitCastInst *BCI = dyn_cast<BitCastInst>(Malloc)) in tryToOptimizeStoreOfMallocToGlobal()
|
| /freebsd-12.1/contrib/llvm/lib/CodeGen/ |
| H A D | StackColoring.cpp | 924 BitCastInst *Cast = new BitCastInst(Inst, From->getType()); in remapInstructions() 951 if (BitCastInst *BCI = dyn_cast<BitCastInst>(Use.get())) in remapInstructions()
|
| H A D | StackProtector.cpp | 186 } else if (const BitCastInst *BI = dyn_cast<BitCastInst>(U)) { in HasAddressTaken()
|
| H A D | InterleavedLoadCombinePass.cpp | 719 BitCastInst *BCI = dyn_cast<BitCastInst>(V); in compute() 731 static bool computeFromBCI(BitCastInst *BCI, VectorInfo &Result, in computeFromBCI()
|
| /freebsd-12.1/contrib/llvm/lib/Transforms/Scalar/ |
| H A D | Reg2Mem.cpp | 86 CastInst *AllocaInsertionPoint = new BitCastInst( in INITIALIZE_PASS_DEPENDENCY()
|
| H A D | ConstantHoisting.cpp | 740 Base = new BitCastInst(Base, Int8PtrTy, "base_bitcast", InsertionPt); in emitBaseConstants() 743 Mat = new BitCastInst(Mat, Ty, "mat_bitcast", InsertionPt); in emitBaseConstants() 864 Base = new BitCastInst(ConstInfo.BaseExpr, Ty, "const", IP); in emitBaseConstants() 867 Base = new BitCastInst(ConstInfo.BaseInt, Ty, "const", IP); in emitBaseConstants()
|
| H A D | CallSiteSplitting.cpp | 244 BitCastInst* BCI = dyn_cast<BitCastInst>(&*II); in copyMustTailReturn()
|
| /freebsd-12.1/contrib/llvm/lib/Target/WebAssembly/ |
| H A D | WebAssemblyAddMissingPrototypes.cpp | 125 if (auto *Inst = dyn_cast<BitCastInst>(U)) { in runOnModule()
|
| /freebsd-12.1/contrib/llvm/include/llvm/Analysis/ |
| H A D | PtrUseVisitor.h | 256 void visitBitCastInst(BitCastInst &BC) { in visitBitCastInst()
|
| H A D | ObjCARCAnalysisUtils.h | 147 return isa<BitCastInst>(I) || in IsNoopInstruction()
|
| /freebsd-12.1/contrib/llvm/lib/Target/AMDGPU/ |
| H A D | AMDGPULowerKernelAttributes.cpp | 105 auto *BCI = dyn_cast<BitCastInst>(*U->user_begin()); in processUse()
|
| /freebsd-12.1/contrib/llvm/lib/IR/ |
| H A D | Instructions.cpp | 519 Result = new BitCastInst(MCall, AllocPtrType, Name, InsertBefore); in createMalloc() 526 Result = new BitCastInst(MCall, AllocPtrType, Name); in createMalloc() 608 PtrCast = new BitCastInst(Source, IntPtrTy, "", InsertBefore); in createFree() 612 PtrCast = new BitCastInst(Source, IntPtrTy, "", InsertAtEnd); in createFree() 2589 case BitCast: return new BitCastInst (S, Ty, Name, InsertBefore); in Create() 2611 case BitCast: return new BitCastInst (S, Ty, Name, InsertAtEnd); in Create() 3259 BitCastInst::BitCastInst( in BitCastInst() function in BitCastInst 3265 BitCastInst::BitCastInst( in BitCastInst() function in BitCastInst 3917 BitCastInst *BitCastInst::cloneImpl() const { in cloneImpl() 3918 return new BitCastInst(getOperand(0), getType()); in cloneImpl()
|