• Home
  • Raw
  • Download

Lines Matching refs:get

28   return ConstantInt::get(Type::getInt32Ty(VMContext), Tag | LLVMDebugVersion);  in GetTagConstant()
86 MDNode *EnumHolder = MDNode::get(VMContext, THElts); in createCompileUnit()
90 MDNode *RetainHolder = MDNode::get(VMContext, TRElts); in createCompileUnit()
94 MDNode *SPHolder = MDNode::get(VMContext, TSElts); in createCompileUnit()
98 MDNode *GVHolder = MDNode::get(VMContext, TVElts); in createCompileUnit()
103 ConstantInt::get(Type::getInt32Ty(VMContext), Lang), in createCompileUnit()
104 MDString::get(VMContext, Filename), in createCompileUnit()
105 MDString::get(VMContext, Directory), in createCompileUnit()
106 MDString::get(VMContext, Producer), in createCompileUnit()
108 ConstantInt::get(Type::getInt1Ty(VMContext), true), // isMain in createCompileUnit()
109 ConstantInt::get(Type::getInt1Ty(VMContext), isOptimized), in createCompileUnit()
110 MDString::get(VMContext, Flags), in createCompileUnit()
111 ConstantInt::get(Type::getInt32Ty(VMContext), RunTimeVer), in createCompileUnit()
117 TheCU = DICompileUnit(MDNode::get(VMContext, Elts)); in createCompileUnit()
131 MDString::get(VMContext, Filename), in createFile()
132 MDString::get(VMContext, Directory), in createFile()
135 return DIFile(MDNode::get(VMContext, Elts)); in createFile()
143 MDString::get(VMContext, Name), in createEnumerator()
144 ConstantInt::get(Type::getInt64Ty(VMContext), Val) in createEnumerator()
146 return DIEnumerator(MDNode::get(VMContext, Elts)); in createEnumerator()
157 MDString::get(VMContext, Name), in createNullPtrType()
159 ConstantInt::get(Type::getInt32Ty(VMContext), 0), // Line in createNullPtrType()
160 ConstantInt::get(Type::getInt64Ty(VMContext), 0), // Size in createNullPtrType()
161 ConstantInt::get(Type::getInt64Ty(VMContext), 0), // Align in createNullPtrType()
162 ConstantInt::get(Type::getInt64Ty(VMContext), 0), // Offset in createNullPtrType()
163 ConstantInt::get(Type::getInt32Ty(VMContext), 0), // Flags; in createNullPtrType()
164 ConstantInt::get(Type::getInt32Ty(VMContext), 0), // Encoding in createNullPtrType()
166 return DIType(MDNode::get(VMContext, Elts)); in createNullPtrType()
180 MDString::get(VMContext, Name), in createBasicType()
182 ConstantInt::get(Type::getInt32Ty(VMContext), 0), // Line in createBasicType()
183 ConstantInt::get(Type::getInt64Ty(VMContext), SizeInBits), in createBasicType()
184 ConstantInt::get(Type::getInt64Ty(VMContext), AlignInBits), in createBasicType()
185 ConstantInt::get(Type::getInt64Ty(VMContext), 0), // Offset in createBasicType()
186 ConstantInt::get(Type::getInt32Ty(VMContext), 0), // Flags; in createBasicType()
187 ConstantInt::get(Type::getInt32Ty(VMContext), Encoding) in createBasicType()
189 return DIType(MDNode::get(VMContext, Elts)); in createBasicType()
199 MDString::get(VMContext, StringRef()), // Empty name. in createQualifiedType()
201 ConstantInt::get(Type::getInt32Ty(VMContext), 0), // Line in createQualifiedType()
202 ConstantInt::get(Type::getInt64Ty(VMContext), 0), // Size in createQualifiedType()
203 ConstantInt::get(Type::getInt64Ty(VMContext), 0), // Align in createQualifiedType()
204 ConstantInt::get(Type::getInt64Ty(VMContext), 0), // Offset in createQualifiedType()
205 ConstantInt::get(Type::getInt32Ty(VMContext), 0), // Flags in createQualifiedType()
208 return DIType(MDNode::get(VMContext, Elts)); in createQualifiedType()
218 MDString::get(VMContext, Name), in createPointerType()
220 ConstantInt::get(Type::getInt32Ty(VMContext), 0), // Line in createPointerType()
221 ConstantInt::get(Type::getInt64Ty(VMContext), SizeInBits), in createPointerType()
222 ConstantInt::get(Type::getInt64Ty(VMContext), AlignInBits), in createPointerType()
223 ConstantInt::get(Type::getInt64Ty(VMContext), 0), // Offset in createPointerType()
224 ConstantInt::get(Type::getInt32Ty(VMContext), 0), // Flags in createPointerType()
227 return DIType(MDNode::get(VMContext, Elts)); in createPointerType()
239 ConstantInt::get(Type::getInt32Ty(VMContext), 0), // Line in createReferenceType()
240 ConstantInt::get(Type::getInt64Ty(VMContext), 0), // Size in createReferenceType()
241 ConstantInt::get(Type::getInt64Ty(VMContext), 0), // Align in createReferenceType()
242 ConstantInt::get(Type::getInt64Ty(VMContext), 0), // Offset in createReferenceType()
243 ConstantInt::get(Type::getInt32Ty(VMContext), 0), // Flags in createReferenceType()
246 return DIType(MDNode::get(VMContext, Elts)); in createReferenceType()
257 MDString::get(VMContext, Name), in createTypedef()
259 ConstantInt::get(Type::getInt32Ty(VMContext), LineNo), in createTypedef()
260 ConstantInt::get(Type::getInt64Ty(VMContext), 0), // Size in createTypedef()
261 ConstantInt::get(Type::getInt64Ty(VMContext), 0), // Align in createTypedef()
262 ConstantInt::get(Type::getInt64Ty(VMContext), 0), // Offset in createTypedef()
263 ConstantInt::get(Type::getInt32Ty(VMContext), 0), // Flags in createTypedef()
266 return DIType(MDNode::get(VMContext, Elts)); in createTypedef()
279 ConstantInt::get(Type::getInt32Ty(VMContext), 0), // Line in createFriend()
280 ConstantInt::get(Type::getInt64Ty(VMContext), 0), // Size in createFriend()
281 ConstantInt::get(Type::getInt64Ty(VMContext), 0), // Align in createFriend()
282 ConstantInt::get(Type::getInt64Ty(VMContext), 0), // Offset in createFriend()
283 ConstantInt::get(Type::getInt32Ty(VMContext), 0), // Flags in createFriend()
286 return DIType(MDNode::get(VMContext, Elts)); in createFriend()
300 ConstantInt::get(Type::getInt32Ty(VMContext), 0), // Line in createInheritance()
301 ConstantInt::get(Type::getInt64Ty(VMContext), 0), // Size in createInheritance()
302 ConstantInt::get(Type::getInt64Ty(VMContext), 0), // Align in createInheritance()
303 ConstantInt::get(Type::getInt64Ty(VMContext), BaseOffset), in createInheritance()
304 ConstantInt::get(Type::getInt32Ty(VMContext), Flags), in createInheritance()
307 return DIType(MDNode::get(VMContext, Elts)); in createInheritance()
320 MDString::get(VMContext, Name), in createMemberType()
322 ConstantInt::get(Type::getInt32Ty(VMContext), LineNumber), in createMemberType()
323 ConstantInt::get(Type::getInt64Ty(VMContext), SizeInBits), in createMemberType()
324 ConstantInt::get(Type::getInt64Ty(VMContext), AlignInBits), in createMemberType()
325 ConstantInt::get(Type::getInt64Ty(VMContext), OffsetInBits), in createMemberType()
326 ConstantInt::get(Type::getInt32Ty(VMContext), Flags), in createMemberType()
329 return DIType(MDNode::get(VMContext, Elts)); in createMemberType()
345 MDString::get(VMContext, Name), in createObjCIVar()
347 ConstantInt::get(Type::getInt32Ty(VMContext), LineNumber), in createObjCIVar()
348 ConstantInt::get(Type::getInt64Ty(VMContext), SizeInBits), in createObjCIVar()
349 ConstantInt::get(Type::getInt64Ty(VMContext), AlignInBits), in createObjCIVar()
350 ConstantInt::get(Type::getInt64Ty(VMContext), OffsetInBits), in createObjCIVar()
351 ConstantInt::get(Type::getInt32Ty(VMContext), Flags), in createObjCIVar()
353 MDString::get(VMContext, PropertyName), in createObjCIVar()
354 MDString::get(VMContext, GetterName), in createObjCIVar()
355 MDString::get(VMContext, SetterName), in createObjCIVar()
356 ConstantInt::get(Type::getInt32Ty(VMContext), PropertyAttributes) in createObjCIVar()
358 return DIType(MDNode::get(VMContext, Elts)); in createObjCIVar()
372 MDString::get(VMContext, Name), in createClassType()
374 ConstantInt::get(Type::getInt32Ty(VMContext), LineNumber), in createClassType()
375 ConstantInt::get(Type::getInt64Ty(VMContext), SizeInBits), in createClassType()
376 ConstantInt::get(Type::getInt64Ty(VMContext), AlignInBits), in createClassType()
377 ConstantInt::get(Type::getInt32Ty(VMContext), OffsetInBits), in createClassType()
378 ConstantInt::get(Type::getInt32Ty(VMContext), Flags), in createClassType()
381 ConstantInt::get(Type::getInt32Ty(VMContext), 0), in createClassType()
385 return DIType(MDNode::get(VMContext, Elts)); in createClassType()
397 MDString::get(VMContext, Name), in createTemplateTypeParameter()
400 ConstantInt::get(Type::getInt32Ty(VMContext), LineNo), in createTemplateTypeParameter()
401 ConstantInt::get(Type::getInt32Ty(VMContext), ColumnNo) in createTemplateTypeParameter()
403 return DITemplateTypeParameter(MDNode::get(VMContext, Elts)); in createTemplateTypeParameter()
416 MDString::get(VMContext, Name), in createTemplateValueParameter()
418 ConstantInt::get(Type::getInt64Ty(VMContext), Val), in createTemplateValueParameter()
420 ConstantInt::get(Type::getInt32Ty(VMContext), LineNo), in createTemplateValueParameter()
421 ConstantInt::get(Type::getInt32Ty(VMContext), ColumnNo) in createTemplateValueParameter()
423 return DITemplateValueParameter(MDNode::get(VMContext, Elts)); in createTemplateValueParameter()
436 MDString::get(VMContext, Name), in createStructType()
438 ConstantInt::get(Type::getInt32Ty(VMContext), LineNumber), in createStructType()
439 ConstantInt::get(Type::getInt64Ty(VMContext), SizeInBits), in createStructType()
440 ConstantInt::get(Type::getInt64Ty(VMContext), AlignInBits), in createStructType()
441 ConstantInt::get(Type::getInt32Ty(VMContext), 0), in createStructType()
442 ConstantInt::get(Type::getInt32Ty(VMContext), Flags), in createStructType()
445 ConstantInt::get(Type::getInt32Ty(VMContext), RunTimeLang), in createStructType()
448 return DIType(MDNode::get(VMContext, Elts)); in createStructType()
461 MDString::get(VMContext, Name), in createUnionType()
463 ConstantInt::get(Type::getInt32Ty(VMContext), LineNumber), in createUnionType()
464 ConstantInt::get(Type::getInt64Ty(VMContext), SizeInBits), in createUnionType()
465 ConstantInt::get(Type::getInt64Ty(VMContext), AlignInBits), in createUnionType()
466 ConstantInt::get(Type::getInt64Ty(VMContext), 0), in createUnionType()
467 ConstantInt::get(Type::getInt32Ty(VMContext), Flags), in createUnionType()
470 ConstantInt::get(Type::getInt32Ty(VMContext), RunTimeLang), in createUnionType()
473 return DIType(MDNode::get(VMContext, Elts)); in createUnionType()
482 MDString::get(VMContext, ""), in createSubroutineType()
484 ConstantInt::get(Type::getInt32Ty(VMContext), 0), in createSubroutineType()
485 ConstantInt::get(Type::getInt64Ty(VMContext), 0), in createSubroutineType()
486 ConstantInt::get(Type::getInt64Ty(VMContext), 0), in createSubroutineType()
487 ConstantInt::get(Type::getInt32Ty(VMContext), 0), in createSubroutineType()
488 ConstantInt::get(Type::getInt32Ty(VMContext), 0), in createSubroutineType()
491 ConstantInt::get(Type::getInt32Ty(VMContext), 0), in createSubroutineType()
494 return DIType(MDNode::get(VMContext, Elts)); in createSubroutineType()
508 MDString::get(VMContext, Name), in createEnumerationType()
510 ConstantInt::get(Type::getInt32Ty(VMContext), LineNumber), in createEnumerationType()
511 ConstantInt::get(Type::getInt64Ty(VMContext), SizeInBits), in createEnumerationType()
512 ConstantInt::get(Type::getInt64Ty(VMContext), AlignInBits), in createEnumerationType()
513 ConstantInt::get(Type::getInt32Ty(VMContext), 0), in createEnumerationType()
514 ConstantInt::get(Type::getInt32Ty(VMContext), 0), in createEnumerationType()
517 ConstantInt::get(Type::getInt32Ty(VMContext), 0), in createEnumerationType()
520 MDNode *Node = MDNode::get(VMContext, Elts); in createEnumerationType()
532 MDString::get(VMContext, ""), in createArrayType()
534 ConstantInt::get(Type::getInt32Ty(VMContext), 0), in createArrayType()
535 ConstantInt::get(Type::getInt64Ty(VMContext), Size), in createArrayType()
536 ConstantInt::get(Type::getInt64Ty(VMContext), AlignInBits), in createArrayType()
537 ConstantInt::get(Type::getInt32Ty(VMContext), 0), in createArrayType()
538 ConstantInt::get(Type::getInt32Ty(VMContext), 0), in createArrayType()
541 ConstantInt::get(Type::getInt32Ty(VMContext), 0), in createArrayType()
544 return DIType(MDNode::get(VMContext, Elts)); in createArrayType()
554 MDString::get(VMContext, ""), in createVectorType()
556 ConstantInt::get(Type::getInt32Ty(VMContext), 0), in createVectorType()
557 ConstantInt::get(Type::getInt64Ty(VMContext), Size), in createVectorType()
558 ConstantInt::get(Type::getInt64Ty(VMContext), AlignInBits), in createVectorType()
559 ConstantInt::get(Type::getInt32Ty(VMContext), 0), in createVectorType()
560 ConstantInt::get(Type::getInt32Ty(VMContext), 0), in createVectorType()
563 ConstantInt::get(Type::getInt32Ty(VMContext), 0), in createVectorType()
566 return DIType(MDNode::get(VMContext, Elts)); in createVectorType()
588 Elts[8] = ConstantInt::get(Type::getInt32Ty(VMContext), CurFlags); in createArtificialType()
590 return DIType(MDNode::get(VMContext, Elts)); in createArtificialType()
605 return DIDescriptor(MDNode::get(VMContext, Elts)); in createUnspecifiedParameter()
635 return DIArray(MDNode::get(VMContext, Null)); in getOrCreateArray()
637 return DIArray(MDNode::get(VMContext, Elements)); in getOrCreateArray()
645 ConstantInt::get(Type::getInt64Ty(VMContext), Lo), in getOrCreateSubrange()
646 ConstantInt::get(Type::getInt64Ty(VMContext), Hi) in getOrCreateSubrange()
649 return DISubrange(MDNode::get(VMContext, Elts)); in getOrCreateSubrange()
660 MDString::get(VMContext, Name), in createGlobalVariable()
661 MDString::get(VMContext, Name), in createGlobalVariable()
662 MDString::get(VMContext, Name), in createGlobalVariable()
664 ConstantInt::get(Type::getInt32Ty(VMContext), LineNumber), in createGlobalVariable()
666 ConstantInt::get(Type::getInt32Ty(VMContext), isLocalToUnit), in createGlobalVariable()
667 ConstantInt::get(Type::getInt32Ty(VMContext), 1), /* isDefinition*/ in createGlobalVariable()
670 MDNode *Node = MDNode::get(VMContext, Elts); in createGlobalVariable()
685 MDString::get(VMContext, Name), in createStaticVariable()
686 MDString::get(VMContext, Name), in createStaticVariable()
687 MDString::get(VMContext, LinkageName), in createStaticVariable()
689 ConstantInt::get(Type::getInt32Ty(VMContext), LineNumber), in createStaticVariable()
691 ConstantInt::get(Type::getInt32Ty(VMContext), isLocalToUnit), in createStaticVariable()
692 ConstantInt::get(Type::getInt32Ty(VMContext), 1), /* isDefinition*/ in createStaticVariable()
695 MDNode *Node = MDNode::get(VMContext, Elts); in createStaticVariable()
709 MDString::get(VMContext, Name), in createLocalVariable()
711 ConstantInt::get(Type::getInt32Ty(VMContext), (LineNo | (ArgNo << 24))), in createLocalVariable()
713 ConstantInt::get(Type::getInt32Ty(VMContext), Flags), in createLocalVariable()
716 MDNode *Node = MDNode::get(VMContext, Elts); in createLocalVariable()
738 Elts.push_back(MDString::get(VMContext, Name)); in createComplexVariable()
740 Elts.push_back(ConstantInt::get(Type::getInt32Ty(VMContext), in createComplexVariable()
747 return DIVariable(MDNode::get(VMContext, Elts)); in createComplexVariable()
764 MDNode *THolder = MDNode::get(VMContext, TVElts); in createFunction()
770 MDString::get(VMContext, Name), in createFunction()
771 MDString::get(VMContext, Name), in createFunction()
772 MDString::get(VMContext, LinkageName), in createFunction()
774 ConstantInt::get(Type::getInt32Ty(VMContext), LineNo), in createFunction()
776 ConstantInt::get(Type::getInt1Ty(VMContext), isLocalToUnit), in createFunction()
777 ConstantInt::get(Type::getInt1Ty(VMContext), isDefinition), in createFunction()
778 ConstantInt::get(Type::getInt32Ty(VMContext), 0), in createFunction()
779 ConstantInt::get(Type::getInt32Ty(VMContext), 0), in createFunction()
781 ConstantInt::get(Type::getInt32Ty(VMContext), Flags), in createFunction()
782 ConstantInt::get(Type::getInt1Ty(VMContext), isOptimized), in createFunction()
788 MDNode *Node = MDNode::get(VMContext, Elts); in createFunction()
812 MDNode *THolder = MDNode::get(VMContext, TVElts); in createMethod()
818 MDString::get(VMContext, Name), in createMethod()
819 MDString::get(VMContext, Name), in createMethod()
820 MDString::get(VMContext, LinkageName), in createMethod()
822 ConstantInt::get(Type::getInt32Ty(VMContext), LineNo), in createMethod()
824 ConstantInt::get(Type::getInt1Ty(VMContext), isLocalToUnit), in createMethod()
825 ConstantInt::get(Type::getInt1Ty(VMContext), isDefinition), in createMethod()
826 ConstantInt::get(Type::getInt32Ty(VMContext), (unsigned)VK), in createMethod()
827 ConstantInt::get(Type::getInt32Ty(VMContext), VIndex), in createMethod()
829 ConstantInt::get(Type::getInt32Ty(VMContext), Flags), in createMethod()
830 ConstantInt::get(Type::getInt1Ty(VMContext), isOptimized), in createMethod()
836 MDNode *Node = MDNode::get(VMContext, Elts); in createMethod()
847 MDString::get(VMContext, Name), in createNameSpace()
849 ConstantInt::get(Type::getInt32Ty(VMContext), LineNo) in createNameSpace()
851 return DINameSpace(MDNode::get(VMContext, Elts)); in createNameSpace()
863 return DILexicalBlockFile(MDNode::get(VMContext, Elts)); in createLexicalBlockFile()
873 ConstantInt::get(Type::getInt32Ty(VMContext), Line), in createLexicalBlock()
874 ConstantInt::get(Type::getInt32Ty(VMContext), Col), in createLexicalBlock()
876 ConstantInt::get(Type::getInt32Ty(VMContext), unique_id++) in createLexicalBlock()
878 return DILexicalBlock(MDNode::get(VMContext, Elts)); in createLexicalBlock()
889 Value *Args[] = { MDNode::get(Storage->getContext(), Storage), VarInfo }; in insertDeclare()
901 Value *Args[] = { MDNode::get(Storage->getContext(), Storage), VarInfo }; in insertDeclare()
920 Value *Args[] = { MDNode::get(V->getContext(), V), in insertDbgValueIntrinsic()
921 ConstantInt::get(Type::getInt64Ty(V->getContext()), Offset), in insertDbgValueIntrinsic()
935 Value *Args[] = { MDNode::get(V->getContext(), V), in insertDbgValueIntrinsic()
936 ConstantInt::get(Type::getInt64Ty(V->getContext()), Offset), in insertDbgValueIntrinsic()