reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

Declarations

include/llvm/ExecutionEngine/ExecutionEngine.h
   46 struct GenericValue;

References

examples/BrainF/BrainFDriver.cpp
  168     std::vector<GenericValue> args;
  170     GenericValue gv = ee->runFunction(brainf_func, args);
examples/Fibonacci/fibonacci.cpp
  140   std::vector<GenericValue> Args(1);
  142   GenericValue GV = EE->runFunction(FibF, Args);
examples/HowToUseJIT/HowToUseJIT.cpp
  130   std::vector<GenericValue> noargs;
  131   GenericValue gv = EE->runFunction(FooF, noargs);
examples/ParallelJIT/ParallelJIT.cpp
  248   std::vector<GenericValue> Args(1);
  252   GenericValue gv = p->EE->runFunction(p->F, Args);
include/llvm/ADT/ArrayRef.h
   43     using iterator = const T *;
   44     using const_iterator = const T *;
   50     const T *Data = nullptr;
   66     /*implicit*/ ArrayRef(const T &OneElt)
   70     /*implicit*/ ArrayRef(const T *data, size_t length)
   74     ArrayRef(const T *begin, const T *end)
   74     ArrayRef(const T *begin, const T *end)
   81     /*implicit*/ ArrayRef(const SmallVectorTemplateCommon<T, U> &Vec)
   87     /*implicit*/ ArrayRef(const std::vector<T, A> &Vec)
   92     /*implicit*/ constexpr ArrayRef(const std::array<T, N> &Arr)
   97     /*implicit*/ constexpr ArrayRef(const T (&Arr)[N]) : Data(Arr), Length(N) {}
  100     /*implicit*/ ArrayRef(const std::initializer_list<T> &Vec)
  145     const T *data() const { return Data; }
  151     const T &front() const {
  157     const T &back() const {
  163     template <typename Allocator> ArrayRef<T> copy(Allocator &A) {
  178     ArrayRef<T> slice(size_t N, size_t M) const {
  184     ArrayRef<T> slice(size_t N) const { return slice(N, size() - N); }
  187     ArrayRef<T> drop_front(size_t N = 1) const {
  193     ArrayRef<T> drop_back(size_t N = 1) const {
  200     template <class PredicateT> ArrayRef<T> drop_while(PredicateT Pred) const {
  206     template <class PredicateT> ArrayRef<T> drop_until(PredicateT Pred) const {
  211     ArrayRef<T> take_front(size_t N = 1) const {
  218     ArrayRef<T> take_back(size_t N = 1) const {
  226     template <class PredicateT> ArrayRef<T> take_while(PredicateT Pred) const {
  232     template <class PredicateT> ArrayRef<T> take_until(PredicateT Pred) const {
  239     const T &operator[](size_t Index) const {
  249     typename std::enable_if<std::is_same<U, T>::value, ArrayRef<T>>::type &
  257     typename std::enable_if<std::is_same<U, T>::value, ArrayRef<T>>::type &
  263     std::vector<T> vec() const {
  270     operator std::vector<T>() const {
include/llvm/ExecutionEngine/ExecutionEngine.h
  229   virtual GenericValue runFunction(Function *F,
  230                                    ArrayRef<GenericValue> ArgValues) = 0;
  391   void StoreValueToMemory(const GenericValue &Val, GenericValue *Ptr,
  391   void StoreValueToMemory(const GenericValue &Val, GenericValue *Ptr,
  504   GenericValue getConstantValue(const Constant *C);
  505   void LoadValueFromMemory(GenericValue &Result, GenericValue *Ptr,
  505   void LoadValueFromMemory(GenericValue &Result, GenericValue *Ptr,
include/llvm/ExecutionEngine/GenericValue.h
   37   std::vector<GenericValue> AggregateVal;
   49 inline GenericValue PTOGV(void *P) { return GenericValue(P); }
   50 inline void *GVTOP(const GenericValue &GV) { return GV.PointerVal; }
lib/ExecutionEngine/ExecutionEngine.cpp
  429   std::vector<GenericValue> GVArgs;
  430   GenericValue GVArgc;
  594 GenericValue ExecutionEngine::getConstantValue(const Constant *C) {
  597     GenericValue Result;
  648       GenericValue Result = getConstantValue(Op0);
  657       GenericValue GV = getConstantValue(Op0);
  663       GenericValue GV = getConstantValue(Op0);
  669       GenericValue GV = getConstantValue(Op0);
  676       GenericValue GV = getConstantValue(Op0);
  682       GenericValue GV = getConstantValue(Op0);
  687       GenericValue GV = getConstantValue(Op0);
  702       GenericValue GV = getConstantValue(Op0);
  718       GenericValue GV = getConstantValue(Op0);
  736       GenericValue GV = getConstantValue(Op0);
  745       GenericValue GV = getConstantValue(Op0);
  753       GenericValue GV = getConstantValue(Op0);
  791       GenericValue LHS = getConstantValue(Op0);
  792       GenericValue RHS = getConstantValue(CE->getOperand(1));
  793       GenericValue GV;
  888   GenericValue Result;
  939         GenericValue floatZero;
  961         GenericValue doubleZero;
  983         GenericValue intZero;
 1022 void ExecutionEngine::StoreValueToMemory(const GenericValue &Val,
 1023                                          GenericValue *Ptr, Type *Ty) {
 1071 void ExecutionEngine::LoadValueFromMemory(GenericValue &Result,
 1072                                           GenericValue *Ptr,
 1114       GenericValue intZero;
 1176     GenericValue Val = getConstantValue(Init);
lib/ExecutionEngine/ExecutionEngineBindings.cpp
   43   GenericValue *GenVal = new GenericValue();
   43   GenericValue *GenVal = new GenericValue();
   49   GenericValue *GenVal = new GenericValue();
   49   GenericValue *GenVal = new GenericValue();
   55   GenericValue *GenVal = new GenericValue();
   55   GenericValue *GenVal = new GenericValue();
   75   GenericValue *GenVal = unwrap(GenValRef);
  244   std::vector<GenericValue> ArgVec;
  249   GenericValue *Result = new GenericValue();
  249   GenericValue *Result = new GenericValue();
lib/ExecutionEngine/Interpreter/Execution.cpp
   41 static void SetValue(Value *V, GenericValue Val, ExecutionContext &SF) {
   49 static void executeFNegInst(GenericValue &Dest, GenericValue Src, Type *Ty) {
   49 static void executeFNegInst(GenericValue &Dest, GenericValue Src, Type *Ty) {
   65   GenericValue Src = getOperandValue(I.getOperand(0), SF);
   66   GenericValue R; // Result
  108 static void executeFAddInst(GenericValue &Dest, GenericValue Src1,
  108 static void executeFAddInst(GenericValue &Dest, GenericValue Src1,
  109                             GenericValue Src2, Type *Ty) {
  119 static void executeFSubInst(GenericValue &Dest, GenericValue Src1,
  119 static void executeFSubInst(GenericValue &Dest, GenericValue Src1,
  120                             GenericValue Src2, Type *Ty) {
  130 static void executeFMulInst(GenericValue &Dest, GenericValue Src1,
  130 static void executeFMulInst(GenericValue &Dest, GenericValue Src1,
  131                             GenericValue Src2, Type *Ty) {
  141 static void executeFDivInst(GenericValue &Dest, GenericValue Src1,
  141 static void executeFDivInst(GenericValue &Dest, GenericValue Src1,
  142                             GenericValue Src2, Type *Ty) {
  152 static void executeFRemInst(GenericValue &Dest, GenericValue Src1,
  152 static void executeFRemInst(GenericValue &Dest, GenericValue Src1,
  153                             GenericValue Src2, Type *Ty) {
  191 static GenericValue executeICMP_EQ(GenericValue Src1, GenericValue Src2,
  191 static GenericValue executeICMP_EQ(GenericValue Src1, GenericValue Src2,
  191 static GenericValue executeICMP_EQ(GenericValue Src1, GenericValue Src2,
  193   GenericValue Dest;
  205 static GenericValue executeICMP_NE(GenericValue Src1, GenericValue Src2,
  205 static GenericValue executeICMP_NE(GenericValue Src1, GenericValue Src2,
  205 static GenericValue executeICMP_NE(GenericValue Src1, GenericValue Src2,
  207   GenericValue Dest;
  219 static GenericValue executeICMP_ULT(GenericValue Src1, GenericValue Src2,
  219 static GenericValue executeICMP_ULT(GenericValue Src1, GenericValue Src2,
  219 static GenericValue executeICMP_ULT(GenericValue Src1, GenericValue Src2,
  221   GenericValue Dest;
  233 static GenericValue executeICMP_SLT(GenericValue Src1, GenericValue Src2,
  233 static GenericValue executeICMP_SLT(GenericValue Src1, GenericValue Src2,
  233 static GenericValue executeICMP_SLT(GenericValue Src1, GenericValue Src2,
  235   GenericValue Dest;
  247 static GenericValue executeICMP_UGT(GenericValue Src1, GenericValue Src2,
  247 static GenericValue executeICMP_UGT(GenericValue Src1, GenericValue Src2,
  247 static GenericValue executeICMP_UGT(GenericValue Src1, GenericValue Src2,
  249   GenericValue Dest;
  261 static GenericValue executeICMP_SGT(GenericValue Src1, GenericValue Src2,
  261 static GenericValue executeICMP_SGT(GenericValue Src1, GenericValue Src2,
  261 static GenericValue executeICMP_SGT(GenericValue Src1, GenericValue Src2,
  263   GenericValue Dest;
  275 static GenericValue executeICMP_ULE(GenericValue Src1, GenericValue Src2,
  275 static GenericValue executeICMP_ULE(GenericValue Src1, GenericValue Src2,
  275 static GenericValue executeICMP_ULE(GenericValue Src1, GenericValue Src2,
  277   GenericValue Dest;
  289 static GenericValue executeICMP_SLE(GenericValue Src1, GenericValue Src2,
  289 static GenericValue executeICMP_SLE(GenericValue Src1, GenericValue Src2,
  289 static GenericValue executeICMP_SLE(GenericValue Src1, GenericValue Src2,
  291   GenericValue Dest;
  303 static GenericValue executeICMP_UGE(GenericValue Src1, GenericValue Src2,
  303 static GenericValue executeICMP_UGE(GenericValue Src1, GenericValue Src2,
  303 static GenericValue executeICMP_UGE(GenericValue Src1, GenericValue Src2,
  305   GenericValue Dest;
  317 static GenericValue executeICMP_SGE(GenericValue Src1, GenericValue Src2,
  317 static GenericValue executeICMP_SGE(GenericValue Src1, GenericValue Src2,
  317 static GenericValue executeICMP_SGE(GenericValue Src1, GenericValue Src2,
  319   GenericValue Dest;
  334   GenericValue Src1 = getOperandValue(I.getOperand(0), SF);
  335   GenericValue Src2 = getOperandValue(I.getOperand(1), SF);
  336   GenericValue R;   // Result
  378 static GenericValue executeFCMP_OEQ(GenericValue Src1, GenericValue Src2,
  378 static GenericValue executeFCMP_OEQ(GenericValue Src1, GenericValue Src2,
  378 static GenericValue executeFCMP_OEQ(GenericValue Src1, GenericValue Src2,
  380   GenericValue Dest;
  428 static GenericValue executeFCMP_ONE(GenericValue Src1, GenericValue Src2,
  428 static GenericValue executeFCMP_ONE(GenericValue Src1, GenericValue Src2,
  428 static GenericValue executeFCMP_ONE(GenericValue Src1, GenericValue Src2,
  431   GenericValue Dest;
  436   GenericValue DestMask = Dest;
  454 static GenericValue executeFCMP_OLE(GenericValue Src1, GenericValue Src2,
  454 static GenericValue executeFCMP_OLE(GenericValue Src1, GenericValue Src2,
  454 static GenericValue executeFCMP_OLE(GenericValue Src1, GenericValue Src2,
  456   GenericValue Dest;
  468 static GenericValue executeFCMP_OGE(GenericValue Src1, GenericValue Src2,
  468 static GenericValue executeFCMP_OGE(GenericValue Src1, GenericValue Src2,
  468 static GenericValue executeFCMP_OGE(GenericValue Src1, GenericValue Src2,
  470   GenericValue Dest;
  482 static GenericValue executeFCMP_OLT(GenericValue Src1, GenericValue Src2,
  482 static GenericValue executeFCMP_OLT(GenericValue Src1, GenericValue Src2,
  482 static GenericValue executeFCMP_OLT(GenericValue Src1, GenericValue Src2,
  484   GenericValue Dest;
  496 static GenericValue executeFCMP_OGT(GenericValue Src1, GenericValue Src2,
  496 static GenericValue executeFCMP_OGT(GenericValue Src1, GenericValue Src2,
  496 static GenericValue executeFCMP_OGT(GenericValue Src1, GenericValue Src2,
  498   GenericValue Dest;
  531 static GenericValue executeFCMP_UEQ(GenericValue Src1, GenericValue Src2,
  531 static GenericValue executeFCMP_UEQ(GenericValue Src1, GenericValue Src2,
  531 static GenericValue executeFCMP_UEQ(GenericValue Src1, GenericValue Src2,
  533   GenericValue Dest;
  541 static GenericValue executeFCMP_UNE(GenericValue Src1, GenericValue Src2,
  541 static GenericValue executeFCMP_UNE(GenericValue Src1, GenericValue Src2,
  541 static GenericValue executeFCMP_UNE(GenericValue Src1, GenericValue Src2,
  543   GenericValue Dest;
  550 static GenericValue executeFCMP_ULE(GenericValue Src1, GenericValue Src2,
  550 static GenericValue executeFCMP_ULE(GenericValue Src1, GenericValue Src2,
  550 static GenericValue executeFCMP_ULE(GenericValue Src1, GenericValue Src2,
  552   GenericValue Dest;
  559 static GenericValue executeFCMP_UGE(GenericValue Src1, GenericValue Src2,
  559 static GenericValue executeFCMP_UGE(GenericValue Src1, GenericValue Src2,
  559 static GenericValue executeFCMP_UGE(GenericValue Src1, GenericValue Src2,
  561   GenericValue Dest;
  568 static GenericValue executeFCMP_ULT(GenericValue Src1, GenericValue Src2,
  568 static GenericValue executeFCMP_ULT(GenericValue Src1, GenericValue Src2,
  568 static GenericValue executeFCMP_ULT(GenericValue Src1, GenericValue Src2,
  570   GenericValue Dest;
  577 static GenericValue executeFCMP_UGT(GenericValue Src1, GenericValue Src2,
  577 static GenericValue executeFCMP_UGT(GenericValue Src1, GenericValue Src2,
  577 static GenericValue executeFCMP_UGT(GenericValue Src1, GenericValue Src2,
  579   GenericValue Dest;
  586 static GenericValue executeFCMP_ORD(GenericValue Src1, GenericValue Src2,
  586 static GenericValue executeFCMP_ORD(GenericValue Src1, GenericValue Src2,
  586 static GenericValue executeFCMP_ORD(GenericValue Src1, GenericValue Src2,
  588   GenericValue Dest;
  617 static GenericValue executeFCMP_UNO(GenericValue Src1, GenericValue Src2,
  617 static GenericValue executeFCMP_UNO(GenericValue Src1, GenericValue Src2,
  617 static GenericValue executeFCMP_UNO(GenericValue Src1, GenericValue Src2,
  619   GenericValue Dest;
  648 static GenericValue executeFCMP_BOOL(GenericValue Src1, GenericValue Src2,
  648 static GenericValue executeFCMP_BOOL(GenericValue Src1, GenericValue Src2,
  648 static GenericValue executeFCMP_BOOL(GenericValue Src1, GenericValue Src2,
  650   GenericValue Dest;
  666   GenericValue Src1 = getOperandValue(I.getOperand(0), SF);
  667   GenericValue Src2 = getOperandValue(I.getOperand(1), SF);
  668   GenericValue R;   // Result
  698 static GenericValue executeCmpInst(unsigned predicate, GenericValue Src1,
  698 static GenericValue executeCmpInst(unsigned predicate, GenericValue Src1,
  699                                    GenericValue Src2, Type *Ty) {
  700   GenericValue Result;
  737   GenericValue Src1 = getOperandValue(I.getOperand(0), SF);
  738   GenericValue Src2 = getOperandValue(I.getOperand(1), SF);
  739   GenericValue R;   // Result
  843 static GenericValue executeSelectInst(GenericValue Src1, GenericValue Src2,
  843 static GenericValue executeSelectInst(GenericValue Src1, GenericValue Src2,
  843 static GenericValue executeSelectInst(GenericValue Src1, GenericValue Src2,
  844                                       GenericValue Src3, Type *Ty) {
  845     GenericValue Dest;
  862   GenericValue Src1 = getOperandValue(I.getOperand(0), SF);
  863   GenericValue Src2 = getOperandValue(I.getOperand(1), SF);
  864   GenericValue Src3 = getOperandValue(I.getOperand(2), SF);
  865   GenericValue R = executeSelectInst(Src1, Src2, Src3, Ty);
  873 void Interpreter::exitCalled(GenericValue GV) {
  891                                                  GenericValue Result) {
  919   GenericValue Result;
  951   GenericValue CondVal = getOperandValue(Cond, SF);
  956     GenericValue CaseVal = getOperandValue(Case.getCaseValue(), SF);
  991   std::vector<GenericValue> ResultValues;
 1036   GenericValue Result = PTOGV(Memory);
 1046 GenericValue Interpreter::executeGEPOperation(Value *Ptr, gep_type_iterator I,
 1064       GenericValue IdxGV = getOperandValue(I.getOperand(), SF);
 1079   GenericValue Result;
 1093   GenericValue SRC = getOperandValue(I.getPointerOperand(), SF);
 1094   GenericValue *Ptr = (GenericValue*)GVTOP(SRC);
 1095   GenericValue Result;
 1104   GenericValue Val = getOperandValue(I.getOperand(0), SF);
 1105   GenericValue SRC = getOperandValue(I.getPointerOperand(), SF);
 1126       GenericValue ArgIndex;
 1161   std::vector<GenericValue> ArgVals;
 1173   GenericValue SRC = getOperandValue(SF.Caller.getCalledValue(), SF);
 1191   GenericValue Src1 = getOperandValue(I.getOperand(0), SF);
 1192   GenericValue Src2 = getOperandValue(I.getOperand(1), SF);
 1193   GenericValue Dest;
 1200       GenericValue Result;
 1218   GenericValue Src1 = getOperandValue(I.getOperand(0), SF);
 1219   GenericValue Src2 = getOperandValue(I.getOperand(1), SF);
 1220   GenericValue Dest;
 1227       GenericValue Result;
 1245   GenericValue Src1 = getOperandValue(I.getOperand(0), SF);
 1246   GenericValue Src2 = getOperandValue(I.getOperand(1), SF);
 1247   GenericValue Dest;
 1254       GenericValue Result;
 1270 GenericValue Interpreter::executeTruncInst(Value *SrcVal, Type *DstTy,
 1272   GenericValue Dest, Src = getOperandValue(SrcVal, SF);
 1290 GenericValue Interpreter::executeSExtInst(Value *SrcVal, Type *DstTy,
 1293   GenericValue Dest, Src = getOperandValue(SrcVal, SF);
 1310 GenericValue Interpreter::executeZExtInst(Value *SrcVal, Type *DstTy,
 1313   GenericValue Dest, Src = getOperandValue(SrcVal, SF);
 1331 GenericValue Interpreter::executeFPTruncInst(Value *SrcVal, Type *DstTy,
 1333   GenericValue Dest, Src = getOperandValue(SrcVal, SF);
 1354 GenericValue Interpreter::executeFPExtInst(Value *SrcVal, Type *DstTy,
 1356   GenericValue Dest, Src = getOperandValue(SrcVal, SF);
 1376 GenericValue Interpreter::executeFPToUIInst(Value *SrcVal, Type *DstTy,
 1379   GenericValue Dest, Src = getOperandValue(SrcVal, SF);
 1414 GenericValue Interpreter::executeFPToSIInst(Value *SrcVal, Type *DstTy,
 1417   GenericValue Dest, Src = getOperandValue(SrcVal, SF);
 1451 GenericValue Interpreter::executeUIToFPInst(Value *SrcVal, Type *DstTy,
 1453   GenericValue Dest, Src = getOperandValue(SrcVal, SF);
 1483 GenericValue Interpreter::executeSIToFPInst(Value *SrcVal, Type *DstTy,
 1485   GenericValue Dest, Src = getOperandValue(SrcVal, SF);
 1517 GenericValue Interpreter::executePtrToIntInst(Value *SrcVal, Type *DstTy,
 1520   GenericValue Dest, Src = getOperandValue(SrcVal, SF);
 1527 GenericValue Interpreter::executeIntToPtrInst(Value *SrcVal, Type *DstTy,
 1529   GenericValue Dest, Src = getOperandValue(SrcVal, SF);
 1540 GenericValue Interpreter::executeBitCastInst(Value *SrcVal, Type *DstTy,
 1546   GenericValue Dest, Src = getOperandValue(SrcVal, SF);
 1553     GenericValue TempDst, TempSrc, SrcVec;
 1612         GenericValue Elt;
 1633           GenericValue Elt;
 1775   GenericValue VAList = getOperandValue(I.getOperand(0), SF);
 1776   GenericValue Dest;
 1777   GenericValue Src = ECStack[VAList.UIntPairVal.first]
 1801   GenericValue Src1 = getOperandValue(I.getOperand(0), SF);
 1802   GenericValue Src2 = getOperandValue(I.getOperand(1), SF);
 1803   GenericValue Dest;
 1836   GenericValue Src1 = getOperandValue(I.getOperand(0), SF);
 1837   GenericValue Src2 = getOperandValue(I.getOperand(1), SF);
 1838   GenericValue Src3 = getOperandValue(I.getOperand(2), SF);
 1839   GenericValue Dest;
 1869   GenericValue Src1 = getOperandValue(I.getOperand(0), SF);
 1870   GenericValue Src2 = getOperandValue(I.getOperand(1), SF);
 1871   GenericValue Src3 = getOperandValue(I.getOperand(2), SF);
 1872   GenericValue Dest;
 1935   GenericValue Dest;
 1936   GenericValue Src = getOperandValue(Agg, SF);
 1940   GenericValue *pSrc = &Src;
 1979   GenericValue Src1 = getOperandValue(Agg, SF);
 1980   GenericValue Src2 = getOperandValue(I.getOperand(1), SF);
 1981   GenericValue Dest = Src1; // Dest is a slightly changed Src1
 1986   GenericValue *pDest = &Dest;
 2021 GenericValue Interpreter::getConstantExprValue (ConstantExpr *CE,
 2068   GenericValue Op0 = getOperandValue(CE->getOperand(0), SF);
 2069   GenericValue Op1 = getOperandValue(CE->getOperand(1), SF);
 2070   GenericValue Dest;
 2104 GenericValue Interpreter::getOperandValue(Value *V, ExecutionContext &SF) {
 2123 void Interpreter::callFunction(Function *F, ArrayRef<GenericValue> ArgVals) {
 2134     GenericValue Result = callExternalFunction (F, ArgVals);
lib/ExecutionEngine/Interpreter/ExternalFunctions.cpp
   62 typedef GenericValue (*ExFunc)(FunctionType *, ArrayRef<GenericValue>);
   62 typedef GenericValue (*ExFunc)(FunctionType *, ArrayRef<GenericValue>);
  257 GenericValue Interpreter::callExternalFunction(Function *F,
  258                                                ArrayRef<GenericValue> ArgVals) {
  310 static GenericValue lle_X_atexit(FunctionType *FT,
  311                                  ArrayRef<GenericValue> Args) {
  314   GenericValue GV;
  320 static GenericValue lle_X_exit(FunctionType *FT, ArrayRef<GenericValue> Args) {
  320 static GenericValue lle_X_exit(FunctionType *FT, ArrayRef<GenericValue> Args) {
  326 static GenericValue lle_X_abort(FunctionType *FT, ArrayRef<GenericValue> Args) {
  326 static GenericValue lle_X_abort(FunctionType *FT, ArrayRef<GenericValue> Args) {
  335 static GenericValue lle_X_sprintf(FunctionType *FT,
  336                                   ArrayRef<GenericValue> Args) {
  343   GenericValue GV;
  417 static GenericValue lle_X_printf(FunctionType *FT,
  418                                  ArrayRef<GenericValue> Args) {
  420   std::vector<GenericValue> NewArgs;
  423   GenericValue GV = lle_X_sprintf(FT, NewArgs);
  429 static GenericValue lle_X_sscanf(FunctionType *FT,
  430                                  ArrayRef<GenericValue> args) {
  437   GenericValue GV;
  444 static GenericValue lle_X_scanf(FunctionType *FT, ArrayRef<GenericValue> args) {
  444 static GenericValue lle_X_scanf(FunctionType *FT, ArrayRef<GenericValue> args) {
  451   GenericValue GV;
  459 static GenericValue lle_X_fprintf(FunctionType *FT,
  460                                   ArrayRef<GenericValue> Args) {
  463   std::vector<GenericValue> NewArgs;
  466   GenericValue GV = lle_X_sprintf(FT, NewArgs);
  472 static GenericValue lle_X_memset(FunctionType *FT,
  473                                  ArrayRef<GenericValue> Args) {
  479   GenericValue GV;
  484 static GenericValue lle_X_memcpy(FunctionType *FT,
  485                                  ArrayRef<GenericValue> Args) {
  491   GenericValue GV;
lib/ExecutionEngine/Interpreter/Interpreter.cpp
   80 GenericValue Interpreter::runFunction(Function *F,
   81                                       ArrayRef<GenericValue> ArgValues) {
   92   ArrayRef<GenericValue> ActualArgs =
lib/ExecutionEngine/Interpreter/Interpreter.h
   55 typedef std::vector<GenericValue> ValuePlaneTy;
   66   std::map<Value *, GenericValue> Values; // LLVM values used in this invocation
   67   std::vector<GenericValue>  VarArgs; // Values passed through an ellipsis
   76   GenericValue ExitValue;          // The return value of the called function
  107   GenericValue runFunction(Function *F,
  108                            ArrayRef<GenericValue> ArgValues) override;
  118   void callFunction(Function *F, ArrayRef<GenericValue> ArgVals);
  175   GenericValue callExternalFunction(Function *F,
  176                                     ArrayRef<GenericValue> ArgVals);
  177   void exitCalled(GenericValue GV);
  183   GenericValue *getFirstVarArg () {
  188   GenericValue executeGEPOperation(Value *Ptr, gep_type_iterator I,
  201   GenericValue getConstantExprValue(ConstantExpr *CE, ExecutionContext &SF);
  202   GenericValue getOperandValue(Value *V, ExecutionContext &SF);
  203   GenericValue executeTruncInst(Value *SrcVal, Type *DstTy,
  205   GenericValue executeSExtInst(Value *SrcVal, Type *DstTy,
  207   GenericValue executeZExtInst(Value *SrcVal, Type *DstTy,
  209   GenericValue executeFPTruncInst(Value *SrcVal, Type *DstTy,
  211   GenericValue executeFPExtInst(Value *SrcVal, Type *DstTy,
  213   GenericValue executeFPToUIInst(Value *SrcVal, Type *DstTy,
  215   GenericValue executeFPToSIInst(Value *SrcVal, Type *DstTy,
  217   GenericValue executeUIToFPInst(Value *SrcVal, Type *DstTy,
  219   GenericValue executeSIToFPInst(Value *SrcVal, Type *DstTy,
  221   GenericValue executePtrToIntInst(Value *SrcVal, Type *DstTy,
  223   GenericValue executeIntToPtrInst(Value *SrcVal, Type *DstTy,
  225   GenericValue executeBitCastInst(Value *SrcVal, Type *DstTy,
  227   GenericValue executeCastOperation(Instruction::CastOps opcode, Value *SrcVal,
  229   void popStackAndReturnValueToCaller(Type *RetTy, GenericValue Result);
lib/ExecutionEngine/MCJIT/MCJIT.cpp
  507 GenericValue MCJIT::runFunction(Function *F, ArrayRef<GenericValue> ArgValues) {
  507 GenericValue MCJIT::runFunction(Function *F, ArrayRef<GenericValue> ArgValues) {
  534         GenericValue rv;
  547         GenericValue rv;
  556         GenericValue rv;
  567     GenericValue rv;
lib/ExecutionEngine/MCJIT/MCJIT.h
  262   GenericValue runFunction(Function *F,
  263                            ArrayRef<GenericValue> ArgValues) override;
lib/ExecutionEngine/Orc/OrcMCJITReplacement.cpp
   25 GenericValue
   27                                  ArrayRef<GenericValue> ArgValues) {
   53         GenericValue rv;
   66         GenericValue rv;
   74         GenericValue rv;
   85     GenericValue rv;
lib/ExecutionEngine/Orc/OrcMCJITReplacement.h
  366   GenericValue runFunction(Function *F,
  367                            ArrayRef<GenericValue> ArgValues) override;
tools/lli/lli.cpp
  624         std::vector<GenericValue> Args;
  625         GenericValue ResultGV;
usr/include/c++/7.4.0/bits/algorithmfwd.h
  255     fill(_FIter, _FIter, const _Tp&);
usr/include/c++/7.4.0/bits/alloc_traits.h
  387       using allocator_type = allocator<_Tp>;
  389       using value_type = _Tp;
  392       using pointer = _Tp*;
  395       using const_pointer = const _Tp*;
  474 	construct(allocator_type& __a, _Up* __p, _Args&&... __args)
  474 	construct(allocator_type& __a, _Up* __p, _Args&&... __args)
  475 	{ __a.construct(__p, std::forward<_Args>(__args)...); }
  486 	destroy(allocator_type& __a, _Up* __p)
usr/include/c++/7.4.0/bits/allocator.h
  108     class allocator: public __allocator_base<_Tp>
  113       typedef _Tp*       pointer;
  114       typedef const _Tp* const_pointer;
  115       typedef _Tp&       reference;
  116       typedef const _Tp& const_reference;
  117       typedef _Tp        value_type;
  137 	allocator(const allocator<_Tp1>&) throw() { }
  158     operator!=(const allocator<_T1>&, const allocator<_T2>&)
  158     operator!=(const allocator<_T1>&, const allocator<_T2>&)
  164     operator!=(const allocator<_Tp>&, const allocator<_Tp>&)
  164     operator!=(const allocator<_Tp>&, const allocator<_Tp>&)
usr/include/c++/7.4.0/bits/cpp_type_traits.h
  329     : public __traitor<__is_integer<_Tp>, __is_floating<_Tp> >
  329     : public __traitor<__is_integer<_Tp>, __is_floating<_Tp> >
  337     : public __traitor<__is_arithmetic<_Tp>, __is_pointer<_Tp> >
  337     : public __traitor<__is_arithmetic<_Tp>, __is_pointer<_Tp> >
usr/include/c++/7.4.0/bits/move.h
   46     inline _GLIBCXX_CONSTEXPR _Tp*
   47     __addressof(_Tp& __r) _GLIBCXX_NOEXCEPT
   72     constexpr _Tp&&
   73     forward(typename std::remove_reference<_Tp>::type& __t) noexcept
   83     constexpr _Tp&&
   84     forward(typename std::remove_reference<_Tp>::type&& __t) noexcept
   98     move(_Tp&& __t) noexcept
  104     : public __and_<__not_<is_nothrow_move_constructible<_Tp>>,
  105                     is_copy_constructible<_Tp>>::type { };
  136     inline _GLIBCXX17_CONSTEXPR _Tp*
  137     addressof(_Tp& __r) noexcept
  143     const _Tp* addressof(const _Tp&&) = delete;
  143     const _Tp* addressof(const _Tp&&) = delete;
usr/include/c++/7.4.0/bits/ptr_traits.h
  126       typedef _Tp* pointer;
  128       typedef _Tp  element_type;
  141       pointer_to(__make_not_void<element_type>& __r) noexcept
  141       pointer_to(__make_not_void<element_type>& __r) noexcept
usr/include/c++/7.4.0/bits/stl_algobase.h
  680     __gnu_cxx::__enable_if<!__is_scalar<_Tp>::__value, void>::__type
  682  	     const _Tp& __value)
usr/include/c++/7.4.0/bits/stl_construct.h
   74     _Construct(_T1* __p, _Args&&... __args)
   74     _Construct(_T1* __p, _Args&&... __args)
   75     { ::new(static_cast<void*>(__p)) _T1(std::forward<_Args>(__args)...); }
   75     { ::new(static_cast<void*>(__p)) _T1(std::forward<_Args>(__args)...); }
   97     _Destroy(_Tp* __pointer)
  204 	     allocator<_Tp>&)
usr/include/c++/7.4.0/bits/stl_iterator.h
 1224     __make_move_if_noexcept_iterator(_Tp* __i)
usr/include/c++/7.4.0/bits/stl_iterator_base_types.h
  181       typedef _Tp                         value_type;
  183       typedef _Tp*                        pointer;
  184       typedef _Tp&                        reference;
  192       typedef _Tp                         value_type;
  194       typedef const _Tp*                  pointer;
  195       typedef const _Tp&                  reference;
usr/include/c++/7.4.0/bits/stl_map.h
  103       typedef _Tp					mapped_type;
  104       typedef std::pair<const _Key, _Tp>		value_type;
usr/include/c++/7.4.0/bits/stl_pair.h
  209     : private __pair_base<_T1, _T2>
  212       typedef _T2 second_type;   /// @c second_type is the second bound type
  215       _T2 second;                /// @c second is a copy of the second object
  252       using _PCCP = _PCC<true, _T1, _T2>;
  260       constexpr pair(const _T1& __a, const _T2& __b)
  269       explicit constexpr pair(const _T1& __a, const _T2& __b)
  283 			    _T1, _T2>;
  311        constexpr pair(_U1&& __x, const _T2& __y)
  318        explicit constexpr pair(_U1&& __x, const _T2& __y)
  380 		       is_copy_assignable<_T2>>::value,
  391 		       is_move_assignable<_T2>>::value,
usr/include/c++/7.4.0/bits/stl_uninitialized.h
  204 			const _Tp& __x)
  244     uninitialized_fill_n(_ForwardIterator __first, _Size __n, const _Tp& __x)
  288 			   _ForwardIterator __result, allocator<_Tp>&)
  344 			     const _Tp& __x, _Allocator& __alloc)
  365 			     const _Tp& __x, allocator<_Tp2>&)
  365 			     const _Tp& __x, allocator<_Tp2>&)
  644 				allocator<_Tp>&)
usr/include/c++/7.4.0/bits/stl_vector.h
   77 	rebind<_Tp>::other _Tp_alloc_type;
  216     class vector : protected _Vector_base<_Tp, _Alloc>
  227       typedef _Vector_base<_Tp, _Alloc>			_Base;
  232       typedef _Tp					value_type;
  919       _Tp*
  923       const _Tp*
  962 	emplace_back(_Args&&... __args);
 1455 	  _Temporary_value(vector* __vec, _Args&&... __args) : _M_this(__vec)
 1472 	typename aligned_storage<sizeof(_Tp), alignof(_Tp)>::type __buf;
 1472 	typename aligned_storage<sizeof(_Tp), alignof(_Tp)>::type __buf;
 1483 	_M_realloc_insert(iterator __position, _Args&&... __args);
 1561 	_Up*
 1562 	_M_data_ptr(_Up* __ptr) const _GLIBCXX_NOEXCEPT
usr/include/c++/7.4.0/bits/vector.tcc
  101 				     std::forward<_Args>(__args)...);
  105 	  _M_realloc_insert(end(), std::forward<_Args>(__args)...);
  418 				   std::forward<_Args>(__args)...);
usr/include/c++/7.4.0/ext/alloc_traits.h
  117       { typedef typename _Base_type::template rebind_alloc<_Tp> other; };
usr/include/c++/7.4.0/ext/new_allocator.h
   63       typedef _Tp*       pointer;
   64       typedef const _Tp* const_pointer;
   65       typedef _Tp&       reference;
   66       typedef const _Tp& const_reference;
   67       typedef _Tp        value_type;
   84 	new_allocator(const new_allocator<_Tp1>&) _GLIBCXX_USE_NOEXCEPT { }
  111 	return static_cast<_Tp*>(::operator new(__n * sizeof(_Tp)));
  130       { return size_t(-1) / sizeof(_Tp); }
  135 	construct(_Up* __p, _Args&&... __args)
  135 	construct(_Up* __p, _Args&&... __args)
  136 	{ ::new((void *)__p) _Up(std::forward<_Args>(__args)...); }
  136 	{ ::new((void *)__p) _Up(std::forward<_Args>(__args)...); }
  140 	destroy(_Up* __p) { __p->~_Up(); }
  160     operator!=(const new_allocator<_Tp>&, const new_allocator<_Tp>&)
  160     operator!=(const new_allocator<_Tp>&, const new_allocator<_Tp>&)
usr/include/c++/7.4.0/initializer_list
   50       typedef _E 		value_type;
   51       typedef const _E& 	reference;
   52       typedef const _E& 	const_reference;
   54       typedef const _E* 	iterator;
   55       typedef const _E* 	const_iterator;
usr/include/c++/7.4.0/type_traits
  215     : public __is_void_helper<typename remove_cv<_Tp>::type>::type
  326     : public __is_integral_helper<typename remove_cv<_Tp>::type>::type
  354     : public __is_floating_point_helper<typename remove_cv<_Tp>::type>::type
  381     : public __is_pointer_helper<typename remove_cv<_Tp>::type>::type
  567     : public __is_null_pointer_helper<typename remove_cv<_Tp>::type>::type
  581     : public __or_<is_lvalue_reference<_Tp>,
  582                    is_rvalue_reference<_Tp>>::type
  588     : public __or_<is_integral<_Tp>, is_floating_point<_Tp>>::type
  588     : public __or_<is_integral<_Tp>, is_floating_point<_Tp>>::type
  601     : public __not_<__or_<is_function<_Tp>, is_reference<_Tp>,
  601     : public __not_<__or_<is_function<_Tp>, is_reference<_Tp>,
  602                           is_void<_Tp>>>::type
  611     : public __or_<is_arithmetic<_Tp>, is_enum<_Tp>, is_pointer<_Tp>,
  611     : public __or_<is_arithmetic<_Tp>, is_enum<_Tp>, is_pointer<_Tp>,
  611     : public __or_<is_arithmetic<_Tp>, is_enum<_Tp>, is_pointer<_Tp>,
  612                    is_member_pointer<_Tp>, is_null_pointer<_Tp>>::type
  612                    is_member_pointer<_Tp>, is_null_pointer<_Tp>>::type
  631     : public __is_member_pointer_helper<typename remove_cv<_Tp>::type>::type
  638     : public __or_<is_object<_Tp>, is_reference<_Tp>>::type
  638     : public __or_<is_object<_Tp>, is_reference<_Tp>>::type
  777     : public __and_<is_array<_Tp>, __not_<extent<_Tp>>>
  777     : public __and_<is_array<_Tp>, __not_<extent<_Tp>>>
  798       typedef decltype(__test<_Tp>(0)) type;
  811                remove_all_extents<_Tp>::type>::type
  825     : public __is_destructible_safe<_Tp>::type
  984       typedef decltype(__test<_Tp, _Arg>(0)) type;
  989     : public __and_<is_destructible<_Tp>,
  990                     __is_direct_constructible_impl<_Tp, _Arg>>
 1072 			 __is_direct_constructible_ref_cast<_Tp, _Arg>,
 1073 			 __is_direct_constructible_new_safe<_Tp, _Arg>
 1079     : public __is_direct_constructible_new<_Tp, _Arg>::type
 1119     : public __is_direct_constructible<_Tp, _Arg>
 1130     : public __is_constructible_impl<_Tp, _Args...>::type
 1142     : public is_constructible<_Tp, const _Tp&>
 1142     : public is_constructible<_Tp, const _Tp&>
 1148     : public __is_copy_constructible_impl<_Tp>
 1215     : public __and_<is_constructible<_Tp, _Args...>,
 1216 		    __is_nt_constructible_impl<_Tp, _Args...>>
 1246     : public is_nothrow_constructible<_Tp, _Tp&&>
 1246     : public is_nothrow_constructible<_Tp, _Tp&&>
 1252     : public __is_nothrow_move_constructible_impl<_Tp>
 1286     : public is_assignable<_Tp&, const _Tp&>
 1286     : public is_assignable<_Tp&, const _Tp&>
 1292     : public __is_copy_assignable_impl<_Tp>
 1554     { typedef _Tp     type; };
 1563     { typedef _Tp     type; };
 1574       remove_const<typename remove_volatile<_Tp>::type>::type     type;
 1629     { typedef _Tp   type; };
 1633     { typedef _Tp   type; };
 1659     { typedef _Tp&&   type; };
 1955     { typedef _Tp     type; };
 2171     { typedef _Iffalse type; };