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 /// \p PassThru - 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};
232 CallInst *IRBuilderBase::CreateMaskedStore(Value *Val, Value *Ptr,
233 unsigned Align, Value *Mask) {
238 Value *Ops[] = { Val, Ptr, getInt32(Align), Mask };
246 ArrayRef<Value *> Ops,
250 Value *TheFn = Intrinsic::getDeclaration(M, Id, OverloadedTypes);
259 /// \p PassThru - pass-through value that is used to fill the masked-off lanes
262 CallInst *IRBuilderBase::CreateMaskedGather(Value *Ptrs, unsigned Align,
263 Value *Mask, Value *PassThru,
274 Value * Ops[] = {Ptrs, getInt32(Align), Mask, UndefValue::get(DataTy)};
288 CallInst *IRBuilderBase::CreateMaskedScatter(Value *Data, Value *Ptrs,
289 unsigned Align, Value *Mask) {
304 Value * Ops[] = {Data, Ptrs, getInt32(Align), Mask};
312 static std::vector<Value *>
314 Value *ActualCallee, uint32_t Flags, ArrayRef<T0> CallArgs,
317 std::vector<Value *> Args;
336 Value *ActualCallee, uint32_t Flags, ArrayRef<T0> CallArgs,
342 "actual callee must be a callable value");
351 std::vector<llvm::Value *> Args =
358 uint64_t ID, uint32_t NumPatchBytes, Value *ActualCallee,
359 ArrayRef<Value *> CallArgs, ArrayRef<Value *> DeoptArgs,
360 ArrayRef<Value *> GCArgs, const Twine &Name) {
361 return CreateGCStatepointCallCommon<Value *, Value *, Value *, Value *>(
367 uint64_t ID, uint32_t NumPatchBytes, Value *ActualCallee, uint32_t Flags,
369 ArrayRef<Use> DeoptArgs, ArrayRef<Value *> GCArgs, const Twine &Name) {
370 return CreateGCStatepointCallCommon<Use, Use, Use, Value *>(
376 uint64_t ID, uint32_t NumPatchBytes, Value *ActualCallee,
377 ArrayRef<Use> CallArgs, ArrayRef<Value *> DeoptArgs,
378 ArrayRef<Value *> GCArgs, const Twine &Name) {
379 return CreateGCStatepointCallCommon<Use, Value *, Value *, Value *>(
387 Value *ActualInvokee, BasicBlock *NormalDest, BasicBlock *UnwindDest,
393 "actual callee must be a callable value");
400 std::vector<llvm::Value *> Args =
408 uint64_t ID, uint32_t NumPatchBytes, Value *ActualInvokee,
410 ArrayRef<Value *> InvokeArgs, ArrayRef<Value *> DeoptArgs,
411 ArrayRef<Value *> GCArgs, const Twine &Name) {
412 return CreateGCStatepointInvokeCommon<Value *, Value *, Value *, Value *>(
419 uint64_t ID, uint32_t NumPatchBytes, Value *ActualInvokee,
422 ArrayRef<Use> DeoptArgs, ArrayRef<Value *> GCArgs, const Twine &Name) {
423 return CreateGCStatepointInvokeCommon<Use, Use, Use, Value *>(
429 uint64_t ID, uint32_t NumPatchBytes, Value *ActualInvokee,
431 ArrayRef<Value *> DeoptArgs, ArrayRef<Value *> GCArgs, const Twine &Name) {
432 return CreateGCStatepointInvokeCommon<Use, Value *, Value *, Value *>(
444 Value *FnGCResult = Intrinsic::getDeclaration(M, ID, Types);
446 Value *Args[] = {Statepoint};
457 Value *FnGCRelocate =
460 Value *Args[] = {Statepoint,