Home
last modified time | relevance | path

Searched refs:MDHelper (Results 1 – 5 of 5) sorted by relevance

/external/llvm/unittests/IR/
DMDBuilderTest.cpp25 MDBuilder MDHelper(Context); in TEST_F() local
26 MDString *Str0 = MDHelper.createString(""); in TEST_F()
27 MDString *Str1 = MDHelper.createString("string"); in TEST_F()
32 MDBuilder MDHelper(Context); in TEST_F() local
33 MDNode *MD0 = MDHelper.createFPMath(0.0); in TEST_F()
34 MDNode *MD1 = MDHelper.createFPMath(1.0); in TEST_F()
45 MDBuilder MDHelper(Context); in TEST_F() local
47 MDNode *R0 = MDHelper.createRange(A, A); in TEST_F()
48 MDNode *R1 = MDHelper.createRange(A, B); in TEST_F()
60 MDBuilder MDHelper(Context); in TEST_F() local
[all …]
DInstructionsTest.cpp243 MDBuilder MDHelper(Context); in TEST() local
245 MDNode *MD1 = MDHelper.createFPMath(1.0); in TEST()
/external/clang/lib/CodeGen/
DCodeGenTBAA.cpp35 MDHelper(VMContext), Root(0), Char(0) { in CodeGenTBAA()
47 Root = MDHelper.createTBAARoot("Simple C/C++ TBAA"); in getRoot()
58 Char = MDHelper.createTBAANode("omnipotent char", getRoot()); in getChar()
126 MDHelper.createTBAANode(BTy->getName(Features), getChar()); in getTBAAInfo()
134 return MetadataCache[Ty] = MDHelper.createTBAANode("any pointer", in getTBAAInfo()
162 return MetadataCache[Ty] = MDHelper.createTBAANode(OutName, getChar()); in getTBAAInfo()
170 return MDHelper.createTBAANode("vtable pointer", getRoot()); in getTBAAInfoForVTablePtr()
223 return MDHelper.createTBAAStructNode(Fields); in getTBAAStructInfo()
DCodeGenTBAA.h47 llvm::MDBuilder MDHelper; variable
DCGExpr.cpp1103 llvm::MDBuilder MDHelper(getLLVMContext()); in getRangeForLoadFromType() local
1104 return MDHelper.createRange(Min, End); in getRangeForLoadFromType()
2139 llvm::MDBuilder MDHelper(getLLVMContext()); in EmitCheck() local
2140 llvm::MDNode *Node = MDHelper.createBranchWeights((1U << 20) - 1, 1); in EmitCheck()
3199 llvm::MDBuilder MDHelper(getLLVMContext()); in SetFPAccuracy() local
3200 llvm::MDNode *Node = MDHelper.createFPMath(Accuracy); in SetFPAccuracy()