| /freebsd-14.2/contrib/llvm-project/llvm/include/llvm/IR/ |
| H A D | NoFolder.h | 119 Instruction *CreatePointerCast(Constant *C, Type *DestTy) const override { in CreatePointerCast() function 120 return CastInst::CreatePointerCast(C, DestTy); in CreatePointerCast()
|
| H A D | IRBuilderFolder.h | 80 virtual Value *CreatePointerCast(Constant *C, Type *DestTy) const = 0;
|
| H A D | ConstantFolder.h | 190 Constant *CreatePointerCast(Constant *C, Type *DestTy) const override { in CreatePointerCast() function
|
| H A D | InstrTypes.h | 559 static CastInst *CreatePointerCast( 567 static CastInst *CreatePointerCast(
|
| H A D | IRBuilder.h | 2153 Value *CreatePointerCast(Value *V, Type *DestTy, 2158 return Insert(Folder.CreatePointerCast(VC, DestTy), Name); 2159 return Insert(CastInst::CreatePointerCast(V, DestTy), Name);
|
| /freebsd-14.2/contrib/llvm-project/llvm/include/llvm/Analysis/ |
| H A D | InstSimplifyFolder.h | 124 Value *CreatePointerCast(Constant *C, Type *DestTy) const override { in CreatePointerCast() function 127 return ConstFolder.CreatePointerCast(C, DestTy); in CreatePointerCast()
|
| H A D | TargetFolder.h | 198 Constant *CreatePointerCast(Constant *C, Type *DestTy) const override { in CreatePointerCast() function
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/ |
| H A D | SanitizerCoverage.cpp | 736 PCs.push_back((Constant *)IRB.CreatePointerCast(&F, PtrTy)); in CreatePCArray() 740 PCs.push_back((Constant *)IRB.CreatePointerCast( in CreatePCArray() 800 IRB.CreateCall(SanCovTracePCIndir, IRB.CreatePointerCast(Callee, IntptrTy)); in InjectCoverageForIndirectCalls() 962 IRB.CreateAdd(IRB.CreatePointerCast(FunctionGuardArray, IntptrTy), in InjectCoverageAtBlock() 1045 CFs.push_back((Constant *)IRB.CreatePointerCast(&F, PtrTy)); in createFunctionControlFlow() 1047 CFs.push_back((Constant *)IRB.CreatePointerCast(BlockAddress::get(&BB), in createFunctionControlFlow() 1052 CFs.push_back((Constant *)IRB.CreatePointerCast(BlockAddress::get(SuccBB), in createFunctionControlFlow() 1068 (Constant *)IRB.CreatePointerCast(CalledF, PtrTy)); in createFunctionControlFlow()
|
| H A D | AddressSanitizer.cpp | 1506 i = IRB.CreatePointerCast(i, IntptrTy); in instrumentPointerComparisonOrSubtraction() 1773 {IRB.CreatePointerCast(Addr, PtrTy), in instrumentAddress() 1778 Value *AddrLong = IRB.CreatePointerCast(Addr, IntptrTy); in instrumentAddress() 1849 Value *AddrLong = IRB.CreatePointerCast(Addr, IntptrTy); in instrumentUnusualSizeOrAlignment() 2289 {IRB.CreatePointerCast(RegisteredFlag, IntptrTy), in instrumentGlobalsELF() 2290 IRB.CreatePointerCast(StartELFMetadata, IntptrTy), in instrumentGlobalsELF() 2353 {IRB.CreatePointerCast(RegisteredFlag, IntptrTy)}); in InstrumentGlobalsMachO() 2383 {IRB.CreatePointerCast(AllGlobals, IntptrTy), in InstrumentGlobalsWithMetadataArray() 3201 return IRB.CreatePointerCast(Alloca, IntptrTy); in createAllocaForLayout() 3491 IRB.CreateStore(IRB.CreatePointerCast(&F, IntptrTy), BasePlus2); in processStaticAllocas() [all …]
|
| H A D | HWAddressSanitizer.cpp | 853 Value *AddrLong = IRB.CreatePointerCast(Addr, IntptrTy); in untagPointerOperand() 885 R.PtrLong = IRB.CreatePointerCast(Ptr, IntptrTy); in insertShadowTagCheck() 1051 SmallVector<Value *, 2> Args{IRB.CreatePointerCast(Addr, IntptrTy)}; in instrumentMemAccess() 1065 IRB.CreatePointerCast(Addr, IntptrTy), in instrumentMemAccess() 1086 {IRB.CreatePointerCast(AI, PtrTy), Tag, in tagAlloca() 1090 Value *AddrLong = untagPointer(IRB, IRB.CreatePointerCast(AI, IntptrTy)); in tagAlloca() 1105 Tag, IRB.CreateConstGEP1_32(Int8Ty, IRB.CreatePointerCast(AI, PtrTy), in tagAlloca() 1394 Value *AILong = IRB.CreatePointerCast(AI, IntptrTy); in instrumentStack() 1404 Value *AICast = IRB.CreatePointerCast(AI, PtrTy); in instrumentStack()
|
| H A D | MemorySanitizer.cpp | 1694 Value *OffsetLong = IRB.CreatePointerCast(Addr, IntptrTy); in getShadowPtrOffset() 1770 IRB.CreatePointerCast(Addr, PointerType::get(IRB.getInt8Ty(), 0)); in getShadowOriginPtrKernelNoVec() 1836 Value *Base = IRB.CreatePointerCast(MS.ParamTLS, MS.IntptrTy); in getShadowPtrForArgument() 1846 Value *Base = IRB.CreatePointerCast(MS.ParamOriginTLS, MS.IntptrTy); in getOriginPtrForArgument() 2635 A = IRB.CreatePointerCast(A, Sa->getType()); in handleEqualityComparison() 2636 B = IRB.CreatePointerCast(B, Sb->getType()); in handleEqualityComparison() 2708 A = IRB.CreatePointerCast(A, Sa->getType()); in handleRelationalComparisonExact() 2709 B = IRB.CreatePointerCast(B, Sb->getType()); in handleRelationalComparisonExact() 4678 Value *Base = IRB.CreatePointerCast(MS.VAArgTLS, MS.IntptrTy); in getShadowAddrForVAArgument() 4685 Value *Base = IRB.CreatePointerCast(MS.VAArgTLS, MS.IntptrTy); in getShadowPtrForVAArgument() [all …]
|
| H A D | MemProfiler.cpp | 447 Value *AddrLong = IRB.CreatePointerCast(Addr, IntptrTy); in instrumentAddress()
|
| H A D | DataFlowSanitizer.cpp | 1787 Value *Base = IRB.CreatePointerCast(DFS.ArgTLS, DFS.IntptrTy); in getArgTLS() 1795 return IRB.CreatePointerCast( in getRetvalTLS() 1900 Value *OffsetLong = IRB.CreatePointerCast(Addr, IntptrTy); in getShadowOffset() 2482 Value *IntptrStoreOriginPtr = IRB.CreatePointerCast( in paintOrigin()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AArch64/ |
| H A D | AArch64StackTagging.cpp | 282 V = IRB.CreatePointerCast(V, NewTy); in flatten() 436 IRB.CreateCall(SetTagFunc, {IRB.CreatePointerCast(AI, IRB.getPtrTy()), in untagAlloca() 565 Value *Ptr = IRB.CreatePointerCast(TagPCall, IRB.getPtrTy()); in runOnFunction()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
| H A D | ModuleUtils.cpp | 409 Value *Casted = InitBuilder.CreatePointerCast(ResolvedFunc, TableEntryTy); in lowerGlobalIFuncUsersAsGlobalCtor() 428 UseBuilder.CreatePointerCast(ResolvedTarget, GI->getType()); in lowerGlobalIFuncUsersAsGlobalCtor()
|
| H A D | CodeExtractor.cpp | 573 CastInst::CreatePointerCast(AI, Int8PtrTy, "lt.cast", I); in findAllocas()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/ |
| H A D | IndirectBrExpandPass.cpp | 210 return CastInst::CreatePointerCast( in runImpl()
|
| H A D | SafeStack.cpp | 689 Value *NewAI = IRB.CreatePointerCast(NewTop, AI->getType()); in moveDynamicAllocasToUnsafeStack()
|
| H A D | CodeGenPrepare.cpp | 5486 SunkAddr = Builder.CreatePointerCast(SunkAddr, Addr->getType()); in optimizeMemoryInst() 5598 ResultPtr = Builder.CreatePointerCast(ResultPtr, I8PtrTy); in optimizeMemoryInst() 5610 ResultPtr = Builder.CreatePointerCast(ResultPtr, I8PtrTy); in optimizeMemoryInst() 5628 SunkAddr = Builder.CreatePointerCast(SunkAddr, Addr->getType()); in optimizeMemoryInst() 6200 NewBaseGEP = NewBaseBuilder.CreatePointerCast(NewBaseGEP, I8PtrTy); in splitLargeGEPOffsets()
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/CodeGen/ |
| H A D | CGCUDANV.cpp | 335 llvm::Value *VoidVarPtr = CGF.Builder.CreatePointerCast(VarPtr, PtrTy); in emitDeviceStubBodyNew() 402 CGF.Builder.CreatePointerCast(KernelHandles[CGF.CurFn->getName()], PtrTy); in emitDeviceStubBodyNew() 441 CGF.Builder.CreatePointerCast(CGF.GetAddrOfLocalVar(A).getPointer(), in emitDeviceStubBodyLegacy() 458 CGF.Builder.CreatePointerCast(KernelHandles[CGF.CurFn->getName()], PtrTy); in emitDeviceStubBodyLegacy()
|
| H A D | CGGPUBuiltin.cpp | 124 Builder.CreatePointerCast(Alloca, llvm::PointerType::getUnqual(Ctx)); in packArgsIntoNVPTXFormatBuffer()
|
| H A D | CGBlocks.cpp | 1075 llvm::Value *result = Builder.CreatePointerCast( in EmitBlockLiteral() 1172 llvm::Value *BlockDescriptor = Builder.CreatePointerCast( in EmitBlockCallExpr() 1191 Builder.CreatePointerCast(BlockPtr, UnqualPtrTy, "block.literal"); in EmitBlockCallExpr() 1196 BlockPtr = Builder.CreatePointerCast(BlockPtr, VoidPtrTy); in EmitBlockCallExpr() 1396 BlockPointer = Builder.CreatePointerCast( in setBlockContextParameter()
|
| H A D | CGBuiltin.cpp | 5304 Value *BCast = Builder.CreatePointerCast(Arg1, I8PTy); in EmitBuiltinExpr() 5320 Value *BCast = Builder.CreatePointerCast(Arg3, I8PTy); in EmitBuiltinExpr() 5765 Arg0Val = Builder.CreatePointerCast(Arg0Val, PTy0); in EmitBuiltinExpr() 5803 Arg1Val = Builder.CreatePointerCast(Arg1Val, PTy1); in EmitBuiltinExpr() 11017 Dst = Builder.CreatePointerCast(Dst, Int8PtrTy); in EmitAArch64BuiltinExpr() 11048 Pointer = Builder.CreatePointerCast(Pointer, Int8PtrTy); in EmitAArch64BuiltinExpr() 11052 return Builder.CreatePointerCast(RV, T); in EmitAArch64BuiltinExpr() 11058 Pointer = Builder.CreatePointerCast(Pointer, Int8PtrTy); in EmitAArch64BuiltinExpr() 11062 return Builder.CreatePointerCast(RV, T); in EmitAArch64BuiltinExpr() 11069 Pointer = Builder.CreatePointerCast(Pointer, Int8PtrTy); in EmitAArch64BuiltinExpr() [all …]
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/CodeGen/Targets/ |
| H A D | AMDGPU.cpp | 582 auto *Cast = Builder.CreatePointerCast(BlockPtr, InvokeFT->getParamType(0)); in createEnqueuedBlockKernel()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/InstCombine/ |
| H A D | InstCombinePHI.cpp | 1417 return CastInst::CreatePointerCast(IV0Stripped, PN.getType()); in visitPHINode()
|