Home
last modified time | relevance | path

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

12

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/ExecutionEngine/Interpreter/
DExecution.cpp169 Dest.IntVal = APInt(1,Src1.IntVal.OP(Src2.IntVal)); \
177 Dest.AggregateVal[_i].IntVal = APInt(1, \
178 Src1.AggregateVal[_i].IntVal.OP(Src2.AggregateVal[_i].IntVal));\
187 Dest.IntVal = APInt(1,(void*)(intptr_t)Src1.PointerVal OP \
359 Dest.IntVal = APInt(1,Src1.TY##Val OP Src2.TY##Val); \
366 Dest.AggregateVal[_i].IntVal = APInt(1, \
395 Dest.IntVal = APInt(1,false); \
400 Dest.IntVal = APInt(1,false); \
411 Dest.AggregateVal[_i].IntVal = APInt(1,FLAG); \
413 Dest.AggregateVal[_i].IntVal = APInt(1,!FLAG); \
[all …]
DExternalFunctions.cpp150 *I8Ptr = (int8_t) AV.IntVal.getZExtValue(); in ffiValueFor()
155 *I16Ptr = (int16_t) AV.IntVal.getZExtValue(); in ffiValueFor()
160 *I32Ptr = (int32_t) AV.IntVal.getZExtValue(); in ffiValueFor()
165 *I64Ptr = (int64_t) AV.IntVal.getZExtValue(); in ffiValueFor()
239 case 8: Result.IntVal = APInt(8 , *(int8_t *) ret.data()); break; in ffiInvoke()
240 case 16: Result.IntVal = APInt(16, *(int16_t*) ret.data()); break; in ffiInvoke()
241 case 32: Result.IntVal = APInt(32, *(int32_t*) ret.data()); break; in ffiInvoke()
242 case 64: Result.IntVal = APInt(64, *(int64_t*) ret.data()); break; in ffiInvoke()
315 GV.IntVal = 0; in lle_X_atexit()
344 GV.IntVal = APInt(32, strlen(FmtStr)); in lle_X_sprintf()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/ExecutionEngine/
DExecutionEngine.cpp431 GVArgc.IntVal = APInt(32, argv.size()); in runFunctionAsMain()
470 return runFunction(Fn, GVArgs).IntVal.getZExtValue(); in runFunctionAsMain()
607 Result.IntVal = APInt(C->getType()->getPrimitiveSizeInBits(), 0); in getConstantValue()
617 Result.AggregateVal[i].IntVal = in getConstantValue()
635 Result.AggregateVal[i].IntVal = in getConstantValue()
659 GV.IntVal = GV.IntVal.trunc(BitWidth); in getConstantValue()
665 GV.IntVal = GV.IntVal.zext(BitWidth); in getConstantValue()
671 GV.IntVal = GV.IntVal.sext(BitWidth); in getConstantValue()
689 GV.FloatVal = float(GV.IntVal.roundToDouble()); in getConstantValue()
691 GV.DoubleVal = GV.IntVal.roundToDouble(); in getConstantValue()
[all …]
DExecutionEngineBindings.cpp44 GenVal->IntVal = APInt(unwrap<IntegerType>(Ty)->getBitWidth(), N, IsSigned); in LLVMCreateGenericValueOfInt()
70 return unwrap(GenValRef)->IntVal.getBitWidth(); in LLVMGenericValueIntWidth()
77 return GenVal->IntVal.getSExtValue(); in LLVMGenericValueToInt()
79 return GenVal->IntVal.getZExtValue(); in LLVMGenericValueToInt()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/ExecutionEngine/Orc/
DOrcMCJITReplacement.cpp54 rv.IntVal = APInt(32, PF(ArgValues[0].IntVal.getZExtValue(), in runFunction()
67 rv.IntVal = APInt(32, PF(ArgValues[0].IntVal.getZExtValue(), in runFunction()
76 rv.IntVal = APInt(32, PF(ArgValues[0].IntVal.getZExtValue())); in runFunction()
92 rv.IntVal = APInt(BitWidth, ((bool (*)())(intptr_t)FPtr)()); in runFunction()
94 rv.IntVal = APInt(BitWidth, ((char (*)())(intptr_t)FPtr)()); in runFunction()
96 rv.IntVal = APInt(BitWidth, ((short (*)())(intptr_t)FPtr)()); in runFunction()
98 rv.IntVal = APInt(BitWidth, ((int (*)())(intptr_t)FPtr)()); in runFunction()
100 rv.IntVal = APInt(BitWidth, ((int64_t (*)())(intptr_t)FPtr)()); in runFunction()
106 rv.IntVal = APInt(32, ((int (*)())(intptr_t)FPtr)()); in runFunction()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/MC/
DMCAsmMacro.h72 APInt IntVal; variable
76 AsmToken(TokenKind Kind, StringRef Str, APInt IntVal) in AsmToken() argument
77 : Kind(Kind), Str(Str), IntVal(std::move(IntVal)) {} in AsmToken()
78 AsmToken(TokenKind Kind, StringRef Str, int64_t IntVal = 0)
79 : Kind(Kind), Str(Str), IntVal(64, IntVal, true) {} in Kind()
117 return IntVal.getZExtValue(); in getIntVal()
123 return IntVal; in getAPIntVal()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ExecutionEngine/
DGenericValue.h35 APInt IntVal; // also used for long doubles. member
42 GenericValue() : IntVal(1, 0) { in GenericValue()
46 explicit GenericValue(void *V) : PointerVal(V), IntVal(1, 0) {} in GenericValue()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/include/llvm/ADT/
DPointerIntPair.h51 PointerIntPair(PointerTy PtrVal, IntType IntVal) { in PointerIntPair() argument
52 setPointerAndInt(PtrVal, IntVal); in PointerIntPair()
66 void setInt(IntType IntVal) { in setInt() argument
67 Value = Info::updateInt(Value, static_cast<intptr_t>(IntVal)); in setInt()
74 void setPointerAndInt(PointerTy PtrVal, IntType IntVal) { in setPointerAndInt() argument
76 static_cast<intptr_t>(IntVal)); in setPointerAndInt()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/PowerPC/AsmParser/
DPPCAsmParser.cpp109 bool MatchRegisterName(unsigned &RegNo, int64_t &IntVal);
1173 bool PPCAsmParser::MatchRegisterName(unsigned &RegNo, int64_t &IntVal) { in MatchRegisterName() argument
1178 IntVal = 8; in MatchRegisterName()
1181 IntVal = 9; in MatchRegisterName()
1184 IntVal = 256; in MatchRegisterName()
1186 !Name.substr(1).getAsInteger(10, IntVal) && IntVal < 32) { in MatchRegisterName()
1187 RegNo = isPPC64()? XRegs[IntVal] : RRegs[IntVal]; in MatchRegisterName()
1189 !Name.substr(1).getAsInteger(10, IntVal) && IntVal < 32) { in MatchRegisterName()
1190 RegNo = FRegs[IntVal]; in MatchRegisterName()
1192 !Name.substr(2).getAsInteger(10, IntVal) && IntVal < 64) { in MatchRegisterName()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ADT/
DPointerIntPair.h53 PointerIntPair(PointerTy PtrVal, IntType IntVal) { in PointerIntPair() argument
54 setPointerAndInt(PtrVal, IntVal); in PointerIntPair()
67 void setInt(IntType IntVal) LLVM_LVALUE_FUNCTION { in setInt() argument
68 Value = Info::updateInt(Value, static_cast<intptr_t>(IntVal)); in setInt()
75 void setPointerAndInt(PointerTy PtrVal, IntType IntVal) LLVM_LVALUE_FUNCTION { in setPointerAndInt() argument
77 static_cast<intptr_t>(IntVal)); in setPointerAndInt()
DAPInt.h2282 void StoreIntToMemory(const APInt &IntVal, uint8_t *Dst, unsigned StoreBytes);
2286 void LoadIntFromMemory(APInt &IntVal, uint8_t *Src, unsigned LoadBytes);
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/ExecutionEngine/MCJIT/
DMCJIT.cpp535 rv.IntVal = APInt(32, PF(ArgValues[0].IntVal.getZExtValue(), in runFunction()
548 rv.IntVal = APInt(32, PF(ArgValues[0].IntVal.getZExtValue(), in runFunction()
558 rv.IntVal = APInt(32, PF(ArgValues[0].IntVal.getZExtValue())); in runFunction()
573 rv.IntVal = APInt(BitWidth, ((bool(*)())(intptr_t)FPtr)()); in runFunction()
575 rv.IntVal = APInt(BitWidth, ((char(*)())(intptr_t)FPtr)()); in runFunction()
577 rv.IntVal = APInt(BitWidth, ((short(*)())(intptr_t)FPtr)()); in runFunction()
579 rv.IntVal = APInt(BitWidth, ((int(*)())(intptr_t)FPtr)()); in runFunction()
581 rv.IntVal = APInt(BitWidth, ((int64_t(*)())(intptr_t)FPtr)()); in runFunction()
587 rv.IntVal = APInt(32, ((int(*)())(intptr_t)FPtr)()); in runFunction()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/MIRParser/
DMILexer.h170 APSInt IntVal; member
179 MIToken &setIntegerValue(APSInt IntVal);
219 const APSInt &integerValue() const { return IntVal; } in integerValue()
DMILexer.cpp84 MIToken &MIToken::setIntegerValue(APSInt IntVal) { in setIntegerValue() argument
85 this->IntVal = std::move(IntVal); in setIntegerValue()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/InstCombine/
DInstCombineAddSub.cpp66 IsFp = false; IntVal = C; in set()
73 bool isZero() const { return isInt() ? !IntVal : getFpVal().isZero(); } in isZero()
76 bool isOne() const { return isInt() && IntVal == 1; } in isOne()
77 bool isTwo() const { return isInt() && IntVal == 2; } in isTwo()
78 bool isMinusOne() const { return isInt() && IntVal == -1; } in isMinusOne()
79 bool isMinusTwo() const { return isInt() && IntVal == -2; } in isMinusTwo()
120 short IntVal = 0; member in __anonfd3dfc700111::FAddendCoef
246 if (IntVal > 0) in convertToFpType()
247 new(P) APFloat(Sem, IntVal); in convertToFpType()
249 new(P) APFloat(Sem, 0 - IntVal); in convertToFpType()
[all …]
/third_party/gstreamer/gstplugins_good/gst/goom/
Dgoom_config_param.h39 struct IntVal { struct
70 struct IntVal ival;
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/TableGen/
DTGLexer.h58 IntVal, enumerator
117 assert(CurCode == tgtok::IntVal && "This token isn't an integer"); in getCurIntVal()
DTGLexer.cpp472 return tgtok::IntVal; in LexNumber()
498 return tgtok::IntVal; in LexNumber()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/AsmParser/
DAMDGPUAsmParser.cpp1286 bool parseCnt(int64_t &IntVal);
2379 int64_t IntVal; in parseImm() local
2399 if (Expr->evaluateAsAbsolute(IntVal)) { in parseImm()
2400 Operands.push_back(AMDGPUOperand::CreateImm(this, IntVal, S)); in parseImm()
4567 AMDGPUAsmParser::parseIntWithPrefix(const char *Prefix, int64_t &IntVal) { in parseIntWithPrefix() argument
4572 return parseExpr(IntVal) ? MatchOperand_Success : MatchOperand_ParseFail; in parseIntWithPrefix()
4896 int64_t &IntVal, in encodeCnt() argument
4904 IntVal = encode(ISA, IntVal, CntVal); in encodeCnt()
4905 if (CntVal != decode(ISA, IntVal)) { in encodeCnt()
4907 IntVal = encode(ISA, IntVal, -1); in encodeCnt()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/BPF/
DBTFDebug.cpp137 IntVal = (BTFEncoding << 24) | OffsetInBits << 16 | SizeInBits; in BTFTypeInt()
150 OS.AddComment("0x" + Twine::utohexstr(IntVal)); in emitType()
151 OS.EmitIntValue(IntVal, 4); in emitType()
DBTFDebug.h82 uint32_t IntVal; ///< Encoding, offset, bits variable
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Support/
DAPInt.cpp3065 void llvm::StoreIntToMemory(const APInt &IntVal, uint8_t *Dst, in StoreIntToMemory() argument
3067 assert((IntVal.getBitWidth()+7)/8 >= StoreBytes && "Integer too small!"); in StoreIntToMemory()
3068 const uint8_t *Src = (const uint8_t *)IntVal.getRawData(); in StoreIntToMemory()
3091 void llvm::LoadIntFromMemory(APInt &IntVal, uint8_t *Src, unsigned LoadBytes) { in LoadIntFromMemory() argument
3092 assert((IntVal.getBitWidth()+7)/8 >= LoadBytes && "Integer too small!"); in LoadIntFromMemory()
3094 const_cast<uint64_t *>(IntVal.getRawData())); in LoadIntFromMemory()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/MC/
DMCDwarf.cpp118 int IntVal) { in MakeStartMinusEndExpr() argument
127 MCConstantExpr::create(IntVal, MCOS.getContext()); in MakeStartMinusEndExpr()
137 makeStartPlusIntExpr(MCContext &Ctx, const MCSymbol &Start, int IntVal) { in makeStartPlusIntExpr() argument
140 const MCExpr *RHS = MCConstantExpr::create(IntVal, Ctx); in makeStartPlusIntExpr()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Mips/AsmParser/
DMipsAsmParser.cpp6057 unsigned IntVal; in matchFPURegisterName() local
6058 if (NumString.getAsInteger(10, IntVal)) in matchFPURegisterName()
6060 if (IntVal > 31) // Maximum index for fpu register. in matchFPURegisterName()
6062 return IntVal; in matchFPURegisterName()
6070 unsigned IntVal; in matchFCCRegisterName() local
6071 if (NumString.getAsInteger(10, IntVal)) in matchFCCRegisterName()
6073 if (IntVal > 7) // There are only 8 fcc registers. in matchFCCRegisterName()
6075 return IntVal; in matchFCCRegisterName()
6083 unsigned IntVal; in matchACRegisterName() local
6084 if (NumString.getAsInteger(10, IntVal)) in matchACRegisterName()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/IR/
DConstantFold.cpp614 APSInt IntVal(DestBitWidth, opc == Instruction::FPToUI); in ConstantFoldCastInstruction() local
616 V.convertToInteger(IntVal, APFloat::rmTowardZero, &ignored)) { in ConstantFoldCastInstruction()
621 return ConstantInt::get(FPC->getContext(), IntVal); in ConstantFoldCastInstruction()

12