|
reference, declaration → definition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced
|
References
lib/CodeGen/CodeGenPrepare.cpp 4776 SunkAddr = Builder.CreatePointerCast(SunkAddr, Addr->getType());
4889 ResultPtr = Builder.CreatePointerCast(ResultPtr, I8PtrTy);
4904 ResultPtr = Builder.CreatePointerCast(ResultPtr, I8PtrTy);
4913 SunkAddr = Builder.CreatePointerCast(SunkAddr, Addr->getType());
5364 NewBaseGEP = NewBaseBuilder.CreatePointerCast(NewBaseGEP, I8PtrTy);
5374 NewGEP = Builder.CreatePointerCast(NewGEP, GEP->getType());
5381 NewGEP = Builder.CreatePointerCast(NewGEP, GEP->getType());
lib/CodeGen/InterleavedLoadCombinePass.cpp 1217 auto CI = Builder.CreatePointerCast(InsertionPoint->getOperand(0),
lib/CodeGen/SafeStack.cpp 674 Value *NewAI = IRB.CreatePointerCast(NewTop, AI->getType());
lib/IR/AutoUpgrade.cpp 2285 Value *Op = Builder.CreatePointerCast(CI->getArgOperand(0),
lib/IR/Core.cpp 3795 return wrap(unwrap(B)->CreatePointerCast(unwrap(Val), unwrap(DestTy), Name));
lib/Target/AArch64/AArch64ISelLowering.cpp12264 return IRB.CreatePointerCast(
lib/Target/AArch64/AArch64StackTagging.cpp 260 V = IRB.CreatePointerCast(V, NewTy);
430 IRB.CreateCall(SetTagFunc, {IRB.CreatePointerCast(AI, IRB.getInt8PtrTy()),
667 Value *Ptr = IRB.CreatePointerCast(TagPCall, IRB.getInt8PtrTy());
lib/Target/AMDGPU/AMDGPULibCalls.cpp 623 auto *BCast = B.CreatePointerCast(PtrArg, PtrTy);
lib/Transforms/InstCombine/InstCombineCompares.cpp 749 Value *Cast = Builder.CreatePointerCast(GEP, Val->getType(),
lib/Transforms/Instrumentation/AddressSanitizer.cpp 1306 {IRB.CreatePointerCast(MI->getOperand(0), IRB.getInt8PtrTy()),
1307 IRB.CreatePointerCast(MI->getOperand(1), IRB.getInt8PtrTy()),
1312 {IRB.CreatePointerCast(MI->getOperand(0), IRB.getInt8PtrTy()),
1486 i = IRB.CreatePointerCast(i, IntptrTy);
1664 Value *AddrLong = IRB.CreatePointerCast(Addr, IntptrTy);
1743 Value *AddrLong = IRB.CreatePointerCast(Addr, IntptrTy);
2109 {IRB.CreatePointerCast(RegisteredFlag, IntptrTy),
2110 IRB.CreatePointerCast(StartELFMetadata, IntptrTy),
2111 IRB.CreatePointerCast(StopELFMetadata, IntptrTy)});
2117 {IRB.CreatePointerCast(RegisteredFlag, IntptrTy),
2118 IRB.CreatePointerCast(StartELFMetadata, IntptrTy),
2119 IRB.CreatePointerCast(StopELFMetadata, IntptrTy)});
2170 {IRB.CreatePointerCast(RegisteredFlag, IntptrTy)});
2176 {IRB.CreatePointerCast(RegisteredFlag, IntptrTy)});
2197 {IRB.CreatePointerCast(AllGlobals, IntptrTy),
2204 {IRB.CreatePointerCast(AllGlobals, IntptrTy),
2574 IRB.CreatePointerCast(AsanShadowGlobal, IntptrTy, ".asan.shadow");
2945 return IRB.CreatePointerCast(Alloca, IntptrTy);
3149 Value *Description = IRB.CreatePointerCast(StackDescriptionGlobal, IntptrTy);
3156 IRB.CreateStore(IRB.CreatePointerCast(&F, IntptrTy), BasePlus2);
3245 Value *AddrArg = IRB.CreatePointerCast(V, IntptrTy);
lib/Transforms/Instrumentation/HWAddressSanitizer.cpp 588 Value *AddrLong = IRB.CreatePointerCast(Addr, IntptrTy);
628 Value *PtrLong = IRB.CreatePointerCast(Ptr, IntptrTy);
706 {IRB.CreatePointerCast(MI->getOperand(0), IRB.getInt8PtrTy()),
707 IRB.CreatePointerCast(MI->getOperand(1), IRB.getInt8PtrTy()),
712 {IRB.CreatePointerCast(MI->getOperand(0), IRB.getInt8PtrTy()),
748 IRB.CreatePointerCast(Addr, IntptrTy));
754 {IRB.CreatePointerCast(Addr, IntptrTy),
783 {IRB.CreatePointerCast(AI, Int8PtrTy), JustTag,
787 Value *ShadowPtr = memToShadow(IRB.CreatePointerCast(AI, IntptrTy), IRB);
847 Value *StackPointerLong = IRB.CreatePointerCast(StackPointer, IntptrTy);
910 Value *SlotPtr = IRB.CreatePointerCast(
1056 Value *AILong = IRB.CreatePointerCast(AI, IntptrTy);
lib/Transforms/Instrumentation/MemorySanitizer.cpp 1101 IRB.CreatePointerCast(OriginPtr, PointerType::get(MS.IntptrTy, 0));
1145 IRB.CreatePointerCast(Addr, IRB.getInt8PtrTy()),
1387 Value *OffsetLong = IRB.CreatePointerCast(Addr, MS.IntptrTy);
1447 IRB.CreatePointerCast(Addr, PointerType::get(IRB.getInt8Ty(), 0));
1457 ShadowPtr = IRB.CreatePointerCast(ShadowPtr, PointerType::get(ShadowTy, 0));
1480 Value *Base = IRB.CreatePointerCast(MS.ParamTLS, MS.IntptrTy);
1492 Value *Base = IRB.CreatePointerCast(MS.ParamOriginTLS, MS.IntptrTy);
1501 return IRB.CreatePointerCast(MS.RetvalTLS,
2220 A = IRB.CreatePointerCast(A, Sa->getType());
2221 B = IRB.CreatePointerCast(B, Sb->getType());
2293 A = IRB.CreatePointerCast(A, Sa->getType());
2294 B = IRB.CreatePointerCast(B, Sb->getType());
2409 {IRB.CreatePointerCast(I.getArgOperand(0), IRB.getInt8PtrTy()),
2410 IRB.CreatePointerCast(I.getArgOperand(1), IRB.getInt8PtrTy()),
2423 {IRB.CreatePointerCast(I.getArgOperand(0), IRB.getInt8PtrTy()),
2424 IRB.CreatePointerCast(I.getArgOperand(1), IRB.getInt8PtrTy()),
2434 {IRB.CreatePointerCast(I.getArgOperand(0), IRB.getInt8PtrTy()),
2880 IRB.CreatePointerCast(ShadowPtr, Ty->getPointerTo()));
3450 {IRB.CreatePointerCast(&I, IRB.getInt8PtrTy()), Len});
3463 {IRB.CreatePointerCast(&I, IRB.getInt8PtrTy()), Len,
3464 IRB.CreatePointerCast(Descr, IRB.getInt8PtrTy()),
3465 IRB.CreatePointerCast(&F, MS.IntptrTy)});
3473 {IRB.CreatePointerCast(&I, IRB.getInt8PtrTy()), Len,
3474 IRB.CreatePointerCast(Descr, IRB.getInt8PtrTy())});
3477 {IRB.CreatePointerCast(&I, IRB.getInt8PtrTy()), Len});
3644 Value *Ptr = IRB.CreatePointerCast(Operand, IRB.getInt8PtrTy());
3889 Value *Base = IRB.CreatePointerCast(MS.VAArgTLS, MS.IntptrTy);
3897 Value *Base = IRB.CreatePointerCast(MS.VAArgOriginTLS, MS.IntptrTy);
4053 Value *Base = IRB.CreatePointerCast(MS.VAArgTLS, MS.IntptrTy);
4222 Value *Base = IRB.CreatePointerCast(MS.VAArgTLS, MS.IntptrTy);
4489 Value *Base = IRB.CreatePointerCast(MS.VAArgTLS, MS.IntptrTy);
lib/Transforms/Instrumentation/SanitizerCoverage.cpp 314 Value *SecEndPtr = IRB.CreatePointerCast(SecEnd, Ty);
316 return std::make_pair(IRB.CreatePointerCast(SecStart, Ty), SecEndPtr);
320 auto SecStartI8Ptr = IRB.CreatePointerCast(SecStart, Int8PtrTy);
323 return std::make_pair(IRB.CreatePointerCast(GEP, Ty), SecEndPtr);
675 PCs.push_back((Constant *)IRB.CreatePointerCast(&F, IntptrPtrTy));
679 PCs.push_back((Constant *)IRB.CreatePointerCast(
736 IRB.CreateCall(SanCovTracePCIndir, IRB.CreatePointerCast(Callee, IntptrTy));
778 {Cond, IRB.CreatePointerCast(GV, Int64PtrTy)});
872 IRB.CreateAdd(IRB.CreatePointerCast(FunctionGuardArray, IntptrTy),
lib/Transforms/Instrumentation/ThreadSanitizer.cpp 548 {IRB.CreatePointerCast(Addr, IRB.getInt8PtrTy()),
549 IRB.CreatePointerCast(StoredValue, IRB.getInt8PtrTy())});
555 IRB.CreatePointerCast(Addr, IRB.getInt8PtrTy()));
569 IRB.CreateCall(OnAccessFunc, IRB.CreatePointerCast(Addr, IRB.getInt8PtrTy()));
605 {IRB.CreatePointerCast(M->getArgOperand(0), IRB.getInt8PtrTy()),
612 {IRB.CreatePointerCast(M->getArgOperand(0), IRB.getInt8PtrTy()),
613 IRB.CreatePointerCast(M->getArgOperand(1), IRB.getInt8PtrTy()),
639 Value *Args[] = {IRB.CreatePointerCast(Addr, PtrTy),
654 Value *Args[] = {IRB.CreatePointerCast(Addr, PtrTy),
671 Value *Args[] = {IRB.CreatePointerCast(Addr, PtrTy),
689 Value *Args[] = {IRB.CreatePointerCast(Addr, PtrTy),
lib/Transforms/Scalar/LoopStrengthReduce.cpp 3232 IVOper = Builder.CreatePointerCast(IVSrc, PostIncTy, "lsr.chain");
tools/clang/lib/CodeGen/CGBlocks.cpp 1173 llvm::Value *result = Builder.CreatePointerCast(
1269 llvm::Value *BlockDescriptor = Builder.CreatePointerCast(
1286 BlockPtr = Builder.CreatePointerCast(
1292 BlockPtr = Builder.CreatePointerCast(BlockPtr, VoidPtrTy);
1309 Func = Builder.CreatePointerCast(Func, BlockFTyPtr);
1499 BlockPointer = Builder.CreatePointerCast(
tools/clang/lib/CodeGen/CGBuiltin.cpp 762 Value *BitBaseI8 = CGF.Builder.CreatePointerCast(BitBase, CGF.Int8PtrTy);
1432 FieldPtr = CGF.Builder.CreatePointerCast(
3585 Value *BCast = Builder.CreatePointerCast(Arg1, I8PTy);
3601 Value *BCast = Builder.CreatePointerCast(Arg3, I8PTy);
3768 Builder.CreatePointerCast(Info.Kernel, GenericVoidPtrTy);
3770 Builder.CreatePointerCast(Info.BlockArg, GenericVoidPtrTy);
3821 Builder.CreatePointerCast(Info.Kernel, GenericVoidPtrTy);
3822 auto *Block = Builder.CreatePointerCast(Info.BlockArg, GenericVoidPtrTy);
3866 EventWaitList = Builder.CreatePointerCast(EventWaitList, EventPtrTy);
3874 Builder.CreatePointerCast(EmitScalarExpr(E->getArg(5)), EventPtrTy);
3880 Builder.CreatePointerCast(Info.Kernel, GenericVoidPtrTy);
3882 Builder.CreatePointerCast(Info.BlockArg, GenericVoidPtrTy);
3930 Value *Kernel = Builder.CreatePointerCast(Info.Kernel, GenericVoidPtrTy);
3931 Value *Arg = Builder.CreatePointerCast(Info.BlockArg, GenericVoidPtrTy);
3944 Value *Kernel = Builder.CreatePointerCast(Info.Kernel, GenericVoidPtrTy);
3945 Value *Arg = Builder.CreatePointerCast(Info.BlockArg, GenericVoidPtrTy);
3961 Value *Kernel = Builder.CreatePointerCast(Info.Kernel, GenericVoidPtrTy);
3962 Value *Block = Builder.CreatePointerCast(Info.BlockArg, GenericVoidPtrTy);
4034 Arg0Val = Builder.CreatePointerCast(Arg0Val, PTy0);
4072 Arg1Val = Builder.CreatePointerCast(Arg1Val, PTy1);
7329 Pointer = Builder.CreatePointerCast(Pointer, Int8PtrTy);
7333 return Builder.CreatePointerCast(RV, T);
7339 Pointer = Builder.CreatePointerCast(Pointer, Int8PtrTy);
7343 return Builder.CreatePointerCast(RV, T);
7350 Pointer = Builder.CreatePointerCast(Pointer, Int8PtrTy);
7359 TagAddress = Builder.CreatePointerCast(TagAddress, Int8PtrTy);
7362 return Builder.CreatePointerCast(RV, T);
7369 TagAddress = Builder.CreatePointerCast(TagAddress, Int8PtrTy);
7376 PointerA = Builder.CreatePointerCast(PointerA, Int8PtrTy);
7377 PointerB = Builder.CreatePointerCast(PointerB, Int8PtrTy);
tools/clang/lib/CodeGen/CGCUDANV.cpp 261 llvm::Value *VoidVarPtr = CGF.Builder.CreatePointerCast(VarPtr, VoidPtrTy);
316 llvm::Value *Kernel = CGF.Builder.CreatePointerCast(CGF.CurFn, VoidPtrTy);
357 CGF.Builder.CreatePointerCast(CGF.GetAddrOfLocalVar(A).getPointer(),
373 llvm::Value *Arg = CGF.Builder.CreatePointerCast(CGF.CurFn, CharPtrTy);
tools/clang/lib/CodeGen/CGExpr.cpp 3232 Builder.CreatePointerCast(Data, CfiCheckFailDataTy->getPointerTo(0)), 0,
tools/clang/lib/CodeGen/CGGPUBuiltin.cpp 115 BufferPtr = Builder.CreatePointerCast(Alloca, llvm::Type::getInt8PtrTy(Ctx));
tools/clang/lib/CodeGen/CGOpenMPRuntime.cpp 2728 CGF.Builder.CreatePointerCast(VDAddr.getPointer(),
2748 OMPLoc, CGF.Builder.CreatePointerCast(VDAddr.getPointer(), CGM.VoidPtrTy),
7891 llvm::Value *CLAddr = CGF.Builder.CreatePointerCast(LB, CGF.VoidPtrTy);
7892 llvm::Value *CHAddr = CGF.Builder.CreatePointerCast(HAddr, CGF.VoidPtrTy);
tools/clang/lib/CodeGen/TargetInfo.cpp 9966 auto *Cast = Builder.CreatePointerCast(BlockPtr, InvokeFT->getParamType(0));
tools/polly/lib/CodeGen/IslNodeBuilder.cpp 1213 Ptr = Builder.CreatePointerCast(Ptr, Ty->getPointerTo(AS), Name + ".cast");
tools/polly/lib/CodeGen/PerfMonitor.cpp 247 Builder.CreatePointerCast(FinalReporting, Builder.getInt8PtrTy());