/external/clang/lib/CodeGen/ |
D | CGBuiltin.cpp | 103 Args[0] = CGF.Builder.CreateBitCast(DestPtr, IntPtrType); in EmitBinaryAtomic() 141 Args[0] = CGF.Builder.CreateBitCast(DestPtr, IntPtrType); in EmitBinaryAtomicPost() 170 V = CGF.Builder.CreateBitCast(V, IntTy); in EmitSignBit() 242 ArgValue = Builder.CreateBitCast(ArgValue, DestType, in EmitBuiltinExpr() 255 DstPtr = Builder.CreateBitCast(DstPtr, Type); in EmitBuiltinExpr() 256 SrcPtr = Builder.CreateBitCast(SrcPtr, Type); in EmitBuiltinExpr() 917 Buf = Builder.CreateBitCast(Buf, Int8PtrTy); in EmitBuiltinExpr() 922 Buf = Builder.CreateBitCast(Buf, Int8PtrTy); in EmitBuiltinExpr() 1058 Args[0] = Builder.CreateBitCast(DestPtr, IntPtrType); in EmitBuiltinExpr() 1087 Args[0] = Builder.CreateBitCast(DestPtr, IntPtrType); in EmitBuiltinExpr() [all …]
|
D | CGObjC.cpp | 82 return Builder.CreateBitCast(result.getScalarVal(), in EmitObjCBoxedExpr() 194 return Builder.CreateBitCast(result.getScalarVal(), in EmitObjCCollectionLiteral() 236 return RValue::get(CGF.Builder.CreateBitCast(Result.getScalarVal(), in AdjustRelatedResultType() 417 newSelf = Builder.CreateBitCast(newSelf, selfTy); in EmitObjCMessageExpr() 520 llvm::Value *dest = CGF.Builder.CreateBitCast(CGF.ReturnValue, CGF.VoidPtrTy); in emitStructGetterCall() 523 src = CGF.Builder.CreateBitCast(src, CGF.VoidPtrTy); in emitStructGetterCall() 790 ivarAddr = CGF.Builder.CreateBitCast(ivarAddr, CGF.Int8PtrTy); in emitCPPObjectAtomicGetterCall() 850 ivarAddr = Builder.CreateBitCast(ivarAddr, bitcastType); in generateObjCGetterBody() 858 Builder.CreateStore(load, Builder.CreateBitCast(ReturnValue, bitcastType)); in generateObjCGetterBody() 878 llvm::Value *self = Builder.CreateBitCast(LoadObjCSelf(), VoidPtrTy); in generateObjCGetterBody() [all …]
|
D | CGObjCRuntime.cpp | 95 llvm::Value *V = CGF.Builder.CreateBitCast(BaseValue, CGF.Int8PtrTy); in EmitValueForIvarAtOffset() 99 V = CGF.Builder.CreateBitCast(V, llvm::PointerType::getUnqual(LTy)); in EmitValueForIvarAtOffset() 139 V = CGF.Builder.CreateBitCast(V, in EmitValueForIvarAtOffset() 255 llvm::Value *CastExn = CGF.Builder.CreateBitCast(Exn, CatchType); in EmitTryCatchStmt() 328 lock = CGF.Builder.CreateBitCast(lock, CGF.VoidPtrTy); in EmitAtSynchronizedStmt()
|
D | CGBlocks.cpp | 815 src = Builder.CreateBitCast(src, VoidPtrTy); in EmitBlockLiteral() 894 Builder.CreateBitCast(blockAddr, in EmitBlockLiteral() 966 Builder.CreateBitCast(Callee, BlockLiteralTy, "block.literal"); in EmitBlockCallExpr() 972 BlockLiteral = Builder.CreateBitCast(BlockLiteral, VoidPtrTy); in EmitBlockCallExpr() 995 Func = Builder.CreateBitCast(Func, BlockFTyPtr); in EmitBlockCallExpr() 1020 addr = Builder.CreateBitCast(addr, byrefPointerType, in GetAddrOfBlockDecl() 1028 addr = Builder.CreateBitCast(addr, byrefPointerType); in GetAddrOfBlockDecl() 1170 BlockPointer = Builder.CreateBitCast(blockAddr, in GenerateBlockFunction() 1342 src = Builder.CreateBitCast(src, structPtrTy, "block.source"); in GenerateCopyHelperFunction() 1346 dst = Builder.CreateBitCast(dst, structPtrTy, "block.dest"); in GenerateCopyHelperFunction() [all …]
|
D | CGCall.cpp | 819 V = Builder.CreateBitCast(V, IRFuncTy->getParamType(IRCallArgPos)); in ExpandTypeToArgs() 876 return CGF.Builder.CreateBitCast(Val, Ty, "coerce.val"); in CoerceIntOrPtrToIntOrPtr() 956 CGF.Builder.CreateBitCast(SrcPtr, llvm::PointerType::getUnqual(Ty)); in CreateCoercedLoad() 967 llvm::Value *Casted = CGF.Builder.CreateBitCast(Tmp, I8PtrTy); in CreateCoercedLoad() 968 llvm::Value *SrcCasted = CGF.Builder.CreateBitCast(SrcPtr, I8PtrTy); in CreateCoercedLoad() 1039 CGF.Builder.CreateBitCast(DstPtr, llvm::PointerType::getUnqual(SrcTy)); in CreateCoercedStore() 1055 llvm::Value *Casted = CGF.Builder.CreateBitCast(Tmp, I8PtrTy); in CreateCoercedStore() 1056 llvm::Value *DstCasted = CGF.Builder.CreateBitCast(DstPtr, I8PtrTy); in CreateCoercedStore() 1802 llvm::Value *Dst = Builder.CreateBitCast(AlignedTemp, I8PtrTy); in EmitFunctionProlog() 1803 llvm::Value *Src = Builder.CreateBitCast(V, I8PtrTy); in EmitFunctionProlog() [all …]
|
D | CGObjCMac.cpp | 1789 CGF.Builder.CreateBitCast(Receiver, ObjCTypes.ObjectPtrTy); in GenerateMessageSendSuper() 1825 Target = CGF.Builder.CreateBitCast(Target, ClassTy); in GenerateMessageSendSuper() 1862 Arg0 = CGF.Builder.CreateBitCast(Arg0, ObjCTypes.ObjectPtrTy); in EmitMessageSend() 3767 SyncArg = CGF.Builder.CreateBitCast(SyncArg, ObjCTypes.ObjectPtrTy); in EmitTryOrSynchronizedStmt() 3976 CGF.Builder.CreateBitCast(Caught, in EmitTryOrSynchronizedStmt() 4066 CGF.Builder.CreateBitCast(Exception, ObjCTypes.ObjectPtrTy); in EmitThrowStmt() 4089 AddrWeakObj = CGF.Builder.CreateBitCast(AddrWeakObj, in EmitObjCWeakRead() 4094 read_weak = CGF.Builder.CreateBitCast(read_weak, DestTy); in EmitObjCWeakRead() 4107 src = (Size == 4) ? CGF.Builder.CreateBitCast(src, ObjCTypes.IntTy) in EmitObjCWeakAssign() 4108 : CGF.Builder.CreateBitCast(src, ObjCTypes.LongLongTy); in EmitObjCWeakAssign() [all …]
|
D | CGClass.cpp | 105 V = Builder.CreateBitCast(V, Int8PtrTy); in GetAddressOfDirectBaseInCompleteClass() 108 V = Builder.CreateBitCast(V, ConvertType(Base)->getPointerTo()); in GetAddressOfDirectBaseInCompleteClass() 133 ptr = CGF.Builder.CreateBitCast(ptr, CGF.Int8PtrTy); in ApplyNonVirtualAndVirtualOffset() 189 return Builder.CreateBitCast(Value, BasePtrTy); in GetAddressOfBaseClass() 225 Value = Builder.CreateBitCast(Value, BasePtrTy); in GetAddressOfBaseClass() 259 return Builder.CreateBitCast(Value, DerivedPtrTy); in GetAddressOfDerivedClass() 277 Value = Builder.CreateBitCast(Value, Int8PtrTy); in GetAddressOfDerivedClass() 282 Value = Builder.CreateBitCast(Value, DerivedPtrTy); in GetAddressOfDerivedClass() 631 llvm::Value *BaseAddrPtr = Builder.CreateBitCast(LHS.getAddress(), in EmitInitializerForField() 952 DestPtr = CGF.Builder.CreateBitCast(DestPtr, DBP); in emitMemcpyIR() [all …]
|
D | TargetInfo.cpp | 750 ReturnSlot.setAddress(CGF.Builder.CreateBitCast(ReturnSlot.getAddress(), in addReturnRegisterOutputs() 1258 llvm::Value *VAListAddrAsBPP = Builder.CreateBitCast(VAListAddr, BPP, in EmitVAArg() 1281 llvm::Value *AddrTyped = Builder.CreateBitCast(Addr, PTy); in EmitVAArg() 2804 CGF.Builder.CreateBitCast(overflow_arg_area, in EmitVAArgFromMemory() 2902 Tmp = CGF.Builder.CreateBitCast(Tmp, ST->getPointerTo()); in EmitVAArg() 2915 CGF.Builder.CreateLoad(CGF.Builder.CreateBitCast(RegLoAddr, PTyLo)); in EmitVAArg() 2917 V = CGF.Builder.CreateLoad(CGF.Builder.CreateBitCast(RegHiAddr, PTyHi)); in EmitVAArg() 2920 RegAddr = CGF.Builder.CreateBitCast(Tmp, in EmitVAArg() 2924 RegAddr = CGF.Builder.CreateBitCast(RegAddr, in EmitVAArg() 2939 RegAddr = CGF.Builder.CreateBitCast(RegAddr, in EmitVAArg() [all …]
|
D | ItaniumCXXABI.cpp | 435 llvm::Value *Ptr = Builder.CreateBitCast(This, Builder.getInt8PtrTy()); in EmitLoadOfMemberFunctionPointer() 437 This = Builder.CreateBitCast(Ptr, This->getType(), "this.adjusted"); in EmitLoadOfMemberFunctionPointer() 468 VTable = Builder.CreateBitCast(VTable, FTy->getPointerTo()->getPointerTo()); in EmitLoadOfMemberFunctionPointer() 498 Base = Builder.CreateBitCast(Base, Builder.getInt8Ty()->getPointerTo(AS)); in EmitMemberDataPointerAddress() 507 return Builder.CreateBitCast(Addr, PType); in EmitMemberDataPointerAddress() 893 llvm::Value *CompletePtr = CGF.Builder.CreateBitCast(Ptr, CGF.Int8PtrTy); in emitVirtualObjectDelete() 1118 Value = CGF.Builder.CreateBitCast(Value, DestLTy); in EmitDynamicCastCall() 1156 return CGF.Builder.CreateBitCast(Value, DestLTy); in EmitDynamicCastToVoid() 1179 VBaseOffsetPtr = CGF.Builder.CreateBitCast(VBaseOffsetPtr, in GetVirtualBaseClassOffset() 1488 llvm::Value *V = CGF.Builder.CreateBitCast(Ptr, Int8PtrTy); in performTypeAdjustment() [all …]
|
D | MicrosoftCXXABI.cpp | 823 CGF.Builder.CreateBitCast(var.getObjectAddress(CGF), CGF.Int8PtrTy); in emitBeginCatch() 834 Value = CGF.Builder.CreateBitCast(Value, CGF.Int8PtrTy); in performBaseAdjustment() 885 return CGF.Builder.CreateBitCast( in EmitTypeid() 924 return CGF.Builder.CreateBitCast(Value, DestLTy); in EmitDynamicCastCall() 1070 Int8This = Builder.CreateBitCast(getThisValue(CGF), in initializeHiddenVirtualInheritanceMembers() 1075 VtorDispPtr = Builder.CreateBitCast( in initializeHiddenVirtualInheritanceMembers() 1110 CGF.Builder.CreateBitCast(getThisValue(CGF), CGM.Int8PtrTy, "this.int8"); in EmitVBPtrStores() 1128 VBPtr = CGF.Builder.CreateBitCast(VBPtr, GVPtr->getType()->getPointerTo(0), in EmitVBPtrStores() 1213 This = CGF.Builder.CreateBitCast(This, charPtrTy); in adjustThisArgumentForVirtualFunctionCall() 1246 This = CGF.Builder.CreateBitCast(This, charPtrTy); in adjustThisArgumentForVirtualFunctionCall() [all …]
|
D | CGExprCXX.cpp | 818 CurPtr = Builder.CreateBitCast(CurPtr, AllocPtrTy); in EmitNewArrayInitializer() 840 Builder.CreateStore(Builder.CreateBitCast(CurPtr, BeginPtr->getType()), in EmitNewArrayInitializer() 866 CurPtr = Builder.CreateBitCast(CurPtr, BeginPtr->getType()); in EmitNewArrayInitializer() 1336 llvm::Value *result = Builder.CreateBitCast(allocation, elementPtrTy); in EmitCXXNewExpr() 1346 result = Builder.CreateBitCast(result, resultType); in EmitCXXNewExpr() 1394 llvm::Value *DeletePtr = Builder.CreateBitCast(Ptr, ConvertType(ArgTy)); in EmitDeleteCall() 1516 = CGF.Builder.CreateBitCast(Ptr, CGF.ConvertType(VoidPtrTy)); in Emit() 1708 return Builder.CreateBitCast(TypeInfo, StdTypeInfoPtrTy); in EmitCXXTypeidExpr() 1721 return Builder.CreateBitCast(CGM.GetAddrOfRTTIDescriptor(OperandTy), in EmitCXXTypeidExpr()
|
D | CGAtomic.cpp | 634 Val = CGF.EmitLoadOfScalar(CGF.Builder.CreateBitCast(Val, IPtrTy), false, in AddDirectArgument() 915 Builder.CreateBitCast(GetDest(), ResVal->getType()->getPointerTo())); in EmitAtomicExpr() 931 Ptr = Builder.CreateBitCast( in EmitAtomicExpr() 933 if (Val1) Val1 = Builder.CreateBitCast(Val1, ITy->getPointerTo()); in EmitAtomicExpr() 934 if (Val2) Val2 = Builder.CreateBitCast(Val2, ITy->getPointerTo()); in EmitAtomicExpr() 936 Dest = Builder.CreateBitCast(Dest, ITy->getPointerTo()); in EmitAtomicExpr() 1051 return CGF.Builder.CreateBitCast(addr, ty->getPointerTo(addrspace)); in emitCastToAtomicIntPointer() 1106 return RValue::get(CGF.Builder.CreateBitCast(IntVal, ValTy)); in ConvertIntToValueOrAtomic() 1303 return CGF.Builder.CreateBitCast(Value, InputIntTy); in convertRValueToInt()
|
D | CGExpr.cpp | 51 return Builder.CreateBitCast(value, destType); in EmitCastToVoidPtr() 535 llvm::Value *CastAddr = Builder.CreateBitCast(Address, Int8PtrTy); in EmitTypeCheck() 602 llvm::Value *VPtrAddr = Builder.CreateBitCast(Address, VPtrTy); in EmitTypeCheck() 1143 llvm::Value *Cast = Builder.CreateBitCast(Addr, ptVec4Ty, in EmitLoadOfScalar() 1277 Addr = Builder.CreateBitCast(Addr, MemTy, "storetmp"); in EmitStoreOfScalar() 1428 Builder.CreateBitCast(VectorAddress, in EmitExtVectorElementLValue() 1831 return CGF.Builder.CreateBitCast(V, IRType->getPointerTo(AS), Name); in EmitBitCastOfLValueToProperType() 1885 V = CGF.Builder.CreateBitCast(V, CGF.ConvertType(NoProtoType)); in EmitFunctionDeclLValue() 2184 V = Builder.CreateBitCast(V, llvm::Type::getIntNTy(getLLVMContext(), in EmitCheckValue() 2362 Args.push_back(Builder.CreateBitCast(InfoPtr, Int8PtrTy)); in EmitCheck() [all …]
|
D | CodeGenFunction.cpp | 1229 llvm::Value *begin = Builder.CreateBitCast(dest, i8p, "vla.begin"); in emitNonZeroVLAInit() 1275 DestPtr = Builder.CreateBitCast(DestPtr, BP); in EmitNullInitialization() 1325 Builder.CreateBitCast(NullVariable, Builder.getInt8PtrTy()); in EmitNullInitialization() 1442 addr = Builder.CreateBitCast(addr, BaseType, "array.begin"); in emitArrayLength() 1677 Builder.CreateBitCast(CGM.EmitAnnotationString(AnnotationStr), Int8PtrTy), in EmitAnnotationCall() 1678 Builder.CreateBitCast(CGM.EmitAnnotationUnit(Location), Int8PtrTy), in EmitAnnotationCall() 1690 Builder.CreateBitCast(V, CGM.Int8PtrTy, V->getName()), in EmitVarAnnotations() 1708 V = Builder.CreateBitCast(V, VTy); in EmitFieldAnnotations()
|
D | CGDecl.cpp | 501 CGF.Builder.CreateBitCast(Addr, CGF.ConvertType(ArgTy)); in Emit() 519 llvm::Value *castAddr = CGF.Builder.CreateBitCast(Addr, CGF.Int8PtrTy); in Emit() 966 llvm::Value *castAddr = Builder.CreateBitCast(Alloc, Int8PtrTy); in EmitAutoVarAlloca() 1156 Loc = Builder.CreateBitCast(Loc, BP); in EmitAutoVarInit() 1166 Loc = Builder.CreateBitCast(Loc, constant->getType()->getPointerTo()); in EmitAutoVarInit() 1182 SrcPtr = Builder.CreateBitCast(SrcPtr, BP); in EmitAutoVarInit() 1695 DeclPtr = Arg->getType() == IRTy ? Arg : Builder.CreateBitCast(Arg, IRTy, in EmitParmDecl()
|
/external/llvm/lib/Target/R600/ |
D | SITypeRewriter.cpp | 86 Value *BitCast = Builder.CreateBitCast(Ptr, in visitLoadInst() 94 Value *BitCastLoad = Builder.CreateBitCast(Load, I.getType()); in visitLoadInst() 111 Args.push_back(Builder.CreateBitCast(Arg, v4i32)); in visitCallInst()
|
D | AMDGPUPromoteAlloca.cpp | 207 Value *BitCast = Builder.CreateBitCast(Alloca, VectorTy->getPointerTo(0)); in tryPromoteAllocaToVector() 217 Value *BitCast = Builder.CreateBitCast(Alloca, VectorTy->getPointerTo(0)); in tryPromoteAllocaToVector()
|
/external/llvm/lib/Target/NVPTX/ |
D | NVPTXLowerAggrCopies.cpp | 77 srcAddr = builder.CreateBitCast(srcAddr, Type::getInt8PtrTy(Context, srcAS)); in convertTransferToLoop() 78 dstAddr = builder.CreateBitCast(dstAddr, Type::getInt8PtrTy(Context, dstAS)); in convertTransferToLoop() 115 builder.CreateBitCast(dstAddr, PointerType::get(val->getType(), dstAS)); in convertMemSetToLoop()
|
/external/llvm/lib/Transforms/InstCombine/ |
D | InstCombineCalls.cpp | 141 Value *Src = Builder->CreateBitCast(MI->getArgOperand(1), NewSrcPtrTy); in SimplifyMemTransfer() 142 Value *Dest = Builder->CreateBitCast(MI->getArgOperand(0), NewDstPtrTy); in SimplifyMemTransfer() 181 Dest = Builder->CreateBitCast(Dest, NewDstPtrTy); in SimplifyMemSet() 576 Value *Ptr = Builder->CreateBitCast(II->getArgOperand(0), in visitCallInst() 584 Value *Ptr = Builder->CreateBitCast(II->getArgOperand(0), in visitCallInst() 595 Value *Ptr = Builder->CreateBitCast(II->getArgOperand(1), OpPtrTy); in visitCallInst() 603 Value *Ptr = Builder->CreateBitCast(II->getArgOperand(1), OpPtrTy); in visitCallInst() 610 Value *Ptr = Builder->CreateBitCast(II->getArgOperand(0), in visitCallInst() 619 Value *Ptr = Builder->CreateBitCast(II->getArgOperand(0), in visitCallInst() 630 Value *Ptr = Builder->CreateBitCast(II->getArgOperand(1), OpPtrTy); in visitCallInst() [all …]
|
D | InstCombineCasts.cpp | 151 Value *NewCast = AllocaBuilder.CreateBitCast(New, AI.getType(), "tmpcast"); in PromoteCastOfAllocation() 1499 InVal = IC.Builder->CreateBitCast(InVal, SrcTy); in OptimizeVectorResize() 1709 VecInput = IC.Builder->CreateBitCast(VecInput, VecTy); in OptimizeIntToFloatBitCast() 1733 VecInput = IC.Builder->CreateBitCast(VecInput, VecTy); in OptimizeIntToFloatBitCast() 1797 Value *Elem = Builder->CreateBitCast(Src, DestVTy->getElementType()); in visitBitCast() 1859 Value *LHS = Builder->CreateBitCast(SVI->getOperand(0), DestTy); in visitBitCast() 1860 Value *RHS = Builder->CreateBitCast(SVI->getOperand(1), DestTy); in visitBitCast() 1889 Value *NewBitCast = Builder->CreateBitCast(Src, MidTy); in visitAddrSpaceCast()
|
/external/llvm/lib/IR/ |
D | AutoUpgrade.cpp | 353 Op = Builder.CreateBitCast(Op, in UpgradeX86PSLLDQIntrinsics() 376 return Builder.CreateBitCast(Res, in UpgradeX86PSLLDQIntrinsics() 390 Op = Builder.CreateBitCast(Op, in UpgradeX86PSRLDQIntrinsics() 413 return Builder.CreateBitCast(Res, in UpgradeX86PSRLDQIntrinsics() 463 Value *BC = Builder.CreateBitCast(Arg0, in UpgradeIntrinsicCall() 529 Value *Cast = Builder.CreateBitCast(CI->getArgOperand(0), in UpgradeIntrinsicCall() 771 Builder.CreateBitCast(Arg0, in UpgradeIntrinsicCall() 775 Builder.CreateBitCast(Arg1, in UpgradeIntrinsicCall()
|
/external/llvm/lib/Transforms/Instrumentation/ |
D | MemorySanitizer.cpp | 864 return IRB.CreateBitCast(V, NoVecTy); in convertToShadowTyNoVec() 1319 setShadow(&I, IRB.CreateBitCast(getShadow(&I, 0), getShadowTy(&I))); in visitBitCastInst() 1504 Value *V1 = IRB.CreateBitCast(V, Type::getIntNTy(*MS.C, srcSizeInBits)); in CreateShadowCast() 1507 return IRB.CreateBitCast(V2, dstTy); in CreateShadowCast() 1519 return IRB.CreateBitCast(V, ShadowTy); in CreateAppToShadowCast() 2109 IRB.CreateBitCast(S1, V1->getType()), V2); in handleVectorShiftIntrinsic() 2110 Shift = IRB.CreateBitCast(Shift, getShadowTy(&I)); in handleVectorShiftIntrinsic() 2173 S1 = IRB.CreateBitCast(S1, T); in handleVectorPackIntrinsic() 2174 S2 = IRB.CreateBitCast(S2, T); in handleVectorPackIntrinsic() 2182 S1_ext = IRB.CreateBitCast(S1_ext, X86_MMXTy); in handleVectorPackIntrinsic() [all …]
|
/external/llvm/lib/Transforms/Scalar/ |
D | ScalarReplAggregates.cpp | 715 SrcPtr = Builder.CreateBitCast(SrcPtr, AIPTy); in ConvertUsesToScalar() 732 Value *DstPtr = Builder.CreateBitCast(MTI->getDest(), AIPTy); in ConvertUsesToScalar() 783 return Builder.CreateBitCast(FromVal, ToType); in ConvertScalar_ExtractValue() 805 V = Builder.CreateBitCast(V, ToType); in ConvertScalar_ExtractValue() 881 FromVal = Builder.CreateBitCast(FromVal, ToType); in ConvertScalar_ExtractValue() 919 return Builder.CreateBitCast(SV, AllocaType); in ConvertScalar_InsertValue() 924 SV = Builder.CreateBitCast(SV, EltTy); in ConvertScalar_InsertValue() 973 SV = Builder.CreateBitCast(SV, IntegerType::get(SV->getContext(),SrcWidth)); in ConvertScalar_InsertValue() 2136 Value *V = Builder.CreateBitCast(NewElts[Idx], Builder.getInt8PtrTy(AS)); in RewriteLifetimeIntrinsic() 2403 EltVal = Builder.CreateBitCast(EltVal, FieldTy); in RewriteStoreUserOfWholeAlloca() [all …]
|
D | Scalarizer.cpp | 213 CV[0] = Builder.CreateBitCast(V, Ty, V->getName() + ".i0"); in operator []() 496 Res[I] = Builder.CreateBitCast(Op0[I], DstVT->getElementType(), in visitBitCastInst() 512 V = Builder.CreateBitCast(V, MidTy, V->getName() + ".cast"); in visitBitCastInst() 528 Res[ResI] = Builder.CreateBitCast(V, DstVT->getElementType(), in visitBitCastInst()
|
/external/llvm/lib/CodeGen/ |
D | SjLjEHPrepare.cpp | 234 Builder.CreateBitCast(PersonalityFn, Builder.getInt8PtrTy()), in setupFunctionContext() 427 Value *SetjmpArg = Builder.CreateBitCast(JBufPtr, Builder.getInt8PtrTy()); in setupEntryBlockAndCallSites() 432 Value *FuncCtxArg = Builder.CreateBitCast(FuncCtx, Builder.getInt8PtrTy()); in setupEntryBlockAndCallSites()
|