Lines Matching refs:PtrTy
72 Type *PtrTy; member in __anon88c357520111::AArch64Arm64ECCallLowering
112 Arm64ArgTypes.push_back(PtrTy); in getThunkType()
113 X64ArgTypes.push_back(PtrTy); in getThunkType()
162 Arm64ArgTypes.push_back(PtrTy); in getThunkArgTypes()
163 X64ArgTypes.push_back(PtrTy); in getThunkArgTypes()
310 X64Ty = PtrTy; in canonicalizeThunkType()
341 X64Ty = PtrTy; in canonicalizeThunkType()
377 M->getOrInsertGlobal("__os_arm64x_dispatch_call_no_redirect", PtrTy); in buildExitThunk()
378 Value *Callee = IRB.CreateLoad(PtrTy, CalleePtr); in buildExitThunk()
416 Args.push_back(IRB.CreateLoad(IntTy, IRB.CreateBitCast(Mem, PtrTy))); in buildExitThunk()
425 Callee = IRB.CreateBitCast(Callee, PtrTy); in buildExitThunk()
437 IRB.CreateStore(Call, IRB.CreateBitCast(CastAlloca, PtrTy)); in buildExitThunk()
489 IRB.CreateStore(Arg, IRB.CreateBitCast(CastAlloca, PtrTy)); in buildEntryThunk()
492 Arg = IRB.CreateLoad(ArgTy, IRB.CreateBitCast(Arg, PtrTy)); in buildEntryThunk()
516 Callee = IRB.CreateBitCast(Callee, PtrTy); in buildEntryThunk()
528 IRB.CreateStore(RetVal, IRB.CreateBitCast(Thunk->getArg(1), PtrTy)); in buildEntryThunk()
531 IRB.CreateStore(Call, IRB.CreateBitCast(CastAlloca, PtrTy)); in buildEntryThunk()
598 Value *GuardRetVal = B.CreateBitCast(GuardCheck, PtrTy); in buildGuestExitThunk()
669 PtrTy = PointerType::getUnqual(M->getContext()); in runOnModule()
673 GuardFnType = FunctionType::get(PtrTy, {PtrTy, PtrTy}, false); in runOnModule()
713 {ConstantExpr::getBitCast(Thunk.Src, PtrTy), in runOnModule()
714 ConstantExpr::getBitCast(Thunk.Dst, PtrTy), in runOnModule()