Home
last modified time | relevance | path

Searched refs:CreatePointerCast (Results 1 – 25 of 27) sorted by relevance

12

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Instrumentation/
DThreadSanitizer.cpp549 {IRB.CreatePointerCast(Addr, IRB.getInt8PtrTy()), in instrumentLoadOrStore()
550 IRB.CreatePointerCast(StoredValue, IRB.getInt8PtrTy())}); in instrumentLoadOrStore()
556 IRB.CreatePointerCast(Addr, IRB.getInt8PtrTy())); in instrumentLoadOrStore()
570 IRB.CreateCall(OnAccessFunc, IRB.CreatePointerCast(Addr, IRB.getInt8PtrTy())); in instrumentLoadOrStore()
606 {IRB.CreatePointerCast(M->getArgOperand(0), IRB.getInt8PtrTy()), in instrumentMemIntrinsic()
613 {IRB.CreatePointerCast(M->getArgOperand(0), IRB.getInt8PtrTy()), in instrumentMemIntrinsic()
614 IRB.CreatePointerCast(M->getArgOperand(1), IRB.getInt8PtrTy()), in instrumentMemIntrinsic()
640 Value *Args[] = {IRB.CreatePointerCast(Addr, PtrTy), in instrumentAtomic()
655 Value *Args[] = {IRB.CreatePointerCast(Addr, PtrTy), in instrumentAtomic()
672 Value *Args[] = {IRB.CreatePointerCast(Addr, PtrTy), in instrumentAtomic()
[all …]
DSanitizerCoverage.cpp315 Value *SecEndPtr = IRB.CreatePointerCast(SecEnd, Ty); in CreateSecStartEnd()
317 return std::make_pair(IRB.CreatePointerCast(SecStart, Ty), SecEndPtr); in CreateSecStartEnd()
321 auto SecStartI8Ptr = IRB.CreatePointerCast(SecStart, Int8PtrTy); in CreateSecStartEnd()
324 return std::make_pair(IRB.CreatePointerCast(GEP, Ty), SecEndPtr); in CreateSecStartEnd()
676 PCs.push_back((Constant *)IRB.CreatePointerCast(&F, IntptrPtrTy)); in CreatePCArray()
680 PCs.push_back((Constant *)IRB.CreatePointerCast( in CreatePCArray()
737 IRB.CreateCall(SanCovTracePCIndir, IRB.CreatePointerCast(Callee, IntptrTy)); in InjectCoverageForIndirectCalls()
779 {Cond, IRB.CreatePointerCast(GV, Int64PtrTy)}); in InjectTraceForSwitch()
873 IRB.CreateAdd(IRB.CreatePointerCast(FunctionGuardArray, IntptrTy), in InjectCoverageAtBlock()
DHWAddressSanitizer.cpp585 Value *AddrLong = IRB.CreatePointerCast(Addr, IntptrTy); in untagPointerOperand()
625 Value *PtrLong = IRB.CreatePointerCast(Ptr, IntptrTy); in instrumentMemAccessInline()
703 {IRB.CreatePointerCast(MI->getOperand(0), IRB.getInt8PtrTy()), in instrumentMemIntrinsic()
704 IRB.CreatePointerCast(MI->getOperand(1), IRB.getInt8PtrTy()), in instrumentMemIntrinsic()
709 {IRB.CreatePointerCast(MI->getOperand(0), IRB.getInt8PtrTy()), in instrumentMemIntrinsic()
745 IRB.CreatePointerCast(Addr, IntptrTy)); in instrumentMemAccess()
751 {IRB.CreatePointerCast(Addr, IntptrTy), in instrumentMemAccess()
780 {IRB.CreatePointerCast(AI, Int8PtrTy), JustTag, in tagAlloca()
784 Value *ShadowPtr = memToShadow(IRB.CreatePointerCast(AI, IntptrTy), IRB); in tagAlloca()
844 Value *StackPointerLong = IRB.CreatePointerCast(StackPointer, IntptrTy); in getStackBaseTag()
[all …]
DAddressSanitizer.cpp1307 {IRB.CreatePointerCast(MI->getOperand(0), IRB.getInt8PtrTy()), in instrumentMemIntrinsic()
1308 IRB.CreatePointerCast(MI->getOperand(1), IRB.getInt8PtrTy()), in instrumentMemIntrinsic()
1313 {IRB.CreatePointerCast(MI->getOperand(0), IRB.getInt8PtrTy()), in instrumentMemIntrinsic()
1487 i = IRB.CreatePointerCast(i, IntptrTy); in instrumentPointerComparisonOrSubtraction()
1665 Value *AddrLong = IRB.CreatePointerCast(Addr, IntptrTy); in instrumentAddress()
1744 Value *AddrLong = IRB.CreatePointerCast(Addr, IntptrTy); in instrumentUnusualSizeOrAlignment()
2112 {IRB.CreatePointerCast(RegisteredFlag, IntptrTy), in InstrumentGlobalsELF()
2113 IRB.CreatePointerCast(StartELFMetadata, IntptrTy), in InstrumentGlobalsELF()
2114 IRB.CreatePointerCast(StopELFMetadata, IntptrTy)}); in InstrumentGlobalsELF()
2120 {IRB.CreatePointerCast(RegisteredFlag, IntptrTy), in InstrumentGlobalsELF()
[all …]
DMemorySanitizer.cpp1103 IRB.CreatePointerCast(OriginPtr, PointerType::get(MS.IntptrTy, 0)); in paintOrigin()
1146 IRB.CreatePointerCast(Addr, IRB.getInt8PtrTy()), in storeOrigin()
1388 Value *OffsetLong = IRB.CreatePointerCast(Addr, MS.IntptrTy); in getShadowPtrOffset()
1448 IRB.CreatePointerCast(Addr, PointerType::get(IRB.getInt8Ty(), 0)); in getShadowOriginPtrKernel()
1458 ShadowPtr = IRB.CreatePointerCast(ShadowPtr, PointerType::get(ShadowTy, 0)); in getShadowOriginPtrKernel()
1478 Value *Base = IRB.CreatePointerCast(MS.ParamTLS, MS.IntptrTy); in getShadowPtrForArgument()
1490 Value *Base = IRB.CreatePointerCast(MS.ParamOriginTLS, MS.IntptrTy); in getOriginPtrForArgument()
1499 return IRB.CreatePointerCast(MS.RetvalTLS, in getShadowPtrForRetval()
2216 A = IRB.CreatePointerCast(A, Sa->getType()); in handleEqualityComparison()
2217 B = IRB.CreatePointerCast(B, Sb->getType()); in handleEqualityComparison()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/
DNoFolder.h258 Instruction *CreatePointerCast(Constant *C, Type *DestTy) const { in CreatePointerCast() function
259 return CastInst::CreatePointerCast(C, DestTy); in CreatePointerCast()
DConstantFolder.h189 Constant *CreatePointerCast(Constant *C, Type *DestTy) const { in CreatePointerCast() function
DInstrTypes.h515 static CastInst *CreatePointerCast(
523 static CastInst *CreatePointerCast(
DIRBuilder.h2147 Value *CreatePointerCast(Value *V, Type *DestTy,
2152 return Insert(Folder.CreatePointerCast(VC, DestTy), Name);
2153 return Insert(CastInst::CreatePointerCast(V, DestTy), Name);
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DIndirectBrExpandPass.cpp181 return CastInst::CreatePointerCast( in runOnFunction()
DCodeGenPrepare.cpp4892 SunkAddr = Builder.CreatePointerCast(SunkAddr, Addr->getType()); in optimizeMemoryInst()
5005 ResultPtr = Builder.CreatePointerCast(ResultPtr, I8PtrTy); in optimizeMemoryInst()
5020 ResultPtr = Builder.CreatePointerCast(ResultPtr, I8PtrTy); in optimizeMemoryInst()
5029 SunkAddr = Builder.CreatePointerCast(SunkAddr, Addr->getType()); in optimizeMemoryInst()
5480 NewBaseGEP = NewBaseBuilder.CreatePointerCast(NewBaseGEP, I8PtrTy); in splitLargeGEPOffsets()
5490 NewGEP = Builder.CreatePointerCast(NewGEP, GEP->getType()); in splitLargeGEPOffsets()
5497 NewGEP = Builder.CreatePointerCast(NewGEP, GEP->getType()); in splitLargeGEPOffsets()
DInterleavedLoadCombinePass.cpp1218 auto CI = Builder.CreatePointerCast(InsertionPoint->getOperand(0), in combine()
DSafeStack.cpp675 Value *NewAI = IRB.CreatePointerCast(NewTop, AI->getType()); in moveDynamicAllocasToUnsafeStack()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AArch64/
DAArch64StackTagging.cpp261 V = IRB.CreatePointerCast(V, NewTy); in flatten()
431 IRB.CreateCall(SetTagFunc, {IRB.CreatePointerCast(AI, IRB.getInt8PtrTy()), in untagAlloca()
668 Value *Ptr = IRB.CreatePointerCast(TagPCall, IRB.getInt8PtrTy()); in runOnFunction()
/third_party/skia/third_party/externals/swiftshader/src/Reactor/
DLLVMReactor.cpp941 auto ptrCast = jit->builder->CreatePointerCast(V(ptr), elAsIntTy->getPointerTo()); in createLoad()
962 jit->builder->CreatePointerCast(V(ptr), i8PtrTy), in createLoad()
963 jit->builder->CreatePointerCast(V(out), i8PtrTy), in createLoad()
1018 jit->builder->CreateCall(func, { jit->builder->CreatePointerCast(V(ptr), voidPtrTy), in createStore()
1041 auto ptrCast = jit->builder->CreatePointerCast(V(ptr), elAsIntTy->getPointerTo()); in createStore()
1061 jit->builder->CreatePointerCast(V(ptr), i8PtrTy), in createStore()
1062 jit->builder->CreatePointerCast(V(copy), i8PtrTy), in createStore()
1134 jit->builder->CreateCall(func, { jit->builder->CreatePointerCast(elPtr, voidPtrTy), in createMaskedStore()
1157 auto i8Base = jit->builder->CreatePointerCast(base, i8PtrTy); in createGather()
1159 auto elPtrs = jit->builder->CreatePointerCast(i8Ptrs, elPtrVecTy); in createGather()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Analysis/
DTargetFolder.h182 Constant *CreatePointerCast(Constant *C, Type *DestTy) const { in CreatePointerCast() function
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/
DLowerMatrixIntrinsics.cpp108 return Builder.CreatePointerCast(ColumnStart, ColumnPtrType, "col.cast"); in computeColumnAddr()
533 return Builder.CreatePointerCast(BasePtr, EltPtrType); in createElementPtr()
DMemCpyOptimizer.cpp878 : CastInst::CreatePointerCast(cpyDest, cpySrc->getType(), in performCallSlotOptzn()
884 CS.setArgument(i, CastInst::CreatePointerCast(Dest, in performCallSlotOptzn()
DLoopStrengthReduce.cpp3233 IVOper = Builder.CreatePointerCast(IVSrc, PostIncTy, "lsr.chain"); in GenerateIVChain()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/
DCodeExtractor.cpp1033 CastInst::CreatePointerCast(Mem, Int8PtrTy, "lt.cast", TheCall); in insertLifetimeMarkersSurroundingCall()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
DAMDGPULibCalls.cpp624 auto *BCast = B.CreatePointerCast(PtrArg, PtrTy); in fold_read_write_pipe()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/IR/
DInstructions.cpp2831 CastInst *CastInst::CreatePointerCast(Value *S, Type *Ty, in CreatePointerCast() function in CastInst
2849 CastInst *CastInst::CreatePointerCast(Value *S, Type *Ty, in CreatePointerCast() function in CastInst
DCore.cpp3796 return wrap(unwrap(B)->CreatePointerCast(unwrap(Val), unwrap(DestTy), Name)); in LLVMBuildPointerCast()
DAutoUpgrade.cpp2307 Value *Op = Builder.CreatePointerCast(CI->getArgOperand(0), in UpgradeIntrinsicCall()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/InstCombine/
DInstCombineCompares.cpp749 Value *Cast = Builder.CreatePointerCast(GEP, Val->getType(), in rewriteGEPAsOffset()

12