003 File Manager
Current Path:
/usr/src/contrib/llvm-project/llvm/lib/Target
usr
/
src
/
contrib
/
llvm-project
/
llvm
/
lib
/
Target
/
📁
..
📁
AArch64
📁
AMDGPU
📁
ARC
📁
ARM
📁
AVR
📁
BPF
📁
Hexagon
📁
Lanai
📁
MSP430
📁
Mips
📁
NVPTX
📁
PowerPC
📁
RISCV
📁
Sparc
📁
SystemZ
📄
Target.cpp
(4.73 KB)
📄
TargetIntrinsicInfo.cpp
(960 B)
📄
TargetLoweringObjectFile.cpp
(13.92 KB)
📄
TargetMachine.cpp
(10.97 KB)
📄
TargetMachineC.cpp
(7.56 KB)
📁
VE
📁
WebAssembly
📁
X86
📁
XCore
Editing: TargetIntrinsicInfo.cpp
//===-- TargetIntrinsicInfo.cpp - Target Instruction Information ----------===// // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===----------------------------------------------------------------------===// // // This file implements the TargetIntrinsicInfo class. // //===----------------------------------------------------------------------===// #include "llvm/Target/TargetIntrinsicInfo.h" #include "llvm/ADT/StringMap.h" #include "llvm/IR/Function.h" using namespace llvm; TargetIntrinsicInfo::TargetIntrinsicInfo() { } TargetIntrinsicInfo::~TargetIntrinsicInfo() { } unsigned TargetIntrinsicInfo::getIntrinsicID(const Function *F) const { const ValueName *ValName = F->getValueName(); if (!ValName) return 0; return lookupName(ValName->getKeyData(), ValName->getKeyLength()); }
Upload File
Create Folder