Lines Matching refs:Ops
77 SmallVector<Metadata *, 8> Ops; in createFunctionEntryCount() local
79 Ops.push_back(createString("synthetic_function_entry_count")); in createFunctionEntryCount()
81 Ops.push_back(createString("function_entry_count")); in createFunctionEntryCount()
82 Ops.push_back(createConstant(ConstantInt::get(Int64Ty, Count))); in createFunctionEntryCount()
87 Ops.push_back(createConstant(ConstantInt::get(Int64Ty, ID))); in createFunctionEntryCount()
89 return MDNode::get(Context, Ops); in createFunctionEntryCount()
114 SmallVector<Metadata *, 4> Ops; in createCallees() local
116 Ops.push_back(createConstant(F)); in createCallees()
117 return MDNode::get(Context, Ops); in createCallees()
123 SmallVector<Metadata *, 4> Ops; in createCallbackEncoding() local
126 Ops.push_back(createConstant(ConstantInt::get(Int64, CalleeArgNo))); in createCallbackEncoding()
129 Ops.push_back(createConstant(ConstantInt::get(Int64, ArgNo, true))); in createCallbackEncoding()
132 Ops.push_back(createConstant(ConstantInt::get(Int1, VarArgArePassed))); in createCallbackEncoding()
134 return MDNode::get(Context, Ops); in createCallbackEncoding()
147 SmallVector<Metadata *, 4> Ops; in mergeCallbackEncodings() local
149 Ops.resize(NumExistingOps + 1); in mergeCallbackEncodings()
152 Ops[u] = ExistingCallbacks->getOperand(u); in mergeCallbackEncodings()
155 cast<ConstantAsMetadata>(cast<MDNode>(Ops[u])->getOperand(0)); in mergeCallbackEncodings()
163 Ops[NumExistingOps] = NewCB; in mergeCallbackEncodings()
164 return MDNode::get(Context, Ops); in mergeCallbackEncodings()
169 SmallVector<Metadata *, 4> Ops; in createRTTIPointerPrologue() local
170 Ops.push_back(createConstant(PrologueSig)); in createRTTIPointerPrologue()
171 Ops.push_back(createConstant(RTTI)); in createRTTIPointerPrologue()
172 return MDNode::get(Context, Ops); in createRTTIPointerPrologue()
176 SmallVector<Metadata *, 2> Ops; in createPCSections() local
180 Ops.push_back(createString(Sec)); in createPCSections()
189 Ops.push_back(MDNode::get(Context, AuxMDs)); in createPCSections()
193 return MDNode::get(Context, Ops); in createPCSections()
255 SmallVector<Metadata *, 4> Ops(Fields.size() * 2 + 1); in createTBAAStructTypeNode() local
257 Ops[0] = createString(Name); in createTBAAStructTypeNode()
259 Ops[i * 2 + 1] = Fields[i].first; in createTBAAStructTypeNode()
260 Ops[i * 2 + 2] = createConstant(ConstantInt::get(Int64, Fields[i].second)); in createTBAAStructTypeNode()
262 return MDNode::get(Context, Ops); in createTBAAStructTypeNode()
290 SmallVector<Metadata *, 4> Ops(3 + Fields.size() * 3); in createTBAATypeNode() local
292 Ops[0] = Parent; in createTBAATypeNode()
293 Ops[1] = createConstant(ConstantInt::get(Int64, Size)); in createTBAATypeNode()
294 Ops[2] = Id; in createTBAATypeNode()
296 Ops[I * 3 + 3] = Fields[I].Type; in createTBAATypeNode()
297 Ops[I * 3 + 4] = createConstant(ConstantInt::get(Int64, Fields[I].Offset)); in createTBAATypeNode()
298 Ops[I * 3 + 5] = createConstant(ConstantInt::get(Int64, Fields[I].Size)); in createTBAATypeNode()
300 return MDNode::get(Context, Ops); in createTBAATypeNode()
355 SmallVector<Metadata *, 3> Ops(3); in createPseudoProbeDesc() local
356 Ops[0] = createConstant(ConstantInt::get(Int64Ty, GUID)); in createPseudoProbeDesc()
357 Ops[1] = createConstant(ConstantInt::get(Int64Ty, Hash)); in createPseudoProbeDesc()
358 Ops[2] = createString(FName); in createPseudoProbeDesc()
359 return MDNode::get(Context, Ops); in createPseudoProbeDesc()
365 SmallVector<Metadata *, 4> Ops(LLVMStats.size() * 2); in createLLVMStats() local
367 Ops[I * 2] = createString(LLVMStats[I].first); in createLLVMStats()
368 Ops[I * 2 + 1] = in createLLVMStats()
371 return MDNode::get(Context, Ops); in createLLVMStats()