/external/llvm/include/llvm/Analysis/ |
TargetLibraryInfo.h | 45 enum Func { 71 void setState(LibFunc::Func F, AvailabilityState State) { 75 AvailabilityState getState(LibFunc::Func F) const { 87 bool isValidProtoForLibFunc(const FunctionType &FTy, LibFunc::Func F, 116 bool getLibFunc(StringRef funcName, LibFunc::Func &F) const; 123 bool getLibFunc(const Function &FDecl, LibFunc::Func &F) const; 126 void setUnavailable(LibFunc::Func F) { 131 void setAvailable(LibFunc::Func F) { 137 void setAvailableWithName(LibFunc::Func F, StringRef Name) { 217 bool getLibFunc(StringRef funcName, LibFunc::Func &F) const [all...] |
/external/llvm/lib/CodeGen/ |
MachineRegisterInfo.cpp | 479 const Function *Func = dyn_cast<Function>(MO.getGlobal()); 480 if (Func != nullptr) 481 return Func;
|
/external/llvm/lib/Target/AArch64/ |
AArch64AddressTypePromotion.cpp | 75 : FunctionPass(ID), Func(nullptr), ConsideredSExtType(nullptr) { 89 Function *Func; 420 for (auto &BB : *Func) { 486 Func = &F; 487 ConsideredSExtType = Type::getInt64Ty(Func->getContext()); 489 DEBUG(dbgs() << "*** " << getPassName() << ": " << Func->getName() << '\n');
|
/external/llvm/lib/Target/PowerPC/ |
PPCCTRLoops.cpp | 318 LibFunc::Func Func; 320 LibInfo->getLibFunc(F->getName(), Func) && 321 LibInfo->hasOptimizedCodeGen(Func)) { 330 switch (Func) {
|
/external/llvm/unittests/CodeGen/ |
DIEHashTest.cpp | 544 // struct { static void func(); }; 550 auto Func = DIE::get(Alloc, dwarf::DW_TAG_subprogram); 551 DIEString FuncStr = getString("func"); 552 Func->addValue(Alloc, dwarf::DW_AT_name, dwarf::DW_FORM_strp, FuncStr); 554 Unnamed.addChild(std::move(Func)); 563 // static void func(); 574 auto Func = DIE::get(Alloc, dwarf::DW_TAG_subprogram); 575 DIEString FuncStr = getString("func"); 578 Func->addValue(Alloc, dwarf::DW_AT_external, dwarf::DW_FORM_flag_present, 580 Func->addValue(Alloc, dwarf::DW_AT_name, dwarf::DW_FORM_strp, FuncStr) [all...] |
/external/protobuf/src/google/protobuf/ |
repeated_field_reflection_unittest.cc | 53 static int Func(int i, int j) { 59 SStringPrintf(&str, "%d", Func(i, 4)); 69 message.add_repeated_int32(Func(i, 1)); 70 message.add_repeated_double(Func(i, 2)); 72 message.add_repeated_foreign_message()->set_c(Func(i, 6)); 120 EXPECT_EQ(rf_int32.Get(i), Func(i, 1)); 121 EXPECT_EQ(rf_double.Get(i), Func(i, 2)); 123 EXPECT_EQ(rpf_foreign_message.Get(i).c(), Func(i, 6)); 125 Func(i, 6)); 128 EXPECT_EQ(mrf_int32->Get(i), Func(i, 1)) [all...] |
/external/swiftshader/third_party/subzero/src/ |
IceCfgNode.h | 31 static CfgNode *create(Cfg *Func, SizeT Number) { 32 return new (Func->allocate<CfgNode>()) CfgNode(Func, Number); 35 Cfg *getCfg() const { return Func; } 48 Name = NodeString::createWithString(Func, NewName); 51 return ".L" + Func->getFunctionName() + "$" + getName(); 113 void emit(Cfg *Func) const; 114 void emitIAS(Cfg *Func) const; 115 void dump(Cfg *Func) const; 131 CfgNode(Cfg *Func, SizeT Number [all...] |
IceLiveness.h | 70 Cfg *getFunc() const { return Func; } 110 static std::unique_ptr<Liveness> create(Cfg *Func, LivenessMode Mode) { 111 return std::unique_ptr<Liveness>(new Liveness(Func, Mode)); 123 Liveness(Cfg *Func, LivenessMode Mode) 124 : Alloc(new ArenaAllocator()), AllocScope(this), Func(Func), Mode(Mode) {} 138 Cfg *Func;
|
IceLoopAnalyzer.cpp | 24 explicit LoopAnalyzer(Cfg *Func); 103 Cfg *const Func; 104 /// A list of decorated nodes in the same order as Func->getNodes() which 144 LoopAnalyzer::LoopAnalyzer(Cfg *Fn) : Func(Fn) { 145 const NodeList &Nodes = Func->getNodes(); 160 assert(AllNodes.size() == Func->getNodes().size()); 257 CfgVector<Loop> ComputeLoopInfo(Cfg *Func) { 258 auto LoopBodies = LoopAnalyzer(Func).getLoopBodies(); 271 CfgNode *Cur = Func->getNodes()[NodeIndex];
|
IceVariableSplitting.cpp | 73 explicit VariableMap(Cfg *Func) 74 : Func(Func), NumVars(Func->getNumVariables()), Map(NumVars) {} 105 Variable *NewVar = Func->makeVariable(Var->getType()); 146 Cfg *const Func; 168 explicit LocalVariableSplitter(Cfg *Func) 169 : Target(Func->getTarget()), VarMap(Func) {} 496 void splitBlockLocalVariables(Cfg *Func) { [all...] |
/frameworks/rs/rsov/compiler/spirit/ |
builder_test.cpp | 97 auto Func = b.MakeFunctionDefinition(VoidTy, FunctionControl::None, FuncTy); 99 // Func->setName(funcName); // I.e., OpName %func funcName 100 m->addFunctionDefinition(Func); 103 Func->addBlock(Blk); 166 b.MakeEntryPointDefinition(ExecutionModel::GLCompute, Func, funcName) 210 auto Func = b.MakeFunctionDefinition(IntTy, FunctionControl::None, FuncTy); 212 // Func->setName(funcName); // I.e., OpName %func funcName 213 m->addFunctionDefinition(Func); [all...] |
/prebuilts/go/darwin-x86/src/cmd/compile/internal/ssa/ |
func.go | 23 // A Func represents a Go func declaration (or function literal) and its body. 24 // This package compiles each Func independently. 25 // Funcs are single-use; a new Func must be created for every compiled function. 26 type Func struct { 29 fe Frontend // frontend state associated with this Func, callbacks into compiler frontend 71 func NewFunc(fe Frontend) *Func { 72 return &Func{fe: fe, NamedValues: make(map[LocalSlot][]*Value)} 75 // NumBlocks returns an integer larger than the id of any Block in the Func [all...] |
/prebuilts/go/darwin-x86/src/go/types/ |
object.go | 26 Id() string // object name if exported, qualified name if not exported (see func Id) 55 func Id(pkg *Package, name string) string { 84 func (obj *object) Parent() *Scope { return obj.parent } 85 func (obj *object) Pos() token.Pos { return obj.pos } 86 func (obj *object) Pkg() *Package { return obj.pkg } 87 func (obj *object) Name() string { return obj.name } 88 func (obj *object) Type() Type { return obj.typ } 89 func (obj *object) Exported() bool { return ast.IsExported(obj.name) } 90 func (obj *object) Id() string { return Id(obj.pkg, obj.name) } 91 func (obj *object) String() string { panic("abstract") [all...] |
/prebuilts/go/darwin-x86/src/runtime/ |
symtab.go | 38 // Func is the Func value of this call frame. This may be nil 40 Func *Func 46 // If Func is not nil then Function == Func.Name(). 57 // if not known. If Func is not nil then Entry == 58 // Func.Entry(). 91 func CallersFrames(callers []uintptr) *Frames { 97 func (se *stackExpander) init(callers []uintptr) []uintptr [all...] |
/prebuilts/go/linux-x86/src/cmd/compile/internal/ssa/ |
func.go | 23 // A Func represents a Go func declaration (or function literal) and its body. 24 // This package compiles each Func independently. 25 // Funcs are single-use; a new Func must be created for every compiled function. 26 type Func struct { 29 fe Frontend // frontend state associated with this Func, callbacks into compiler frontend 71 func NewFunc(fe Frontend) *Func { 72 return &Func{fe: fe, NamedValues: make(map[LocalSlot][]*Value)} 75 // NumBlocks returns an integer larger than the id of any Block in the Func [all...] |
/prebuilts/go/linux-x86/src/go/types/ |
object.go | 26 Id() string // object name if exported, qualified name if not exported (see func Id) 55 func Id(pkg *Package, name string) string { 84 func (obj *object) Parent() *Scope { return obj.parent } 85 func (obj *object) Pos() token.Pos { return obj.pos } 86 func (obj *object) Pkg() *Package { return obj.pkg } 87 func (obj *object) Name() string { return obj.name } 88 func (obj *object) Type() Type { return obj.typ } 89 func (obj *object) Exported() bool { return ast.IsExported(obj.name) } 90 func (obj *object) Id() string { return Id(obj.pkg, obj.name) } 91 func (obj *object) String() string { panic("abstract") [all...] |
/prebuilts/go/linux-x86/src/runtime/ |
symtab.go | 38 // Func is the Func value of this call frame. This may be nil 40 Func *Func 46 // If Func is not nil then Function == Func.Name(). 57 // if not known. If Func is not nil then Entry == 58 // Func.Entry(). 91 func CallersFrames(callers []uintptr) *Frames { 97 func (se *stackExpander) init(callers []uintptr) []uintptr [all...] |
/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Pci/PciBusDxe/ |
PciEnumerator.c | 380 UINT8 Func;
398 for (Func = 0; Func <= PCI_MAX_FUNC; Func++) {
408 Func
411 if (EFI_ERROR (Status) && Func == 0) {
432 Address = EFI_PCI_ADDRESS (StartBusNumber, Device, Func, 0x18);
445 Address = EFI_PCI_ADDRESS (StartBusNumber, Device, Func, 0x1A);
481 Address = EFI_PCI_ADDRESS (StartBusNumber, Device, Func, 0x1A);
493 if (Func == 0 && !IS_PCI_MULTI_FUNC (&Pci)) { [all...] |
PciLib.c | 977 UINT8 Func;
1006 for (Func = 0; Func <= PCI_MAX_FUNC; Func++) {
1016 Func
1019 if (EFI_ERROR (Status) && Func == 0) {
1038 Func,
[all...] |
PciEnumeratorSupport.c | 27 @param Func PCI Func NO.
39 IN UINT8 Func
46 // Create PCI address map in terms of Bus, Device and Func
48 Address = EFI_PCI_ADDRESS (Bus, Device, Func, 0);
101 UINT8 Func;
111 for (Func = 0; Func <= PCI_MAX_FUNC; Func++) {
121 (UINT8) Func
[all...] |
/external/clang/lib/ASTMatchers/Dynamic/ |
Marshallers.h | 184 typedef VariantMatcher (*MarshallerType)(void (*Func)(), 190 /// \param Marshaller Function to unpack the arguments and call \c Func 191 /// \param Func Matcher construct function. This is the function that 197 MarshallerType Marshaller, void (*Func)(), StringRef MatcherName, 200 : Marshaller(Marshaller), Func(Func), MatcherName(MatcherName), 207 return Marshaller(Func, MatcherName, NameRange, Args, Error); 225 void (* const Func)(); 301 ResultT (*Func)(ArrayRef<const ArgT *>)> 323 Out = outvalueToVariantMatcher(Func(llvm::makeArrayRef(InnerArgs [all...] |
/external/llvm/include/llvm/ExecutionEngine/Orc/ |
RPCUtils.h | 188 template <typename ChannelT, typename SequenceNumberT, typename Func> 207 template <typename ChannelT, typename SequenceNumberT, typename Func> 221 typedef FunctionHelper<FunctionIdT, FuncId, RetT(ArgTs...)> Func; 244 return Func::template respond<ChannelT, SequenceNumberT>(C, SeqNo, 309 /// call<Func>(Channel, Args...) : 311 /// Calls the remote procedure 'Func' by serializing Func's id followed by its 315 /// handle<Func>(Channel, <functor matching Error(Args...)> : 317 /// Handles a call to 'Func' by deserializing its arguments and calling the 318 /// given functor. This assumes that the id for 'Func' has already bee [all...] |
/external/llvm/lib/Target/Mips/ |
MipsSEInstrInfo.cpp | 229 const Function *Func = MBB.getParent()->getFunction(); 230 if (Func->hasFnAttribute("interrupt")) { 260 const Function *Func = MBB.getParent()->getFunction(); 261 bool ReqIndirectLoad = Func->hasFnAttribute("interrupt") &&
|
/external/protobuf/python/ |
mox.py | 1112 class Func(Comparator): 1126 mock_dao.DoSomething(Func(myParamValidator), true) 1129 def __init__(self, func): 1133 func: callable that takes one parameter and returns a bool 1136 self._func = func 1141 rhs is passed into func. 1147 the result of func(rhs) [all...] |
/frameworks/compile/libbcc/bcinfo/ |
MetadataExtractor.cpp | 475 llvm::Function *Func = 478 TmpInputCountList[i] = (Func != nullptr) ? 479 calculateNumInputs(Func, TmpSigList[i]) : 0; 543 llvm::Function *Func = 547 TmpReduceList[i].mInputCount = (Func ? calculateNumInputs(Func, TmpReduceList[i].mSignature) - 1 : 0);
|