Home
last modified time | relevance | path

Searched refs:getVal (Results 1 – 25 of 35) sorted by relevance

12

/llvm-project-15.0.7/llvm/lib/IR/
H A DProfileSummary.cpp119 static bool getVal(MDTuple *MD, const char *Key, uint64_t &Val) { in getVal() function
127 static bool getVal(MDTuple *MD, const char *Key, double &Val) { in getVal() function
183 if (getVal(dyn_cast<MDTuple>(Tuple->getOperand(Idx)), Key, Value)) { in getOptionalVal()
216 if (!getVal(dyn_cast<MDTuple>(Tuple->getOperand(I++)), "TotalCount", in getFromMD()
219 if (!getVal(dyn_cast<MDTuple>(Tuple->getOperand(I++)), "MaxCount", MaxCount)) in getFromMD()
221 if (!getVal(dyn_cast<MDTuple>(Tuple->getOperand(I++)), "MaxInternalCount", in getFromMD()
224 if (!getVal(dyn_cast<MDTuple>(Tuple->getOperand(I++)), "MaxFunctionCount", in getFromMD()
227 if (!getVal(dyn_cast<MDTuple>(Tuple->getOperand(I++)), "NumCounts", in getFromMD()
230 if (!getVal(dyn_cast<MDTuple>(Tuple->getOperand(I++)), "NumFunctions", in getFromMD()
/llvm-project-15.0.7/llvm/lib/Transforms/Utils/
H A DEvaluator.cpp250 if (auto *Fn = getFunction(getVal(V))) in getCalleeWithFormalArgs()
308 Constant *Ptr = getVal(SI->getOperand(1)); in EvaluateBlock()
329 Constant *Val = getVal(SI->getOperand(0)); in EvaluateBlock()
346 Constant *Ptr = getVal(LI->getOperand(0)); in EvaluateBlock()
405 Constant *Ptr = getVal(MSI->getDest()); in EvaluateBlock()
415 Constant *Val = getVal(MSI->getValue()); in EvaluateBlock()
448 Value *PtrArg = getVal(II->getArgOperand(1)); in EvaluateBlock()
485 InstResult = getVal(Stripped); in EvaluateBlock()
564 dyn_cast<ConstantInt>(getVal(SI->getCondition())); in EvaluateBlock()
587 Ops.push_back(getVal(Op)); in EvaluateBlock()
[all …]
/llvm-project-15.0.7/llvm/test/tools/llvm-dwarfdump/X86/
H A Dstats-dbg-callsite-info.ll8 ; extern int getVal();
11 ; int local1 = getVal();
31 %call = tail call i32 (...) @getVal(), !dbg !23
41 declare !dbg !4 dso_local i32 @getVal(...) local_unnamed_addr
56 !4 = !DISubprogram(name: "getVal", scope: !1, file: !1, line: 2, spFlags: DISPFlagOptimized, retain…
/llvm-project-15.0.7/clang/test/SemaObjC/
H A Dno-warning-unavail-unimp.m7 @property (getter=getVal) int val __attribute__((unavailable));
8 @property (getter=getVal) int val2 __attribute__((availability(macosx,unavailable)));
/llvm-project-15.0.7/llvm/test/DebugInfo/MIR/X86/
H A Ddebug-call-site-param.mir9 # extern int getVal();
12 # int local1 = getVal();
17 # CHECK-GNU: DW_AT_abstract_origin {{.*}} "getVal"
69 # CHECK-DWARF5-NEXT: DW_AT_name ("getVal")
87 %call = tail call i32 (...) @getVal(), !dbg !23
97 declare !dbg !4 dso_local i32 @getVal(...) local_unnamed_addr
111 …!4 = !DISubprogram(name: "getVal", scope: !1, file: !1, line: 2, spFlags: DISPFlagOptimized, retai…
174 …CALL64pcrel32 @getVal, csr_64, implicit $rsp, implicit $ssp, implicit $al, implicit-def $rsp, impl…
/llvm-project-15.0.7/llvm/test/Transforms/LowerSwitch/
H A Ddo-not-handle-impossible-values.ll82 %val = call i32 @getVal(), !range !0
128 %val = call i32 @getVal(), !range !1
181 %val = call i32 @getVal(), !range !2
238 %val = call i32 @getVal(), !range !1
293 %val = call i32 @getVal(), !range !1
341 %val = call i32 @getVal(), !range !1
392 %val = call i32 @getVal(), !range !3
498 %val = call i32 @getVal()
560 %val = call i32 @getVal()
773 %tmp = call i32 @getVal()
[all …]
/llvm-project-15.0.7/clang/test/Analysis/
H A Dnil-receiver-undefined-larger-than-voidptr-ret-region.m14 id *getVal(void); function
28 x = getVal();
/llvm-project-15.0.7/clang-tools-extra/test/clang-tidy/checkers/cppcoreguidelines/
H A Downing-memory.cpp351 const T getVal() const { return val; } in getVal() function
376 int *stack_ptr2 = Owner1.getVal(); // Bad, initializing non-owner with owner in test_templates()
379 gsl::owner<int *> IntOwner1 = NonOwner1.getVal(); // Bad, since owner initialized with non-owner in test_templates()
/llvm-project-15.0.7/llvm/tools/llvm-tapi-diff/
H A DDiffEngine.h72 T getVal() const { return Val; } in getVal() function
95 const MachO::Symbol *getVal() const { return Val; } in getVal() function
H A DDiffEngine.cpp448 return ValA.getOrder() == ValB.getOrder() && ValA.getVal() < ValB.getVal(); in sortTargetValues()
/llvm-project-15.0.7/clang/test/SemaCXX/
H A Ddiagnose_if.cpp354 …template <typename T> T getVal() _diagnose_if(bad(), "oh no", "error") { // expected-note{{from 'd… in getVal() function
369 int run() { return getVal<int>() + getVal2<int>() + int(*this); } in run()
373 Foo(0).getVal<int>(); in run()
374 Foo(1).getVal<int>(); // expected-error{{oh no}} in run()
/llvm-project-15.0.7/clang-tools-extra/test/clang-tidy/checkers/fuchsia/
H A Dstatically-constructed-objects.cpp71 int getVal() const { return Val; } in getVal() function in S
/llvm-project-15.0.7/llvm/include/llvm/Transforms/Utils/
H A DEvaluator.h117 Constant *getVal(Value *V) { in getVal() function
/llvm-project-15.0.7/flang/lib/Optimizer/CodeGen/
H A DBoxedProcedure.cpp189 auto ty = addr.getVal().getType(); in runOnOperation()
196 addr, typeConverter.convertType(addr.getType()), addr.getVal()); in runOnOperation()
H A DCodeGen.cpp440 if (auto argty = boxaddr.getVal().getType().dyn_cast<fir::BoxType>()) { in matchAndRewrite()
2696 auto *op = insertOp.getVal().getDefiningOp(); in matchAndRewrite()
3125 if (isPresent.getVal().getType().isa<fir::BoxCharType>()) { in matchAndRewrite()
/llvm-project-15.0.7/llvm/tools/llvm-readobj/
H A DELFDumper.cpp1965 StringTableSize = Dyn.getVal(); in parseDynamicTable()
1979 uint64_t Val = Dyn.getVal(); in parseDynamicTable()
1999 SONameOffset = Dyn.getVal(); in parseDynamicTable()
2005 DynRelRegion.Size = Dyn.getVal(); in parseDynamicTable()
2031 if (Dyn.getVal() == DT_REL) in parseDynamicTable()
2033 else if (Dyn.getVal() == DT_RELA) in parseDynamicTable()
2805 DtPltGot = Entry.getVal(); in findGOT()
2808 DtLocalGotNum = Entry.getVal(); in findGOT()
2811 DtGotSym = Entry.getVal(); in findGOT()
2857 DtMipsPltGot = Entry.getVal(); in findPLT()
[all …]
/llvm-project-15.0.7/mlir/lib/Dialect/AMX/Transforms/
H A DLegalizeForLLVMExport.cpp148 op, tsz.first, tsz.second, ptr, stride, adaptor.getVal()); in matchAndRewrite()
/llvm-project-15.0.7/llvm/include/llvm/AsmParser/
H A DLLParser.h438 Value *getVal(const std::string &Name, Type *Ty, LocTy Loc);
439 Value *getVal(unsigned ID, Type *Ty, LocTy Loc);
/llvm-project-15.0.7/mlir/lib/Dialect/LLVMIR/IR/
H A DLLVMDialect.cpp2496 << getVal() << ' ' << stringifyAtomicOrdering(getOrdering()) << ' '; in print()
2522 auto valType = getVal().getType(); in verify()
2563 p << ' ' << getPtr() << ", " << getCmp() << ", " << getVal() << ' ' in print()
2568 p << " : " << getVal().getType(); in print()
2604 auto valType = getVal().getType(); in verify()
/llvm-project-15.0.7/mlir/include/mlir/Dialect/AMX/
H A DAMX.td164 return getVal().getType().cast<VectorType>();
/llvm-project-15.0.7/llvm/lib/Target/XCore/
H A DXCoreISelLowering.cpp975 return DAG.getStore(N->getChain(), SDLoc(Op), N->getVal(), N->getBasePtr(), in LowerATOMIC_STORE()
982 return DAG.getTruncStore(N->getChain(), SDLoc(Op), N->getVal(), in LowerATOMIC_STORE()
988 return DAG.getTruncStore(N->getChain(), SDLoc(Op), N->getVal(), in LowerATOMIC_STORE()
/llvm-project-15.0.7/lld/ELF/
H A DInputFiles.cpp1367 uint64_t val = dyn.getVal(); in parse()
1372 uint64_t val = dyn.getVal(); in parse()
/llvm-project-15.0.7/llvm/include/llvm/Object/
H A DELFTypes.h379 uintX_t getVal() const { return d_un.d_val; }
/llvm-project-15.0.7/flang/lib/Optimizer/Dialect/
H A DFIROps.cpp604 if (auto *v = getVal().getDefiningOp()) { in fold()
621 if (auto v = getVal().getDefiningOp()) { in fold()
1598 auto binf = mlir::dyn_cast_or_null<FltOp>(insval.getVal().getDefiningOp()); in matchAndRewrite()
1600 mlir::dyn_cast_or_null<FltOp>(insval2.getVal().getDefiningOp()); in matchAndRewrite()
/llvm-project-15.0.7/llvm/lib/AsmParser/
H A DLLParser.cpp2943 Value *LLParser::PerFunctionState::getVal(const std::string &Name, Type *Ty, in getVal() function in LLParser::PerFunctionState
2978 Value *LLParser::PerFunctionState::getVal(unsigned ID, Type *Ty, LocTy Loc) { in getVal() function in LLParser::PerFunctionState
3079 getVal(Name, Type::getLabelTy(F.getContext()), Loc)); in getBB()
3084 getVal(ID, Type::getLabelTy(F.getContext()), Loc)); in getBB()
5383 V = PFS->getVal(ID.UIntVal, Ty, ID.Loc); in convertValIDToValue()
5388 V = PFS->getVal(ID.StrVal, Ty, ID.Loc); in convertValIDToValue()

12