Lines Matching refs:Value
24 /// has array of i8 type filled in with the nul terminated string value
46 Value *IRBuilderBase::getCastedInt8PtrValue(Value *Ptr) {
59 static CallInst *createCallHelper(Value *Callee, ArrayRef<Value *> Ops,
68 static InvokeInst *createInvokeHelper(Value *Invokee, BasicBlock *NormalDest,
70 ArrayRef<Value *> Ops,
82 CreateMemSet(Value *Ptr, Value *Val, Value *Size, unsigned Align,
86 Value *Ops[] = { Ptr, Val, Size, getInt32(Align), getInt1(isVolatile) };
89 Value *TheFn = Intrinsic::getDeclaration(M, Intrinsic::memset, Tys);
107 CreateMemCpy(Value *Dst, Value *Src, Value *Size, unsigned Align,
113 Value *Ops[] = { Dst, Src, Size, getInt32(Align), getInt1(isVolatile) };
116 Value *TheFn = Intrinsic::getDeclaration(M, Intrinsic::memcpy, Tys);
138 CreateMemMove(Value *Dst, Value *Src, Value *Size, unsigned Align,
144 Value *Ops[] = { Dst, Src, Size, getInt32(Align), getInt1(isVolatile) };
147 Value *TheFn = Intrinsic::getDeclaration(M, Intrinsic::memmove, Tys);
164 CallInst *IRBuilderBase::CreateLifetimeStart(Value *Ptr, ConstantInt *Size) {
173 Value *Ops[] = { Size, Ptr };
175 Value *TheFn = Intrinsic::getDeclaration(M, Intrinsic::lifetime_start);
179 CallInst *IRBuilderBase::CreateLifetimeEnd(Value *Ptr, ConstantInt *Size) {
188 Value *Ops[] = { Size, Ptr };
190 Value *TheFn = Intrinsic::getDeclaration(M, Intrinsic::lifetime_end);
194 CallInst *IRBuilderBase::CreateAssumption(Value *Cond) {
198 Value *Ops[] = { Cond };
200 Value *FnAssume = Intrinsic::getDeclaration(M, Intrinsic::assume);
209 /// PassThru - a pass-through value that is used to fill the masked-off lanes
212 CallInst *IRBuilderBase::CreateMaskedLoad(Value *Ptr, unsigned Align,
213 Value *Mask, Value *PassThru,
221 Value *Ops[] = { Ptr, getInt32(Align), Mask, PassThru};
231 CallInst *IRBuilderBase::CreateMaskedStore(Value *Val, Value *Ptr,
232 unsigned Align, Value *Mask) {
233 Value *Ops[] = { Val, Ptr, getInt32(Align), Mask };
241 ArrayRef<Value *> Ops,
246 Value *TheFn = Intrinsic::getDeclaration(M, Id, OverloadedTypes);
251 static std::vector<Value *>
253 Value *ActualCallee, uint32_t Flags, ArrayRef<T0> CallArgs,
256 std::vector<Value *> Args;
275 Value *ActualCallee, uint32_t Flags, ArrayRef<T0> CallArgs,
281 "actual callee must be a callable value");
290 std::vector<llvm::Value *> Args =
297 uint64_t ID, uint32_t NumPatchBytes, Value *ActualCallee,
298 ArrayRef<Value *> CallArgs, ArrayRef<Value *> DeoptArgs,
299 ArrayRef<Value *> GCArgs, const Twine &Name) {
300 return CreateGCStatepointCallCommon<Value *, Value *, Value *, Value *>(
306 uint64_t ID, uint32_t NumPatchBytes, Value *ActualCallee, uint32_t Flags,
308 ArrayRef<Use> DeoptArgs, ArrayRef<Value *> GCArgs, const Twine &Name) {
309 return CreateGCStatepointCallCommon<Use, Use, Use, Value *>(
315 uint64_t ID, uint32_t NumPatchBytes, Value *ActualCallee,
316 ArrayRef<Use> CallArgs, ArrayRef<Value *> DeoptArgs,
317 ArrayRef<Value *> GCArgs, const Twine &Name) {
318 return CreateGCStatepointCallCommon<Use, Value *, Value *, Value *>(
326 Value *ActualInvokee, BasicBlock *NormalDest, BasicBlock *UnwindDest,
332 "actual callee must be a callable value");
339 std::vector<llvm::Value *> Args =
347 uint64_t ID, uint32_t NumPatchBytes, Value *ActualInvokee,
349 ArrayRef<Value *> InvokeArgs, ArrayRef<Value *> DeoptArgs,
350 ArrayRef<Value *> GCArgs, const Twine &Name) {
351 return CreateGCStatepointInvokeCommon<Value *, Value *, Value *, Value *>(
358 uint64_t ID, uint32_t NumPatchBytes, Value *ActualInvokee,
361 ArrayRef<Use> DeoptArgs, ArrayRef<Value *> GCArgs, const Twine &Name) {
362 return CreateGCStatepointInvokeCommon<Use, Use, Use, Value *>(
368 uint64_t ID, uint32_t NumPatchBytes, Value *ActualInvokee,
370 ArrayRef<Value *> DeoptArgs, ArrayRef<Value *> GCArgs, const Twine &Name) {
371 return CreateGCStatepointInvokeCommon<Use, Value *, Value *, Value *>(
383 Value *FnGCResult = Intrinsic::getDeclaration(M, ID, Types);
385 Value *Args[] = {Statepoint};
396 Value *FnGCRelocate =
399 Value *Args[] = {Statepoint,