/external/swiftshader/third_party/LLVM/utils/TableGen/ |
D | IntrinsicEmitter.h | 34 void EmitEnumInfo(const std::vector<CodeGenIntrinsic> &Ints, 37 void EmitFnNameRecognizer(const std::vector<CodeGenIntrinsic> &Ints, 39 void EmitIntrinsicToNameTable(const std::vector<CodeGenIntrinsic> &Ints, 41 void EmitIntrinsicToOverloadTable(const std::vector<CodeGenIntrinsic> &Ints, 43 void EmitVerifier(const std::vector<CodeGenIntrinsic> &Ints, 45 void EmitGenerator(const std::vector<CodeGenIntrinsic> &Ints, 47 void EmitAttributes(const std::vector<CodeGenIntrinsic> &Ints, 49 void EmitModRefBehavior(const std::vector<CodeGenIntrinsic> &Ints, 51 void EmitGCCBuiltinList(const std::vector<CodeGenIntrinsic> &Ints, 53 void EmitIntrinsicToGCCBuiltinMap(const std::vector<CodeGenIntrinsic> &Ints,
|
D | IntrinsicEmitter.cpp | 29 std::vector<CodeGenIntrinsic> Ints = LoadIntrinsics(Records, TargetOnly); in run() 87 void IntrinsicEmitter::EmitEnumInfo(const std::vector<CodeGenIntrinsic> &Ints, in EmitEnumInfo() 101 EmitFnNameRecognizer(const std::vector<CodeGenIntrinsic> &Ints, in EmitFnNameRecognizer() 150 EmitIntrinsicToNameTable(const std::vector<CodeGenIntrinsic> &Ints, in EmitIntrinsicToNameTable() 161 EmitIntrinsicToOverloadTable(const std::vector<CodeGenIntrinsic> &Ints, in EmitIntrinsicToOverloadTable() 316 void IntrinsicEmitter::EmitVerifier(const std::vector<CodeGenIntrinsic> &Ints, in EmitVerifier() 412 void IntrinsicEmitter::EmitGenerator(const std::vector<CodeGenIntrinsic> &Ints, in EmitGenerator() 475 ModRefKind getModRefKind(const CodeGenIntrinsic &intrinsic) { in getModRefKind() 477 case CodeGenIntrinsic::NoMem: in getModRefKind() 479 case CodeGenIntrinsic::ReadArgMem: in getModRefKind() [all …]
|
D | CodeGenIntrinsics.h | 26 struct CodeGenIntrinsic { struct 81 CodeGenIntrinsic(Record *R); argument 86 std::vector<CodeGenIntrinsic> LoadIntrinsics(const RecordKeeper &RC,
|
D | CodeGenTarget.cpp | 346 std::vector<CodeGenIntrinsic> llvm::LoadIntrinsics(const RecordKeeper &RC, in LoadIntrinsics() 350 std::vector<CodeGenIntrinsic> Result; in LoadIntrinsics() 355 Result.push_back(CodeGenIntrinsic(I[i])); in LoadIntrinsics() 360 CodeGenIntrinsic::CodeGenIntrinsic(Record *R) { in CodeGenIntrinsic() function in CodeGenIntrinsic
|
D | CodeGenDAGPatterns.h | 399 const CodeGenIntrinsic *getIntrinsicInfo(const CodeGenDAGPatterns &CDP) const; 671 std::vector<CodeGenIntrinsic> Intrinsics; 672 std::vector<CodeGenIntrinsic> TgtIntrinsics; 721 const CodeGenIntrinsic &getIntrinsic(Record *R) const { in getIntrinsic() 730 const CodeGenIntrinsic &getIntrinsicInfo(unsigned IID) const { in getIntrinsicInfo()
|
D | CodeGenDAGPatterns.cpp | 1314 const CodeGenIntrinsic *TreePatternNode:: 1372 if (const CodeGenIntrinsic *Int = getIntrinsicInfo(CDP)) in isCommutativeIntrinsic() 1478 if (const CodeGenIntrinsic *Int = getIntrinsicInfo(CDP)) { in ApplyTypeConstraints() 1851 const CodeGenIntrinsic &Int = getDAGPatterns().getIntrinsic(Operator); in ParseTreePattern() 1858 else if (Int.ModRef != CodeGenIntrinsic::NoMem) in ParseTreePattern() 2454 if (const CodeGenIntrinsic *IntInfo = N->getIntrinsicInfo(CDP)) { in AnalyzeNode() 2456 if (IntInfo->ModRef >= CodeGenIntrinsic::ReadArgMem) in AnalyzeNode() 2459 if (IntInfo->ModRef >= CodeGenIntrinsic::ReadWriteArgMem) in AnalyzeNode() 2462 if (IntInfo->ModRef >= CodeGenIntrinsic::ReadWriteMem) in AnalyzeNode()
|
/external/llvm/utils/TableGen/ |
D | IntrinsicEmitter.cpp | 41 void EmitEnumInfo(const std::vector<CodeGenIntrinsic> &Ints, 44 void EmitIntrinsicToNameTable(const std::vector<CodeGenIntrinsic> &Ints, 46 void EmitIntrinsicToOverloadTable(const std::vector<CodeGenIntrinsic> &Ints, 48 void EmitGenerator(const std::vector<CodeGenIntrinsic> &Ints, 50 void EmitAttributes(const std::vector<CodeGenIntrinsic> &Ints, 52 void EmitIntrinsicToBuiltinMap(const std::vector<CodeGenIntrinsic> &Ints, 65 std::vector<CodeGenIntrinsic> Ints = LoadIntrinsics(Records, TargetOnly); in run() 117 void IntrinsicEmitter::EmitEnumInfo(const std::vector<CodeGenIntrinsic> &Ints, in EmitEnumInfo() 132 EmitIntrinsicToNameTable(const std::vector<CodeGenIntrinsic> &Ints, in EmitIntrinsicToNameTable() 143 EmitIntrinsicToOverloadTable(const std::vector<CodeGenIntrinsic> &Ints, in EmitIntrinsicToOverloadTable() [all …]
|
D | CodeGenIntrinsics.h | 26 struct CodeGenIntrinsic { struct 114 CodeGenIntrinsic(Record *R); argument 118 std::vector<CodeGenIntrinsic> LoadIntrinsics(const RecordKeeper &RC,
|
D | CodeGenTarget.cpp | 429 std::vector<CodeGenIntrinsic> llvm::LoadIntrinsics(const RecordKeeper &RC, in LoadIntrinsics() 433 std::vector<CodeGenIntrinsic> Result; in LoadIntrinsics() 439 Result.push_back(CodeGenIntrinsic(Defs[I])); in LoadIntrinsics() 442 [](const CodeGenIntrinsic& LHS, const CodeGenIntrinsic& RHS) { in LoadIntrinsics() 448 CodeGenIntrinsic::CodeGenIntrinsic(Record *R) { in CodeGenIntrinsic() function in CodeGenIntrinsic
|
D | CodeGenDAGPatterns.h | 425 const CodeGenIntrinsic *getIntrinsicInfo(const CodeGenDAGPatterns &CDP) const; 719 std::vector<CodeGenIntrinsic> Intrinsics; 720 std::vector<CodeGenIntrinsic> TgtIntrinsics; 769 const CodeGenIntrinsic &getIntrinsic(Record *R) const { in getIntrinsic() 777 const CodeGenIntrinsic &getIntrinsicInfo(unsigned IID) const { in getIntrinsicInfo()
|
D | CodeGenDAGPatterns.cpp | 1583 const CodeGenIntrinsic *TreePatternNode:: 1665 if (const CodeGenIntrinsic *Int = getIntrinsicInfo(CDP)) in isCommutativeIntrinsic() 1774 if (const CodeGenIntrinsic *Int = getIntrinsicInfo(CDP)) { in ApplyTypeConstraints() 2207 const CodeGenIntrinsic &Int = getDAGPatterns().getIntrinsic(Operator); in ParseTreePattern() 2214 else if (Int.ModRef != CodeGenIntrinsic::NoMem) in ParseTreePattern() 2817 if (const CodeGenIntrinsic *IntInfo = N->getIntrinsicInfo(CDP)) { in AnalyzeNode() 2819 if (IntInfo->ModRef & CodeGenIntrinsic::MR_Ref) in AnalyzeNode() 2822 if (IntInfo->ModRef & CodeGenIntrinsic::MR_Mod) in AnalyzeNode() 2825 if (IntInfo->ModRef >= CodeGenIntrinsic::ReadWriteMem) in AnalyzeNode()
|
/external/swiftshader/third_party/llvm-7.0/llvm/utils/TableGen/ |
D | IntrinsicEmitter.cpp | 363 static void ComputeFixedEncoding(const CodeGenIntrinsic &Int, in ComputeFixedEncoding() 481 bool operator()(const CodeGenIntrinsic *L, const CodeGenIntrinsic *R) const { in operator ()() 502 CodeGenIntrinsic::ModRefBehavior LK = L->ModRef; in operator ()() 503 CodeGenIntrinsic::ModRefBehavior RK = R->ModRef; in operator ()() 525 typedef std::map<const CodeGenIntrinsic*, unsigned, in EmitAttributes() 531 const CodeGenIntrinsic &intrinsic = Ints[i]; in EmitAttributes() 545 const CodeGenIntrinsic &intrinsic = Ints[i]; in EmitAttributes() 566 const CodeGenIntrinsic &intrinsic = *(I->first); in EmitAttributes() 583 case CodeGenIntrinsic::NoCapture: in EmitAttributes() 589 case CodeGenIntrinsic::Returned: in EmitAttributes() [all …]
|
D | CodeGenIntrinsics.h | 27 struct CodeGenIntrinsic { struct 144 CodeGenIntrinsic(Record *R); argument 148 std::vector<CodeGenIntrinsic> Intrinsics; 163 CodeGenIntrinsic &operator[](size_t Pos) { return Intrinsics[Pos]; } 164 const CodeGenIntrinsic &operator[](size_t Pos) const {
|
D | SearchableTableEmitter.cpp | 91 DenseMap<Init *, std::unique_ptr<CodeGenIntrinsic>> Intrinsics; 135 CodeGenIntrinsic &getIntrinsic(Init *I) { in getIntrinsic() 136 std::unique_ptr<CodeGenIntrinsic> &Intr = Intrinsics[I]; in getIntrinsic() 138 Intr = make_unique<CodeGenIntrinsic>(cast<DefInit>(I)->getDef()); in getIntrinsic() 225 CodeGenIntrinsic &LHSi = getIntrinsic(LHSI); in compareBy() 226 CodeGenIntrinsic &RHSi = getIntrinsic(RHSI); in compareBy()
|
D | CodeGenTarget.cpp | 514 Intrinsics.push_back(CodeGenIntrinsic(Defs[I])); in CodeGenIntrinsicTable() 517 [](const CodeGenIntrinsic &LHS, const CodeGenIntrinsic &RHS) { in CodeGenIntrinsicTable() 530 CodeGenIntrinsic::CodeGenIntrinsic(Record *R) { in CodeGenIntrinsic() function in CodeGenIntrinsic
|
D | CodeGenDAGPatterns.h | 685 const CodeGenIntrinsic *getIntrinsicInfo(const CodeGenDAGPatterns &CDP) const; 1120 const CodeGenIntrinsic &getIntrinsic(Record *R) const { in getIntrinsic() 1128 const CodeGenIntrinsic &getIntrinsicInfo(unsigned IID) const { in getIntrinsicInfo()
|
D | CodeGenDAGPatterns.cpp | 2099 const CodeGenIntrinsic *TreePatternNode:: 2161 if (const CodeGenIntrinsic *Int = getIntrinsicInfo(CGP)) in NodeHasProperty() 2190 if (const CodeGenIntrinsic *Int = getIntrinsicInfo(CDP)) in isCommutativeIntrinsic() 2275 if (const CodeGenIntrinsic *Int = getIntrinsicInfo(CDP)) { in ApplyTypeConstraints() 2707 const CodeGenIntrinsic &Int = getDAGPatterns().getIntrinsic(Operator); in ParseTreePattern() 2714 else if (Int.ModRef != CodeGenIntrinsic::NoMem) in ParseTreePattern() 3347 if (const CodeGenIntrinsic *IntInfo = N->getIntrinsicInfo(CDP)) { in AnalyzeNode() 3349 if (IntInfo->ModRef & CodeGenIntrinsic::MR_Ref) in AnalyzeNode() 3352 if (IntInfo->ModRef & CodeGenIntrinsic::MR_Mod) in AnalyzeNode() 3355 if (IntInfo->ModRef >= CodeGenIntrinsic::ReadWriteMem || in AnalyzeNode()
|
D | GlobalISelEmitter.cpp | 1354 const CodeGenIntrinsic *II; 1358 const CodeGenIntrinsic *II) in IntrinsicIDOperandMatcher() 3354 if (const CodeGenIntrinsic *II = Src->getIntrinsicInfo(CGP)) { in createAndImportSelDAGMatcher()
|