Skip to content

Commit 9727c77

Browse files
committed
[NFC] Rename Instrinsic to Intrinsic
1 parent 6f73bd7 commit 9727c77

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

54 files changed

+80
-80
lines changed

clang/lib/CodeGen/CGBuiltin.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18200,7 +18200,7 @@ RValue CodeGenFunction::EmitBuiltinIsAligned(const CallExpr *E) {
1820018200

1820118201
/// Generate (x & ~(y-1)) to align down or ((x+(y-1)) & ~(y-1)) to align up.
1820218202
/// Note: For pointer types we can avoid ptrtoint/inttoptr pairs by using the
18203-
/// llvm.ptrmask instrinsic (with a GEP before in the align_up case).
18203+
/// llvm.ptrmask intrinsic (with a GEP before in the align_up case).
1820418204
/// TODO: actually use ptrmask once most optimization passes know about it.
1820518205
RValue CodeGenFunction::EmitBuiltinAlignTo(const CallExpr *E, bool AlignUp) {
1820618206
BuiltinAlignArgs Args(E, *this);

clang/test/CodeGen/builtins-nvptx-mma.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# This script generates all variants of wmma builtins, verifies that clang calls
2-
# correct LLVM instrinsics, and checks that availability of specific builtins is
2+
# correct LLVM intrinsics, and checks that availability of specific builtins is
33
# constrained by the correct PTX version and the target GPU variant.
44

55
# Dummy test run to avoid lit warnings.

clang/test/CodeGenCUDA/fp-contract.cu

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@
105105

106106
// Explicit -ffp-contract=on -- fusing by front-end.
107107
// In IR,
108-
// mult/add in the same statement - llvm.fmuladd instrinsic emitted
108+
// mult/add in the same statement - llvm.fmuladd intrinsic emitted
109109
// mult/add in different statement - fmul/fadd instructions without
110110
// contract flag are emitted.
111111
// In backend

clang/test/Profile/c-avoid-direct-call.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Check the value profiling instrinsics emitted by instrumentation.
1+
// Check the value profiling intrinsics emitted by instrumentation.
22

33
// RUN: %clang_cc1 -triple x86_64-apple-macosx10.9 -main-file-name c-avoid-direct-call.c %s -o - -emit-llvm -fprofile-instrument=clang -mllvm -enable-value-profiling | FileCheck %s
44

clang/test/Profile/c-indirect-call.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Check the value profiling instrinsics emitted by instrumentation.
1+
// Check the value profiling intrinsics emitted by instrumentation.
22

33
// RUN: %clang_cc1 -no-opaque-pointers -triple x86_64-apple-macosx10.9 -main-file-name c-indirect-call.c %s -o - -emit-llvm -fprofile-instrument=clang -mllvm -enable-value-profiling | FileCheck --check-prefix=NOEXT %s
44
// RUN: %clang_cc1 -no-opaque-pointers -triple s390x-ibm-linux -main-file-name c-indirect-call.c %s -o - -emit-llvm -fprofile-instrument=clang -mllvm -enable-value-profiling | FileCheck --check-prefix=EXT %s

clang/test/Profile/cxx-indirect-call.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Check the value profiling instrinsics emitted by instrumentation.
1+
// Check the value profiling intrinsics emitted by instrumentation.
22

33
// RUN: %clang_cc1 -no-opaque-pointers %s -o - -emit-llvm -fprofile-instrument=clang -mllvm -enable-value-profiling -fexceptions -fcxx-exceptions -triple x86_64-apple-macosx10.9 | FileCheck %s
44

llvm/include/llvm/Analysis/VectorUtils.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -309,16 +309,16 @@ inline Type *ToVectorTy(Type *Scalar, unsigned VF) {
309309
/// Identify if the intrinsic is trivially vectorizable.
310310
/// This method returns true if the intrinsic's argument types are all scalars
311311
/// for the scalar form of the intrinsic and all vectors (or scalars handled by
312-
/// hasVectorInstrinsicScalarOpd) for the vector form of the intrinsic.
312+
/// hasVectorIntrinsicScalarOpd) for the vector form of the intrinsic.
313313
bool isTriviallyVectorizable(Intrinsic::ID ID);
314314

315315
/// Identifies if the vector form of the intrinsic has a scalar operand.
316-
bool hasVectorInstrinsicScalarOpd(Intrinsic::ID ID, unsigned ScalarOpdIdx);
316+
bool hasVectorIntrinsicScalarOpd(Intrinsic::ID ID, unsigned ScalarOpdIdx);
317317

318318
/// Identifies if the vector form of the intrinsic has a scalar operand that has
319319
/// an overloaded type.
320-
bool hasVectorInstrinsicOverloadedScalarOpd(Intrinsic::ID ID,
321-
unsigned ScalarOpdIdx);
320+
bool hasVectorIntrinsicOverloadedScalarOpd(Intrinsic::ID ID,
321+
unsigned ScalarOpdIdx);
322322

323323
/// Returns intrinsic ID for call.
324324
/// For the input call instruction it finds mapping intrinsic and returns

llvm/include/llvm/CodeGen/MachineInstr.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ class MachineInstr
9898
FmContract = 1 << 8, // Instruction supports Fast math
9999
// contraction operations like fma.
100100
FmAfn = 1 << 9, // Instruction may map to Fast math
101-
// instrinsic approximation.
101+
// intrinsic approximation.
102102
FmReassoc = 1 << 10, // Instruction supports Fast math
103103
// reassociation of operand order.
104104
NoUWrap = 1 << 11, // Instruction supports binary operator

llvm/include/llvm/CodeGen/ReplaceWithVeclib.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//===- ReplaceWithVeclib.h - Replace vector instrinsics with veclib calls -===//
1+
//===- ReplaceWithVeclib.h - Replace vector intrinsics with veclib calls --===//
22
//
33
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
44
// See https://llvm.org/LICENSE.txt for license information.

llvm/include/llvm/IR/InstVisitor.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,7 @@ class InstVisitor {
199199
RetTy visitCatchPadInst(CatchPadInst &I) { DELEGATE(FuncletPadInst); }
200200
RetTy visitFreezeInst(FreezeInst &I) { DELEGATE(Instruction); }
201201

202-
// Handle the special instrinsic instruction classes.
202+
// Handle the special intrinsic instruction classes.
203203
RetTy visitDbgDeclareInst(DbgDeclareInst &I) { DELEGATE(DbgVariableIntrinsic);}
204204
RetTy visitDbgValueInst(DbgValueInst &I) { DELEGATE(DbgVariableIntrinsic);}
205205
RetTy visitDbgVariableIntrinsic(DbgVariableIntrinsic &I)

0 commit comments

Comments
 (0)