[IR] Add ConstraintInfo::hasArg() helper (NFC)
authorNikita Popov <npopov@redhat.com>
Fri, 7 Jan 2022 09:37:26 +0000 (10:37 +0100)
committerNikita Popov <npopov@redhat.com>
Fri, 7 Jan 2022 09:44:38 +0000 (10:44 +0100)
commite4d1779990672f8c1c7a2b6b8c6efd73c95ce5ac
tree74a0a344e41e546ea8f7fd68de48ed1eb1246b49
parentc033f0d9b1c7816b0488a939475d48a100e4dcab
[IR] Add ConstraintInfo::hasArg() helper (NFC)

Checking whether a constraint corresponds to an argument is a
recurring pattern.
llvm/include/llvm/IR/InlineAsm.h
llvm/lib/Bitcode/Reader/BitcodeReader.cpp
llvm/lib/CodeGen/GlobalISel/InlineAsmLowering.cpp
llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
llvm/lib/IR/Verifier.cpp