Home
last modified time | relevance | path

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

/freebsd-10-stable/contrib/llvm/lib/Transforms/Instrumentation/
DThreadSanitizer.cpp410 IRB.CreatePointerCast(Addr, IRB.getInt8PtrTy()), in instrumentLoadOrStore()
411 IRB.CreatePointerCast(StoredValue, IRB.getInt8PtrTy())); in instrumentLoadOrStore()
417 IRB.CreatePointerCast(Addr, IRB.getInt8PtrTy())); in instrumentLoadOrStore()
422 IRB.CreateCall(OnAccessFunc, IRB.CreatePointerCast(Addr, IRB.getInt8PtrTy())); in instrumentLoadOrStore()
470 IRB.CreatePointerCast(M->getArgOperand(0), IRB.getInt8PtrTy()), in instrumentMemIntrinsic()
476 IRB.CreatePointerCast(M->getArgOperand(0), IRB.getInt8PtrTy()), in instrumentMemIntrinsic()
477 IRB.CreatePointerCast(M->getArgOperand(1), IRB.getInt8PtrTy()), in instrumentMemIntrinsic()
503 Value *Args[] = {IRB.CreatePointerCast(Addr, PtrTy), in instrumentAtomic()
518 Value *Args[] = {IRB.CreatePointerCast(Addr, PtrTy), in instrumentAtomic()
536 Value *Args[] = {IRB.CreatePointerCast(Addr, PtrTy), in instrumentAtomic()
[all …]
DMemorySanitizer.cpp753 IRB.CreateAnd(IRB.CreatePointerCast(Addr, MS.IntptrTy), in getShadowPtr()
764 IRB.CreateAnd(IRB.CreatePointerCast(Addr, MS.IntptrTy), in getOriginPtr()
779 Value *Base = IRB.CreatePointerCast(MS.ParamTLS, MS.IntptrTy); in getShadowPtrForArgument()
789 Value *Base = IRB.CreatePointerCast(MS.ParamOriginTLS, MS.IntptrTy); in getOriginPtrForArgument()
797 Value *Base = IRB.CreatePointerCast(MS.RetvalTLS, MS.IntptrTy); in getShadowPtrForRetval()
1374 A = IRB.CreatePointerCast(A, Sa->getType()); in handleEqualityComparison()
1375 B = IRB.CreatePointerCast(B, Sb->getType()); in handleEqualityComparison()
1447 A = IRB.CreatePointerCast(A, Sa->getType()); in handleRelationalComparisonExact()
1448 B = IRB.CreatePointerCast(B, Sb->getType()); in handleRelationalComparisonExact()
1558 IRB.CreatePointerCast(I.getArgOperand(0), IRB.getInt8PtrTy()), in visitMemMoveInst()
[all …]
DAddressSanitizer.cpp616 Value *AddrLong = IRB.CreatePointerCast(Addr, IntptrTy); in instrumentMemIntrinsicParam()
727 IRB.CreateAdd(IRB.CreatePointerCast(Addr, IntptrTy), in instrumentMop()
784 Value *AddrLong = IRB.CreatePointerCast(Addr, IntptrTy); in instrumentAddress()
1053 IRB.CreatePointerCast(AllGlobals, IntptrTy), in runOnModule()
1064 IRB.CreatePointerCast(AllGlobals, IntptrTy), in runOnModule()
1201 IRB.CreateCall(AsanCovFunction, IRB.CreatePointerCast(&F, IntptrTy)); in InjectCoverage()
1490 Value *OrigStackBase = IRB.CreatePointerCast(MyAlloca, IntptrTy); in poisonStack()
1564 Value *Description = IRB.CreatePointerCast(StackDescriptionGlobal, in poisonStack()
1572 IRB.CreateStore(IRB.CreatePointerCast(&F, IntptrTy), BasePlus2); in poisonStack()
1633 Value *AddrArg = IRB.CreatePointerCast(V, IntptrTy); in poisonAlloca()
/freebsd-10-stable/contrib/llvm/tools/clang/lib/CodeGen/
DCGCUDANV.cpp100 Args[0] = CGF.Builder.CreatePointerCast(ArgValues[I], VoidPtrTy); in EmitDeviceStubBody()
116 llvm::Value *Arg = CGF.Builder.CreatePointerCast(CGF.CurFn, CharPtrTy); in EmitDeviceStubBody()
DTargetInfo.cpp5521 return Builder.CreatePointerCast(ArgAddr, ArgPtrTy, "arg.addr"); in EmitVAArg()
5625 Val = Builder.CreatePointerCast(AP, ArgPtrTy); in EmitVAArg()
5634 Val = Builder.CreatePointerCast(ArgAddr, ArgPtrTy); in EmitVAArg()
DCGBlocks.cpp2202 llvm::Value *BC = Builder.CreatePointerCast(ByrefInfoAddr, DesTy); in emitByrefStructureInit()
/freebsd-10-stable/contrib/llvm/include/llvm/Support/
DNoFolder.h218 Instruction *CreatePointerCast(Constant *C, Type *DestTy) const { in CreatePointerCast() function
219 return CastInst::CreatePointerCast(C, DestTy); in CreatePointerCast()
DConstantFolder.h159 Constant *CreatePointerCast(Constant *C, Type *DestTy) const { in CreatePointerCast() function
DTargetFolder.h179 Constant *CreatePointerCast(Constant *C, Type *DestTy) const { in CreatePointerCast() function
/freebsd-10-stable/contrib/llvm/include/llvm/IR/
DInstrTypes.h463 static CastInst *CreatePointerCast(
471 static CastInst *CreatePointerCast(
DIRBuilder.h1172 Value *CreatePointerCast(Value *V, Type *DestTy,
1177 return Insert(Folder.CreatePointerCast(VC, DestTy), Name);
1178 return Insert(CastInst::CreatePointerCast(V, DestTy), Name);
/freebsd-10-stable/contrib/llvm/lib/Transforms/Scalar/
DMemCpyOptimizer.cpp705 : CastInst::CreatePointerCast(cpyDest, cpySrc->getType(), in performCallSlotOptzn()
711 CS.setArgument(i, CastInst::CreatePointerCast(Dest, in performCallSlotOptzn()
DLoopStrengthReduce.cpp2904 IVOper = Builder.CreatePointerCast(IVSrc, PostIncTy, "lsr.chain"); in GenerateIVChain()
/freebsd-10-stable/contrib/llvm/lib/IR/
DInstructions.cpp2442 CastInst *CastInst::CreatePointerCast(Value *S, Type *Ty, in CreatePointerCast() function in CastInst
2464 CastInst *CastInst::CreatePointerCast(Value *S, Type *Ty, in CreatePointerCast() function in CastInst
DCore.cpp2358 return wrap(unwrap(B)->CreatePointerCast(unwrap(Val), unwrap(DestTy), Name)); in LLVMBuildPointerCast()
/freebsd-10-stable/contrib/llvm/lib/Transforms/Vectorize/
DLoopVectorize.cpp1623 Count = BypassBuilder.CreatePointerCast(Count, IdxTy, "ptrcnt.to.int"); in createEmptyLoop()