Skip to content

Commit e659183

Browse files
committed
[IR][NFC] Cleanup CmpInst signatures / code docs
1 parent b3fe27f commit e659183

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

llvm/include/llvm/IR/InstrTypes.h

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1038,31 +1038,31 @@ class CmpInst : public Instruction {
10381038
/// the two operands. Insert the instruction into a BasicBlock right before
10391039
/// the specified instruction.
10401040
/// Create a CmpInst
1041-
static CmpInst *Create(OtherOps Op, Predicate predicate, Value *S1, Value *S2,
1041+
static CmpInst *Create(OtherOps Op, Predicate Pred, Value *S1, Value *S2,
10421042
const Twine &Name, BasicBlock::iterator InsertBefore);
10431043

10441044
/// Construct a compare instruction, given the opcode, the predicate and
10451045
/// the two operands. Optionally (if InstBefore is specified) insert the
10461046
/// instruction into a BasicBlock right before the specified instruction.
10471047
/// The specified Instruction is allowed to be a dereferenced end iterator.
10481048
/// Create a CmpInst
1049-
static CmpInst *Create(OtherOps Op,
1050-
Predicate predicate, Value *S1,
1051-
Value *S2, const Twine &Name = "",
1049+
static CmpInst *Create(OtherOps Op, Predicate Pred, Value *S1, Value *S2,
1050+
const Twine &Name = "",
10521051
Instruction *InsertBefore = nullptr);
10531052

10541053
/// Construct a compare instruction, given the opcode, the predicate and the
10551054
/// two operands. Also automatically insert this instruction to the end of
10561055
/// the BasicBlock specified.
10571056
/// Create a CmpInst
1058-
static CmpInst *Create(OtherOps Op, Predicate predicate, Value *S1,
1059-
Value *S2, const Twine &Name, BasicBlock *InsertAtEnd);
1057+
static CmpInst *Create(OtherOps Op, Predicate Pred, Value *S1, Value *S2,
1058+
const Twine &Name, BasicBlock *InsertAtEnd);
10601059

10611060
/// Construct a compare instruction, given the opcode, the predicate,
10621061
/// the two operands and the instruction to copy the flags from. Optionally
10631062
/// (if InstBefore is specified) insert the instruction into a BasicBlock
10641063
/// right before the specified instruction. The specified Instruction is
1065-
/// allowed to be a dereferenced end iterator. Create a CmpInst
1064+
/// allowed to be a dereferenced end iterator.
1065+
/// Create a CmpInst
10661066
static CmpInst *CreateWithCopiedFlags(OtherOps Op, Predicate Pred, Value *S1,
10671067
Value *S2,
10681068
const Instruction *FlagsSource,

0 commit comments

Comments
 (0)