| /freebsd-10-stable/contrib/llvm/lib/Transforms/Instrumentation/ |
| D | ThreadSanitizer.cpp | 410 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 …]
|
| D | MemorySanitizer.cpp | 753 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 …]
|
| D | AddressSanitizer.cpp | 616 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/ |
| D | CGCUDANV.cpp | 100 Args[0] = CGF.Builder.CreatePointerCast(ArgValues[I], VoidPtrTy); in EmitDeviceStubBody() 116 llvm::Value *Arg = CGF.Builder.CreatePointerCast(CGF.CurFn, CharPtrTy); in EmitDeviceStubBody()
|
| D | TargetInfo.cpp | 5521 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()
|
| D | CGBlocks.cpp | 2202 llvm::Value *BC = Builder.CreatePointerCast(ByrefInfoAddr, DesTy); in emitByrefStructureInit()
|
| /freebsd-10-stable/contrib/llvm/include/llvm/Support/ |
| D | NoFolder.h | 218 Instruction *CreatePointerCast(Constant *C, Type *DestTy) const { in CreatePointerCast() function 219 return CastInst::CreatePointerCast(C, DestTy); in CreatePointerCast()
|
| D | ConstantFolder.h | 159 Constant *CreatePointerCast(Constant *C, Type *DestTy) const { in CreatePointerCast() function
|
| D | TargetFolder.h | 179 Constant *CreatePointerCast(Constant *C, Type *DestTy) const { in CreatePointerCast() function
|
| /freebsd-10-stable/contrib/llvm/include/llvm/IR/ |
| D | InstrTypes.h | 463 static CastInst *CreatePointerCast( 471 static CastInst *CreatePointerCast(
|
| D | IRBuilder.h | 1172 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/ |
| D | MemCpyOptimizer.cpp | 705 : CastInst::CreatePointerCast(cpyDest, cpySrc->getType(), in performCallSlotOptzn() 711 CS.setArgument(i, CastInst::CreatePointerCast(Dest, in performCallSlotOptzn()
|
| D | LoopStrengthReduce.cpp | 2904 IVOper = Builder.CreatePointerCast(IVSrc, PostIncTy, "lsr.chain"); in GenerateIVChain()
|
| /freebsd-10-stable/contrib/llvm/lib/IR/ |
| D | Instructions.cpp | 2442 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
|
| D | Core.cpp | 2358 return wrap(unwrap(B)->CreatePointerCast(unwrap(Val), unwrap(DestTy), Name)); in LLVMBuildPointerCast()
|
| /freebsd-10-stable/contrib/llvm/lib/Transforms/Vectorize/ |
| D | LoopVectorize.cpp | 1623 Count = BypassBuilder.CreatePointerCast(Count, IdxTy, "ptrcnt.to.int"); in createEmptyLoop()
|