Searched refs:MDHelper (Results 1 – 6 of 6) sorted by relevance
/external/llvm/unittests/IR/ |
D | MDBuilderTest.cpp | 26 MDBuilder MDHelper(Context); in TEST_F() local 27 MDString *Str0 = MDHelper.createString(""); in TEST_F() 28 MDString *Str1 = MDHelper.createString("string"); in TEST_F() 33 MDBuilder MDHelper(Context); in TEST_F() local 34 MDNode *MD0 = MDHelper.createFPMath(0.0); in TEST_F() 35 MDNode *MD1 = MDHelper.createFPMath(1.0); in TEST_F() 46 MDBuilder MDHelper(Context); in TEST_F() local 48 MDNode *R0 = MDHelper.createRange(A, A); in TEST_F() 49 MDNode *R1 = MDHelper.createRange(A, B); in TEST_F() 61 MDBuilder MDHelper(Context); in TEST_F() local [all …]
|
D | InstructionsTest.cpp | 394 MDBuilder MDHelper(Context); in TEST() local 396 MDNode *MD1 = MDHelper.createFPMath(1.0); in TEST()
|
/external/clang/lib/CodeGen/ |
D | CodeGenTBAA.cpp | 36 MDHelper(VMContext), Root(nullptr), Char(nullptr) { in CodeGenTBAA() 48 Root = MDHelper.createTBAARoot("Simple C/C++ TBAA"); in getRoot() 57 return MDHelper.createTBAAScalarTypeNode(Name, Parent); in createTBAAScalarType() 221 return MDHelper.createTBAAStructNode(Fields); in getTBAAStructInfo() 280 MDHelper.createTBAAStructTypeNode(OutName, Fields); in getTBAAStructTypeInfo() 306 MDHelper.createTBAAStructTagNode(AccessNode, AccessNode, 0); in getTBAAStructTagInfo() 309 MDHelper.createTBAAStructTagNode(BNode, AccessNode, Offset); in getTBAAStructTagInfo() 320 MDHelper.createTBAAStructTagNode(AccessNode, AccessNode, 0); in getTBAAScalarTagInfo()
|
D | CodeGenTBAA.h | 55 llvm::MDBuilder MDHelper; variable
|
D | CodeGenPGO.cpp | 971 llvm::MDBuilder MDHelper(CGM.getLLVMContext()); in createBranchWeights() local 972 return MDHelper.createBranchWeights(scaleBranchWeight(TrueCount, Scale), in createBranchWeights() 994 llvm::MDBuilder MDHelper(CGM.getLLVMContext()); in createBranchWeights() local 995 return MDHelper.createBranchWeights(ScaledWeights); in createBranchWeights()
|
D | CGExpr.cpp | 1058 llvm::MDBuilder MDHelper(getLLVMContext()); in getRangeForLoadFromType() local 1059 return MDHelper.createRange(Min, End); in getRangeForLoadFromType() 2197 llvm::MDBuilder MDHelper(getLLVMContext()); in EmitCheck() local 2198 llvm::MDNode *Node = MDHelper.createBranchWeights((1U << 20) - 1, 1); in EmitCheck() 3345 llvm::MDBuilder MDHelper(getLLVMContext()); in SetFPAccuracy() local 3346 llvm::MDNode *Node = MDHelper.createFPMath(Accuracy); in SetFPAccuracy()
|