Searched refs:CodeGenIntrinsic (Results 1 – 12 of 12) sorted by relevance
/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/llvm-project/llvm/utils/TableGen/ |
D | IntrinsicEmitter.cpp | 445 static void ComputeFixedEncoding(const CodeGenIntrinsic &Int, in ComputeFixedEncoding() 577 bool operator()(const CodeGenIntrinsic *L, const CodeGenIntrinsic *R) const { in operator ()() 610 CodeGenIntrinsic::ModRefBehavior LK = L->ModRef; in operator ()() 611 CodeGenIntrinsic::ModRefBehavior RK = R->ModRef; in operator ()() 628 typedef std::map<const CodeGenIntrinsic*, unsigned, in EmitAttributes() 634 const CodeGenIntrinsic &intrinsic = Ints[i]; in EmitAttributes() 648 const CodeGenIntrinsic &intrinsic = Ints[i]; in EmitAttributes() 664 const CodeGenIntrinsic &intrinsic = *(I->first); in EmitAttributes() 682 case CodeGenIntrinsic::NoCapture: in EmitAttributes() 688 case CodeGenIntrinsic::NoAlias: in EmitAttributes() [all …]
|
D | CodeGenIntrinsics.h | 26 struct CodeGenIntrinsic { struct 196 CodeGenIntrinsic(Record *R, std::vector<Record *> DefaultProperties); argument 200 std::vector<CodeGenIntrinsic> Intrinsics; 215 CodeGenIntrinsic &operator[](size_t Pos) { return Intrinsics[Pos]; } 216 const CodeGenIntrinsic &operator[](size_t Pos) const {
|
D | CodeGenTarget.cpp | 631 Intrinsics.push_back(CodeGenIntrinsic(Defs[I], DefaultProperties)); in CodeGenIntrinsicTable() 634 [](const CodeGenIntrinsic &LHS, const CodeGenIntrinsic &RHS) { in CodeGenIntrinsicTable() 647 CodeGenIntrinsic::CodeGenIntrinsic(Record *R, in CodeGenIntrinsic() function in CodeGenIntrinsic 814 void CodeGenIntrinsic::setDefaultProperties( in setDefaultProperties() 824 void CodeGenIntrinsic::setProperty(Record *R) { in setProperty() 892 bool CodeGenIntrinsic::isParamAPointer(unsigned ParamIdx) const { in isParamAPointer() 899 bool CodeGenIntrinsic::isParamImmArg(unsigned ParamIdx) const { in isParamImmArg()
|
D | SearchableTableEmitter.cpp | 94 DenseMap<Init *, std::unique_ptr<CodeGenIntrinsic>> Intrinsics; 145 CodeGenIntrinsic &getIntrinsic(Init *I) { in getIntrinsic() 146 std::unique_ptr<CodeGenIntrinsic> &Intr = Intrinsics[I]; in getIntrinsic() 148 Intr = std::make_unique<CodeGenIntrinsic>(cast<DefInit>(I)->getDef(), in getIntrinsic() 236 CodeGenIntrinsic &LHSi = getIntrinsic(LHSI); in compareBy() 237 CodeGenIntrinsic &RHSi = getIntrinsic(RHSI); in compareBy()
|
D | CodeGenDAGPatterns.h | 767 const CodeGenIntrinsic *getIntrinsicInfo(const CodeGenDAGPatterns &CDP) const; 1201 const CodeGenIntrinsic &getIntrinsic(Record *R) const { in getIntrinsic() 1207 const CodeGenIntrinsic &getIntrinsicInfo(unsigned IID) const { in getIntrinsicInfo()
|
D | CodeGenDAGPatterns.cpp | 2238 const CodeGenIntrinsic *TreePatternNode:: 2300 if (const CodeGenIntrinsic *Int = getIntrinsicInfo(CGP)) in NodeHasProperty() 2329 if (const CodeGenIntrinsic *Int = getIntrinsicInfo(CDP)) in isCommutativeIntrinsic() 2414 if (const CodeGenIntrinsic *Int = getIntrinsicInfo(CDP)) { in ApplyTypeConstraints() 2865 const CodeGenIntrinsic &Int = getDAGPatterns().getIntrinsic(Operator); in ParseTreePattern() 2872 else if (Int.ModRef != CodeGenIntrinsic::NoMem || Int.hasSideEffects) in ParseTreePattern() 3506 if (const CodeGenIntrinsic *IntInfo = N->getIntrinsicInfo(CDP)) { in AnalyzeNode() 3508 if (IntInfo->ModRef & CodeGenIntrinsic::MR_Ref) in AnalyzeNode() 3511 if (IntInfo->ModRef & CodeGenIntrinsic::MR_Mod) in AnalyzeNode() 3514 if (IntInfo->ModRef >= CodeGenIntrinsic::ReadWriteMem || in AnalyzeNode()
|
D | GlobalISelEmitter.cpp | 1539 const CodeGenIntrinsic *II; 1543 const CodeGenIntrinsic *II) in IntrinsicIDOperandMatcher() 4037 const CodeGenIntrinsic *II = Src->getIntrinsicInfo(CGP); in createAndImportSelDAGMatcher()
|