Searched defs:Val (Results 1 - 3 of 3) sorted by relevance

/frameworks/compile/libbcc/lib/CodeGen/
H A DCodeEmitter.cpp595 // Stores the data in @Val of type @Ty at address @Addr.
596 void CodeEmitter::StoreValueToMemory(const llvm::GenericValue &Val, argument
603 const llvm::APInt &IntVal = Val.IntVal;
635 *reinterpret_cast<float*>(Addr) = Val.FloatVal;
639 *reinterpret_cast<double*>(Addr) = Val.DoubleVal;
643 memcpy(Addr, Val.IntVal.getRawData(), 10);
651 *((llvm::PointerTy*) Addr) = Val.PointerVal;
717 llvm::GenericValue Val; local
718 GetConstantValue(C, Val);
719 StoreValueToMemory(Val, Add
[all...]
/frameworks/compile/slang/
H A Dslang_rs_reflection.cpp703 const clang::APValue &Val) {
704 slangAssert(!Val.isUninit() && "Not a valid initializer");
707 slangAssert((Val.getKind() == clang::APValue::Int) &&
710 C.out() << ((Val.getInt().getSExtValue() == 0) ? "false" : "true")
719 const clang::APValue &Val) {
720 slangAssert(!Val.isUninit() && "Not a valid initializer");
723 switch (Val.getKind()) {
725 llvm::APInt api = Val.getInt();
733 llvm::APFloat apf = Val.getFloat();
762 const clang::APValue &Val) {
701 genInitBoolExportVariable(Context &C, const std::string &VarName, const clang::APValue &Val) argument
716 genInitPrimitiveExportVariable( Context &C, const std::string &VarName, const clang::APValue &Val) argument
759 genInitExportVariable(Context &C, const RSExportType *ET, const std::string &VarName, const clang::APValue &Val) argument
[all...]
/frameworks/compile/libbcc/bcinfo/BitReader_2_7/
H A DBitcodeReader.cpp75 static GlobalValue::LinkageTypes GetDecodedLinkage(unsigned Val) { argument
76 switch (Val) {
97 static GlobalValue::VisibilityTypes GetDecodedVisibility(unsigned Val) { argument
98 switch (Val) {
106 static int GetDecodedCastOpcode(unsigned Val) { argument
107 switch (Val) {
123 static int GetDecodedBinaryOpcode(unsigned Val, Type *Ty) { argument
124 switch (Val) {
2252 Value *Val;
2253 if (getValueTypePair(Record, OpNum, NextValueNo, Val))
2610 Value *Val, *Ptr; local
2623 Value *Val, *Ptr; local
[all...]

Completed in 500 milliseconds