Home
last modified time | relevance | path

Searched refs:CreateMemSet (Results 1 – 23 of 23) sorted by relevance

/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGBuilder.h395 using CGBuilderBaseTy::CreateMemSet;
396 llvm::CallInst *CreateMemSet(Address Dest, llvm::Value *Value,
398 return CreateMemSet(emitRawPointerFromAddress(Dest), Value, Size,
H A DCGDecl.cpp1214 auto *I = Builder.CreateMemSet(Loc, llvm::ConstantInt::get(CGM.Int8Ty, 0), in emitStoresForConstant()
1239 auto *I = Builder.CreateMemSet( in emitStoresForConstant()
1832 auto *I = Builder.CreateMemSet(Loc, llvm::ConstantInt::get(Int8Ty, 0), in emitZeroOrPatternForAutoVarInit()
H A DCGExprCXX.cpp587 CGF.Builder.CreateMemSet( in EmitNullBaseClassInitialization()
1040 Builder.CreateMemSet(CurPtr, Builder.getInt8(0), RemainingSize, false); in EmitNewArrayInitializer()
H A DCGNonTrivialStruct.cpp662 CGF->Builder.CreateMemSet(Loc, CGF->Builder.getInt8(0), SizeVal, in visitArray()
H A DCGExprAgg.cpp2002 CGF.Builder.CreateMemSet(Loc, CGF.Builder.getInt8(0), SizeVal, false); in CheckAggExprForMemSetUse()
H A DCGAtomic.cpp370 CGF.Builder.CreateMemSet( in emitMemSetZeroIfNecessary()
H A DCodeGenFunction.cpp2186 Builder.CreateMemSet(DestPtr, Builder.getInt8(0), SizeVal, false); in EmitNullInitialization()
H A DCGBuiltin.cpp92 auto *I = CGF.Builder.CreateMemSet(AI, Byte, Size, AlignmentInBytes); in initializeAlloca()
4185 Builder.CreateMemSet(Dest, Builder.getInt8(0), SizeVal, false); in EmitBuiltinExpr()
4298 Builder.CreateMemSet(Dest, ByteVal, SizeVal, false); in EmitBuiltinExpr()
4327 Builder.CreateMemSet(Dest, ByteVal, SizeVal, false); in EmitBuiltinExpr()
16604 return Builder.CreateMemSet(Ops[0], Ops[1], Ops[2], Align(1), true); in EmitX86BuiltinExpr()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DMemCpyOptimizer.cpp479 AMemSet = Builder.CreateMemSet(StartPtr, ByteVal, Range.End - Range.Start, in tryMergingIntoMemset()
814 auto *M = Builder.CreateMemSet(SI->getPointerOperand(), ByteVal, Size, in processStore()
1370 Builder.CreateMemSet(Builder.CreatePtrAdd(Dest, SrcSize), in processMemSetMemCpyDependence()
1481 Builder.CreateMemSet(MemCpy->getRawDest(), MemSet->getOperand(1), in performMemCpyToMemSetOptzn()
1755 Instruction *NewM = Builder.CreateMemSet( in processMemCpy()
H A DInferAddressSpaces.cpp1048 B.CreateMemSet(NewV, MSI->getValue(), MSI->getLength(), MSI->getDestAlign(), in handleMemIntrinsicPtrUse()
H A DLoopIdiomRecognize.cpp1093 NewCall = Builder.CreateMemSet( in processLoopStridedStore()
H A DSROA.cpp3188 MemIntrinsic *New = cast<MemIntrinsic>(IRB.CreateMemSet( in visitMemSetInst()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/
H A DMemorySanitizer.cpp2002 EntryIRB.CreateMemSet( in getShadow()
4345 IRB.CreateMemSet(DstShadowPtr, getCleanShadow(IRB.getInt8Ty()), Size, in visitLibAtomicStore()
4461 Store = IRB.CreateMemSet(ArgShadowBase, in visitCallBase()
4634 IRB.CreateMemSet(ShadowBase, PoisonValue, Len, I.getAlign()); in poisonAllocaUserspace()
4837 IRB.CreateMemSet(ShadowPtr, ConstantInt::getNullValue(IRB.getInt8Ty()), in instrumentAsmArgument()
4987 IRB.CreateMemSet(ShadowBase, ConstantInt::getNullValue(IRB.getInt8Ty()), in CleanUnusedTLS()
4998 IRB.CreateMemSet(ShadowPtr, Constant::getNullValue(IRB.getInt8Ty()), in unpoisonVAListTagForInst()
5182 IRB.CreateMemSet(VAArgTLSCopy, Constant::getNullValue(IRB.getInt8Ty()), in finalizeInstrumentation()
5297 IRB.CreateMemSet(VAArgTLSCopy, Constant::getNullValue(IRB.getInt8Ty()), in finalizeInstrumentation()
5468 IRB.CreateMemSet(VAArgTLSCopy, Constant::getNullValue(IRB.getInt8Ty()), in finalizeInstrumentation()
[all …]
H A DGCOVProfiling.cpp1334 Builder.CreateMemSet(GV, Constant::getNullValue(Type::getInt8Ty(C)), in insertReset()
H A DHWAddressSanitizer.cpp1156 IRB.CreateMemSet(ShadowPtr, Tag, ShadowSize, Align(1)); in tagAlloca()
/freebsd/contrib/llvm-project/llvm/lib/Target/SPIRV/
H A DSPIRVPrepareFunctions.cpp135 auto *MemSet = IRB.CreateMemSet(Dest, Val, Len, MSI->getDestAlign(), in lowerIntrinsicToFunction()
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DIRBuilder.h592 CallInst *CreateMemSet(Value *Ptr, Value *Val, uint64_t Size,
596 return CreateMemSet(Ptr, Val, getInt64(Size), Align, isVolatile,
600 CallInst *CreateMemSet(Value *Ptr, Value *Val, Value *Size, MaybeAlign Align,
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DSimplifyLibCalls.cpp892 CallInst *NewCI = B.CreateMemSet(Dst, B.getInt8('\0'), Size, MemSetAlign); in optimizeStringNCpy()
1710 CallInst *NewCI = B.CreateMemSet(CI->getArgOperand(0), Val, Size, Align(1)); in optimizeMemSet()
4181 CallInst *NewCI = B.CreateMemSet(CI->getArgOperand(0), Val, in optimizeMemSetChk()
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUPromoteAlloca.cpp1556 Builder.CreateMemSet(MemSet->getRawDest(), MemSet->getValue(), in tryPromoteAllocaToLDS()
/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DIRBuilder.cpp138 CallInst *IRBuilderBase::CreateMemSet(Value *Ptr, Value *Val, Value *Size, in CreateMemSet() function in IRBuilderBase
H A DCore.cpp3819 return wrap(unwrap(B)->CreateMemSet(unwrap(Ptr), unwrap(Val), unwrap(Len), in LLVMBuildMemSet()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DGlobalOpt.cpp938 Builder.CreateMemSet(NewGV, InitVal, AllocSize, std::nullopt); in OptimizeGlobalAddressOfAllocation()
H A DAttributorAttributes.cpp6795 Builder.CreateMemSet(Alloca, InitVal, Size, std::nullopt); in manifest()