| /freebsd-12.1/contrib/llvm/lib/Transforms/Instrumentation/ |
| H A D | ThreadSanitizer.cpp | 546 {IRB.CreatePointerCast(Addr, IRB.getInt8PtrTy()), in instrumentLoadOrStore() 547 IRB.CreatePointerCast(StoredValue, IRB.getInt8PtrTy())}); in instrumentLoadOrStore() 553 IRB.CreatePointerCast(Addr, IRB.getInt8PtrTy())); in instrumentLoadOrStore() 567 IRB.CreateCall(OnAccessFunc, IRB.CreatePointerCast(Addr, IRB.getInt8PtrTy())); in instrumentLoadOrStore() 603 {IRB.CreatePointerCast(M->getArgOperand(0), IRB.getInt8PtrTy()), in instrumentMemIntrinsic() 610 {IRB.CreatePointerCast(M->getArgOperand(0), IRB.getInt8PtrTy()), in instrumentMemIntrinsic() 611 IRB.CreatePointerCast(M->getArgOperand(1), IRB.getInt8PtrTy()), in instrumentMemIntrinsic() 637 Value *Args[] = {IRB.CreatePointerCast(Addr, PtrTy), in instrumentAtomic() 652 Value *Args[] = {IRB.CreatePointerCast(Addr, PtrTy), in instrumentAtomic() 669 Value *Args[] = {IRB.CreatePointerCast(Addr, PtrTy), in instrumentAtomic() [all …]
|
| H A D | HWAddressSanitizer.cpp | 503 Value *AddrLong = IRB.CreatePointerCast(Addr, IntptrTy); in untagPointerOperand() 578 {IRB.CreatePointerCast(MI->getOperand(0), IRB.getInt8PtrTy()), in instrumentMemIntrinsic() 579 IRB.CreatePointerCast(MI->getOperand(1), IRB.getInt8PtrTy()), in instrumentMemIntrinsic() 584 {IRB.CreatePointerCast(MI->getOperand(0), IRB.getInt8PtrTy()), in instrumentMemIntrinsic() 613 Value *AddrLong = IRB.CreatePointerCast(Addr, IntptrTy); in instrumentMemAccess() 654 {IRB.CreatePointerCast(AI, Int8PtrTy), JustTag, in tagAlloca() 659 memToShadow(IRB.CreatePointerCast(AI, IntptrTy), AI->getType(), IRB), in tagAlloca() 702 Value *StackPointerLong = IRB.CreatePointerCast(StackPointer, IntptrTy); in getStackBaseTag() 765 Value *SlotPtr = IRB.CreatePointerCast( in getHwasanThreadSlotPtr() 904 Value *AILong = IRB.CreatePointerCast(AI, IntptrTy); in instrumentStack()
|
| H A D | SanitizerCoverage.cpp | 266 Value *SecEndPtr = IRB.CreatePointerCast(SecEnd, Ty); in CreateSecStartEnd() 268 return std::make_pair(IRB.CreatePointerCast(SecStart, Ty), SecEndPtr); in CreateSecStartEnd() 272 auto SecStartI8Ptr = IRB.CreatePointerCast(SecStart, Int8PtrTy); in CreateSecStartEnd() 275 return std::make_pair(IRB.CreatePointerCast(GEP, Ty), SecEndPtr); in CreateSecStartEnd() 595 PCs.push_back((Constant *)IRB.CreatePointerCast(&F, IntptrPtrTy)); in CreatePCArray() 599 PCs.push_back((Constant *)IRB.CreatePointerCast( in CreatePCArray() 656 IRB.CreateCall(SanCovTracePCIndir, IRB.CreatePointerCast(Callee, IntptrTy)); in InjectCoverageForIndirectCalls() 698 {Cond, IRB.CreatePointerCast(GV, Int64PtrTy)}); in InjectTraceForSwitch() 792 IRB.CreateAdd(IRB.CreatePointerCast(FunctionGuardArray, IntptrTy), in InjectCoverageAtBlock()
|
| H A D | MemorySanitizer.cpp | 1358 Value *OffsetLong = IRB.CreatePointerCast(Addr, MS.IntptrTy); in getShadowPtrOffset() 1451 Value *Base = IRB.CreatePointerCast(MS.ParamTLS, MS.IntptrTy); in getShadowPtrForArgument() 1472 return IRB.CreatePointerCast(MS.RetvalTLS, in getShadowPtrForRetval() 2187 A = IRB.CreatePointerCast(A, Sa->getType()); in handleEqualityComparison() 2188 B = IRB.CreatePointerCast(B, Sb->getType()); in handleEqualityComparison() 2260 A = IRB.CreatePointerCast(A, Sa->getType()); in handleRelationalComparisonExact() 2261 B = IRB.CreatePointerCast(B, Sb->getType()); in handleRelationalComparisonExact() 3371 IRB.CreatePointerCast(&F, MS.IntptrTy)}); in instrumentAllocaUserspace() 3787 Value *Base = IRB.CreatePointerCast(MS.VAArgTLS, MS.IntptrTy); in getShadowPtrForVAArgument() 3946 Value *Base = IRB.CreatePointerCast(MS.VAArgTLS, MS.IntptrTy); in getShadowPtrForVAArgument() [all …]
|
| H A D | AddressSanitizer.cpp | 1341 i = IRB.CreatePointerCast(i, IntptrTy); in instrumentPointerComparisonOrSubtraction() 1519 Value *AddrLong = IRB.CreatePointerCast(Addr, IntptrTy); in instrumentAddress() 1598 Value *AddrLong = IRB.CreatePointerCast(Addr, IntptrTy); in instrumentUnusualSizeOrAlignment() 1969 {IRB.CreatePointerCast(RegisteredFlag, IntptrTy), in InstrumentGlobalsELF() 1970 IRB.CreatePointerCast(StartELFMetadata, IntptrTy), in InstrumentGlobalsELF() 2030 {IRB.CreatePointerCast(RegisteredFlag, IntptrTy)}); in InstrumentGlobalsMachO() 2057 {IRB.CreatePointerCast(AllGlobals, IntptrTy), in InstrumentGlobalsWithMetadataArray() 2064 {IRB.CreatePointerCast(AllGlobals, IntptrTy), in InstrumentGlobalsWithMetadataArray() 2832 return IRB.CreatePointerCast(Alloca, IntptrTy); in createAllocaForLayout() 3044 IRB.CreateStore(IRB.CreatePointerCast(&F, IntptrTy), BasePlus2); in processStaticAllocas() [all …]
|
| H A D | EfficiencySanitizer.cpp | 687 {IRB.CreatePointerCast(Addr, IRB.getInt8PtrTy()), in instrumentLoadOrStore() 700 IRB.CreatePointerCast(Addr, IRB.getInt8PtrTy())); in instrumentLoadOrStore() 714 {IRB.CreatePointerCast(MI->getArgOperand(0), IRB.getInt8PtrTy()), in instrumentMemIntrinsic() 722 {IRB.CreatePointerCast(MI->getArgOperand(0), IRB.getInt8PtrTy()), in instrumentMemIntrinsic() 723 IRB.CreatePointerCast(MI->getArgOperand(1), IRB.getInt8PtrTy()), in instrumentMemIntrinsic() 878 Value *AddrPtr = IRB.CreatePointerCast(Addr, IntptrTy); in instrumentFastpathWorkingSet()
|
| /freebsd-12.1/contrib/llvm/include/llvm/IR/ |
| H A D | NoFolder.h | 255 Instruction *CreatePointerCast(Constant *C, Type *DestTy) const { in CreatePointerCast() function 256 return CastInst::CreatePointerCast(C, DestTy); in CreatePointerCast()
|
| H A D | ConstantFolder.h | 186 Constant *CreatePointerCast(Constant *C, Type *DestTy) const { in CreatePointerCast() function
|
| H A D | InstrTypes.h | 429 static CastInst *CreatePointerCast( 437 static CastInst *CreatePointerCast(
|
| H A D | IRBuilder.h | 1778 Value *CreatePointerCast(Value *V, Type *DestTy, 1783 return Insert(Folder.CreatePointerCast(VC, DestTy), Name); 1784 return Insert(CastInst::CreatePointerCast(V, DestTy), Name);
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/CodeGen/ |
| H A D | CGGPUBuiltin.cpp | 116 BufferPtr = Builder.CreatePointerCast(Alloca, llvm::Type::getInt8PtrTy(Ctx)); in EmitNVPTXDevicePrintfCallExpr()
|
| H A D | CGCUDANV.cpp | 207 CGF.Builder.CreatePointerCast(CGF.GetAddrOfLocalVar(A).getPointer(), in emitDeviceStubBody() 223 llvm::Value *Arg = CGF.Builder.CreatePointerCast(CGF.CurFn, CharPtrTy); in emitDeviceStubBody()
|
| H A D | CGBlocks.cpp | 1179 llvm::Value *result = Builder.CreatePointerCast( in EmitBlockLiteral() 1281 Builder.CreatePointerCast(BlockPtr, BlockLiteralTy, "block.literal"); in EmitBlockCallExpr() 1300 BlockPtr = Builder.CreatePointerCast(BlockPtr, GenericVoidPtrTy); in EmitBlockCallExpr() 1319 Func = Builder.CreatePointerCast(Func, BlockFTyPtr); in EmitBlockCallExpr() 1508 BlockPointer = Builder.CreatePointerCast( in setBlockContextParameter()
|
| H A D | CGBuiltin.cpp | 1374 FieldPtr = CGF.Builder.CreatePointerCast( in dumpRecord() 3406 Value *BCast = Builder.CreatePointerCast(Arg1, I8PTy); in EmitBuiltinExpr() 3422 Value *BCast = Builder.CreatePointerCast(Arg3, I8PTy); in EmitBuiltinExpr() 3589 Builder.CreatePointerCast(Info.Kernel, GenericVoidPtrTy); in EmitBuiltinExpr() 3591 Builder.CreatePointerCast(Info.BlockArg, GenericVoidPtrTy); in EmitBuiltinExpr() 3642 Builder.CreatePointerCast(Info.Kernel, GenericVoidPtrTy); in EmitBuiltinExpr() 3680 EventList = Builder.CreatePointerCast(EventList, EventPtrTy); in EmitBuiltinExpr() 3683 : Builder.CreatePointerCast(ClkEvent, EventPtrTy); in EmitBuiltinExpr() 3687 Builder.CreatePointerCast(Info.Kernel, GenericVoidPtrTy); in EmitBuiltinExpr() 3839 Arg0Val = Builder.CreatePointerCast(Arg0Val, PTy0); in EmitBuiltinExpr() [all …]
|
| H A D | CGOpenMPRuntime.cpp | 2495 CGF.Builder.CreatePointerCast(VDAddr.getPointer(), in getAddrOfThreadPrivate() 2515 OMPLoc, CGF.Builder.CreatePointerCast(VDAddr.getPointer(), CGM.VoidPtrTy), in emitThreadPrivateVarInit() 7380 llvm::Value *CLAddr = CGF.Builder.CreatePointerCast(LB, CGF.VoidPtrTy); in emitCombinedEntry() 7381 llvm::Value *CHAddr = CGF.Builder.CreatePointerCast(HAddr, CGF.VoidPtrTy); in emitCombinedEntry()
|
| /freebsd-12.1/contrib/llvm/lib/Target/WebAssembly/ |
| H A D | WebAssemblyAddMissingPrototypes.cpp | 128 Value *NewCast = Builder.CreatePointerCast(NewF, BC->getDestTy()); in runOnModule()
|
| /freebsd-12.1/contrib/llvm/lib/CodeGen/ |
| H A D | IndirectBrExpandPass.cpp | 183 return CastInst::CreatePointerCast( in runOnFunction()
|
| H A D | CodeGenPrepare.cpp | 4616 SunkAddr = Builder.CreatePointerCast(SunkAddr, Addr->getType()); in optimizeMemoryInst() 4729 ResultPtr = Builder.CreatePointerCast(ResultPtr, I8PtrTy); in optimizeMemoryInst() 4740 ResultPtr = Builder.CreatePointerCast(ResultPtr, I8PtrTy); in optimizeMemoryInst() 4745 SunkAddr = Builder.CreatePointerCast(SunkAddr, Addr->getType()); in optimizeMemoryInst() 5197 NewBaseGEP = NewBaseBuilder.CreatePointerCast(NewBaseGEP, I8PtrTy); in splitLargeGEPOffsets() 5207 NewGEP = Builder.CreatePointerCast(NewGEP, GEP->getType()); in splitLargeGEPOffsets() 5214 NewGEP = Builder.CreatePointerCast(NewGEP, GEP->getType()); in splitLargeGEPOffsets()
|
| H A D | InterleavedLoadCombinePass.cpp | 1217 auto CI = Builder.CreatePointerCast(InsertionPoint->getOperand(0), in combine()
|
| H A D | SafeStack.cpp | 681 Value *NewAI = IRB.CreatePointerCast(NewTop, AI->getType()); in moveDynamicAllocasToUnsafeStack()
|
| /freebsd-12.1/contrib/llvm/include/llvm/Analysis/ |
| H A D | TargetFolder.h | 179 Constant *CreatePointerCast(Constant *C, Type *DestTy) const { in CreatePointerCast() function
|
| /freebsd-12.1/contrib/llvm/lib/Transforms/Scalar/ |
| H A D | MemCpyOptimizer.cpp | 967 : CastInst::CreatePointerCast(cpyDest, cpySrc->getType(), in performCallSlotOptzn() 973 CS.setArgument(i, CastInst::CreatePointerCast(Dest, in performCallSlotOptzn()
|
| /freebsd-12.1/contrib/llvm/lib/Transforms/Utils/ |
| H A D | CodeExtractor.cpp | 1239 CastInst::CreatePointerCast(Mem, Int8PtrTy, "lt.cast", TheCall); in insertLifetimeMarkersSurroundingCall()
|
| /freebsd-12.1/contrib/llvm/lib/Target/AMDGPU/ |
| H A D | AMDGPULibCalls.cpp | 620 auto *BCast = B.CreatePointerCast(PtrArg, PtrTy); in fold_read_write_pipe()
|
| /freebsd-12.1/contrib/llvm/lib/IR/ |
| H A D | Instructions.cpp | 2665 CastInst *CastInst::CreatePointerCast(Value *S, Type *Ty, in CreatePointerCast() function in CastInst 2683 CastInst *CastInst::CreatePointerCast(Value *S, Type *Ty, in CreatePointerCast() function in CastInst
|