TargetIntrinsicInfo.cpp (249423) | TargetIntrinsicInfo.cpp (314564) |
---|---|
1//===-- TargetIntrinsicInfo.cpp - Target Instruction Information ----------===// 2// 3// The LLVM Compiler Infrastructure 4// 5// This file is distributed under the University of Illinois Open Source 6// License. See LICENSE.TXT for details. 7// 8//===----------------------------------------------------------------------===// --- 8 unchanged lines hidden (view full) --- 17using namespace llvm; 18 19TargetIntrinsicInfo::TargetIntrinsicInfo() { 20} 21 22TargetIntrinsicInfo::~TargetIntrinsicInfo() { 23} 24 | 1//===-- TargetIntrinsicInfo.cpp - Target Instruction Information ----------===// 2// 3// The LLVM Compiler Infrastructure 4// 5// This file is distributed under the University of Illinois Open Source 6// License. See LICENSE.TXT for details. 7// 8//===----------------------------------------------------------------------===// --- 8 unchanged lines hidden (view full) --- 17using namespace llvm; 18 19TargetIntrinsicInfo::TargetIntrinsicInfo() { 20} 21 22TargetIntrinsicInfo::~TargetIntrinsicInfo() { 23} 24 |
25unsigned TargetIntrinsicInfo::getIntrinsicID(Function *F) const { | 25unsigned TargetIntrinsicInfo::getIntrinsicID(const Function *F) const { |
26 const ValueName *ValName = F->getValueName(); 27 if (!ValName) 28 return 0; 29 return lookupName(ValName->getKeyData(), ValName->getKeyLength()); 30} | 26 const ValueName *ValName = F->getValueName(); 27 if (!ValName) 28 return 0; 29 return lookupName(ValName->getKeyData(), ValName->getKeyLength()); 30} |