Home
last modified time | relevance | path

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

123

/external/swiftshader/third_party/LLVM/lib/ExecutionEngine/Interpreter/
DExecution.cpp114 Dest.IntVal = APInt(1,Src1.IntVal.OP(Src2.IntVal)); \
123 Dest.IntVal = APInt(1,(void*)(intptr_t)Src1.PointerVal OP \
285 Dest.IntVal = APInt(1,Src1.TY##Val OP Src2.TY##Val); \
370 Dest.IntVal = APInt(1,true); \
374 Dest.IntVal = APInt(1,true); \
425 Dest.IntVal = APInt(1,(Src1.FloatVal == Src1.FloatVal && in executeFCMP_ORD()
428 Dest.IntVal = APInt(1,(Src1.DoubleVal == Src1.DoubleVal && in executeFCMP_ORD()
437 Dest.IntVal = APInt(1,(Src1.FloatVal != Src1.FloatVal || in executeFCMP_UNO()
440 Dest.IntVal = APInt(1,(Src1.DoubleVal != Src1.DoubleVal || in executeFCMP_UNO()
453 case FCmpInst::FCMP_FALSE: R.IntVal = APInt(1,false); break; in visitFCmpInst()
[all …]
DExternalFunctions.cpp139 *I8Ptr = (int8_t) AV.IntVal.getZExtValue(); in ffiValueFor()
144 *I16Ptr = (int16_t) AV.IntVal.getZExtValue(); in ffiValueFor()
149 *I32Ptr = (int32_t) AV.IntVal.getZExtValue(); in ffiValueFor()
154 *I64Ptr = (int64_t) AV.IntVal.getZExtValue(); in ffiValueFor()
228 case 8: Result.IntVal = APInt(8 , *(int8_t *) ret.data()); break; in ffiInvoke()
229 case 16: Result.IntVal = APInt(16, *(int16_t*) ret.data()); break; in ffiInvoke()
230 case 32: Result.IntVal = APInt(32, *(int32_t*) ret.data()); break; in ffiInvoke()
231 case 64: Result.IntVal = APInt(64, *(int64_t*) ret.data()); break; in ffiInvoke()
312 GV.IntVal = 0; in lle_X_atexit()
343 GV.IntVal = APInt(32, strlen(FmtStr)); in lle_X_sprintf()
[all …]
/external/llvm/lib/ExecutionEngine/Interpreter/
DExecution.cpp116 Dest.IntVal = APInt(1,Src1.IntVal.OP(Src2.IntVal)); \
124 Dest.AggregateVal[_i].IntVal = APInt(1, \
125 Src1.AggregateVal[_i].IntVal.OP(Src2.AggregateVal[_i].IntVal));\
134 Dest.IntVal = APInt(1,(void*)(intptr_t)Src1.PointerVal OP \
306 Dest.IntVal = APInt(1,Src1.TY##Val OP Src2.TY##Val); \
313 Dest.AggregateVal[_i].IntVal = APInt(1, \
342 Dest.IntVal = APInt(1,false); \
347 Dest.IntVal = APInt(1,false); \
358 Dest.AggregateVal[_i].IntVal = APInt(1,FLAG); \
360 Dest.AggregateVal[_i].IntVal = APInt(1,!FLAG); \
[all …]
DExternalFunctions.cpp139 *I8Ptr = (int8_t) AV.IntVal.getZExtValue(); in ffiValueFor()
144 *I16Ptr = (int16_t) AV.IntVal.getZExtValue(); in ffiValueFor()
149 *I32Ptr = (int32_t) AV.IntVal.getZExtValue(); in ffiValueFor()
154 *I64Ptr = (int64_t) AV.IntVal.getZExtValue(); in ffiValueFor()
227 case 8: Result.IntVal = APInt(8 , *(int8_t *) ret.data()); break; in ffiInvoke()
228 case 16: Result.IntVal = APInt(16, *(int16_t*) ret.data()); break; in ffiInvoke()
229 case 32: Result.IntVal = APInt(32, *(int32_t*) ret.data()); break; in ffiInvoke()
230 case 64: Result.IntVal = APInt(64, *(int64_t*) ret.data()); break; in ffiInvoke()
304 GV.IntVal = 0; in lle_X_atexit()
333 GV.IntVal = APInt(32, strlen(FmtStr)); in lle_X_sprintf()
[all …]
/external/swiftshader/third_party/LLVM/lib/ExecutionEngine/
DExecutionEngine.cpp360 GVArgc.IntVal = APInt(32, argv.size()); in runFunctionAsMain()
399 return runFunction(Fn, GVArgs).IntVal.getZExtValue(); in runFunctionAsMain()
534 Result.IntVal = APInt(C->getType()->getPrimitiveSizeInBits(), 0); in getConstantValue()
559 GV.IntVal = GV.IntVal.trunc(BitWidth); in getConstantValue()
565 GV.IntVal = GV.IntVal.zext(BitWidth); in getConstantValue()
571 GV.IntVal = GV.IntVal.sext(BitWidth); in getConstantValue()
589 GV.FloatVal = float(GV.IntVal.roundToDouble()); in getConstantValue()
591 GV.DoubleVal = GV.IntVal.roundToDouble(); in getConstantValue()
594 (void)apf.convertFromAPInt(GV.IntVal, in getConstantValue()
597 GV.IntVal = apf.bitcastToAPInt(); in getConstantValue()
[all …]
DExecutionEngineBindings.cpp29 GenVal->IntVal = APInt(unwrap<IntegerType>(Ty)->getBitWidth(), N, IsSigned); in LLVMCreateGenericValueOfInt()
55 return unwrap(GenValRef)->IntVal.getBitWidth(); in LLVMGenericValueIntWidth()
62 return GenVal->IntVal.getSExtValue(); in LLVMGenericValueToInt()
64 return GenVal->IntVal.getZExtValue(); in LLVMGenericValueToInt()
/external/llvm/lib/ExecutionEngine/
DExecutionEngine.cpp428 GVArgc.IntVal = APInt(32, argv.size()); in runFunctionAsMain()
467 return runFunction(Fn, GVArgs).IntVal.getZExtValue(); in runFunctionAsMain()
605 Result.IntVal = APInt(C->getType()->getPrimitiveSizeInBits(), 0); in getConstantValue()
615 Result.AggregateVal[i].IntVal = in getConstantValue()
633 Result.AggregateVal[i].IntVal = in getConstantValue()
657 GV.IntVal = GV.IntVal.trunc(BitWidth); in getConstantValue()
663 GV.IntVal = GV.IntVal.zext(BitWidth); in getConstantValue()
669 GV.IntVal = GV.IntVal.sext(BitWidth); in getConstantValue()
687 GV.FloatVal = float(GV.IntVal.roundToDouble()); in getConstantValue()
689 GV.DoubleVal = GV.IntVal.roundToDouble(); in getConstantValue()
[all …]
/external/clang/include/clang/AST/
DCommentLexer.h79 unsigned IntVal; variable
102 return StringRef(TextPtr, IntVal); in getText()
108 IntVal = Text.size(); in setText()
113 return StringRef(TextPtr, IntVal); in getUnknownCommandName()
119 IntVal = Name.size(); in setUnknownCommandName()
124 return IntVal; in getCommandID()
129 IntVal = ID; in setCommandID()
134 return IntVal; in getVerbatimBlockID()
139 IntVal = ID; in setVerbatimBlockID()
144 return StringRef(TextPtr, IntVal); in getVerbatimBlockText()
[all …]
/external/llvm/lib/ExecutionEngine/Orc/
DOrcMCJITReplacement.cpp55 rv.IntVal = APInt(32, PF(ArgValues[0].IntVal.getZExtValue(), in runFunction()
68 rv.IntVal = APInt(32, PF(ArgValues[0].IntVal.getZExtValue(), in runFunction()
77 rv.IntVal = APInt(32, PF(ArgValues[0].IntVal.getZExtValue())); in runFunction()
93 rv.IntVal = APInt(BitWidth, ((bool (*)())(intptr_t)FPtr)()); in runFunction()
95 rv.IntVal = APInt(BitWidth, ((char (*)())(intptr_t)FPtr)()); in runFunction()
97 rv.IntVal = APInt(BitWidth, ((short (*)())(intptr_t)FPtr)()); in runFunction()
99 rv.IntVal = APInt(BitWidth, ((int (*)())(intptr_t)FPtr)()); in runFunction()
101 rv.IntVal = APInt(BitWidth, ((int64_t (*)())(intptr_t)FPtr)()); in runFunction()
107 rv.IntVal = APInt(32, ((int (*)())(intptr_t)FPtr)()); in runFunction()
/external/swiftshader/third_party/LLVM/lib/ExecutionEngine/MCJIT/
DMCJIT.cpp150 rv.IntVal = APInt(32, PF(ArgValues[0].IntVal.getZExtValue(), in runFunction()
163 rv.IntVal = APInt(32, PF(ArgValues[0].IntVal.getZExtValue(), in runFunction()
173 rv.IntVal = APInt(32, PF(ArgValues[0].IntVal.getZExtValue())); in runFunction()
188 rv.IntVal = APInt(BitWidth, ((bool(*)())(intptr_t)FPtr)()); in runFunction()
190 rv.IntVal = APInt(BitWidth, ((char(*)())(intptr_t)FPtr)()); in runFunction()
192 rv.IntVal = APInt(BitWidth, ((short(*)())(intptr_t)FPtr)()); in runFunction()
194 rv.IntVal = APInt(BitWidth, ((int(*)())(intptr_t)FPtr)()); in runFunction()
196 rv.IntVal = APInt(BitWidth, ((int64_t(*)())(intptr_t)FPtr)()); in runFunction()
202 rv.IntVal = APInt(32, ((int(*)())(intptr_t)FPtr)()); in runFunction()
/external/llvm/include/llvm/MC/MCParser/
DMCAsmLexer.h68 APInt IntVal; variable
72 AsmToken(TokenKind Kind, StringRef Str, APInt IntVal) in AsmToken() argument
73 : Kind(Kind), Str(Str), IntVal(std::move(IntVal)) {} in AsmToken()
74 AsmToken(TokenKind Kind, StringRef Str, int64_t IntVal = 0)
75 : Kind(Kind), Str(Str), IntVal(64, IntVal, true) {} in Kind()
113 return IntVal.getZExtValue(); in getIntVal()
119 return IntVal; in getAPIntVal()
/external/swiftshader/third_party/LLVM/lib/ExecutionEngine/JIT/
DJIT.cpp415 rv.IntVal = APInt(32, PF(ArgValues[0].IntVal.getZExtValue(), in runFunction()
428 rv.IntVal = APInt(32, PF(ArgValues[0].IntVal.getZExtValue(), in runFunction()
438 rv.IntVal = APInt(32, PF(ArgValues[0].IntVal.getZExtValue())); in runFunction()
453 rv.IntVal = APInt(BitWidth, ((bool(*)())(intptr_t)FPtr)()); in runFunction()
455 rv.IntVal = APInt(BitWidth, ((char(*)())(intptr_t)FPtr)()); in runFunction()
457 rv.IntVal = APInt(BitWidth, ((short(*)())(intptr_t)FPtr)()); in runFunction()
459 rv.IntVal = APInt(BitWidth, ((int(*)())(intptr_t)FPtr)()); in runFunction()
461 rv.IntVal = APInt(BitWidth, ((int64_t(*)())(intptr_t)FPtr)()); in runFunction()
467 rv.IntVal = APInt(32, ((int(*)())(intptr_t)FPtr)()); in runFunction()
508 C = ConstantInt::get(F->getContext(), AV.IntVal); in runFunction()
[all …]
/external/swiftshader/third_party/LLVM/include/llvm/ExecutionEngine/
DGenericValue.h34 APInt IntVal; // also used for long doubles member
36 GenericValue() : DoubleVal(0.0), IntVal(1,0) {} in GenericValue()
37 explicit GenericValue(void *V) : PointerVal(V), IntVal(1,0) { } in GenericValue()
/external/llvm/include/llvm/ExecutionEngine/
DGenericValue.h39 APInt IntVal; // also used for long doubles. member
46 GenericValue() : IntVal(1,0) {UIntPairVal.first = 0; UIntPairVal.second = 0;} in GenericValue()
47 explicit GenericValue(void *V) : PointerVal(V), IntVal(1,0) { } in GenericValue()
/external/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()
/external/llvm/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()
/external/swiftshader/third_party/LLVM/include/llvm/MC/MCParser/
DMCAsmLexer.h62 int64_t IntVal; variable
67 : Kind(_Kind), Str(_Str), IntVal(_IntVal) {} in Kind()
103 return IntVal; in getIntVal()
110 return static_cast<unsigned>(IntVal); in getRegVal()
/external/llvm/lib/ExecutionEngine/MCJIT/
DMCJIT.cpp521 rv.IntVal = APInt(32, PF(ArgValues[0].IntVal.getZExtValue(), in runFunction()
534 rv.IntVal = APInt(32, PF(ArgValues[0].IntVal.getZExtValue(), in runFunction()
544 rv.IntVal = APInt(32, PF(ArgValues[0].IntVal.getZExtValue())); in runFunction()
559 rv.IntVal = APInt(BitWidth, ((bool(*)())(intptr_t)FPtr)()); in runFunction()
561 rv.IntVal = APInt(BitWidth, ((char(*)())(intptr_t)FPtr)()); in runFunction()
563 rv.IntVal = APInt(BitWidth, ((short(*)())(intptr_t)FPtr)()); in runFunction()
565 rv.IntVal = APInt(BitWidth, ((int(*)())(intptr_t)FPtr)()); in runFunction()
567 rv.IntVal = APInt(BitWidth, ((int64_t(*)())(intptr_t)FPtr)()); in runFunction()
573 rv.IntVal = APInt(32, ((int(*)())(intptr_t)FPtr)()); in runFunction()
/external/swiftshader/third_party/LLVM/unittests/ExecutionEngine/JIT/
DMultiJITTest.cpp94 EXPECT_EQ(gv1.IntVal, 11); in TEST()
95 EXPECT_EQ(gv2.IntVal, 12); in TEST()
124 EXPECT_EQ(gv1.IntVal, 11); in TEST()
125 EXPECT_EQ(gv2.IntVal, 12); in TEST()
/external/llvm/lib/Target/PowerPC/AsmParser/
DPPCAsmParser.cpp255 unsigned &RegNo, int64_t &IntVal);
1267 MatchRegisterName(const AsmToken &Tok, unsigned &RegNo, int64_t &IntVal) { in MatchRegisterName() argument
1273 IntVal = 8; in MatchRegisterName()
1277 IntVal = 9; in MatchRegisterName()
1281 IntVal = 256; in MatchRegisterName()
1284 !Name.substr(1).getAsInteger(10, IntVal) && IntVal < 32) { in MatchRegisterName()
1285 RegNo = isPPC64()? XRegs[IntVal] : RRegs[IntVal]; in MatchRegisterName()
1288 !Name.substr(1).getAsInteger(10, IntVal) && IntVal < 32) { in MatchRegisterName()
1289 RegNo = FRegs[IntVal]; in MatchRegisterName()
1292 !Name.substr(2).getAsInteger(10, IntVal) && IntVal < 64) { in MatchRegisterName()
[all …]
/external/llvm/lib/Transforms/InstCombine/
DInstCombineAddSub.cpp42 FAddendCoef() : IsFp(false), BufHasFpVal(false), IntVal(0) {} in FAddendCoef()
47 IsFp = false; IntVal = C; in set()
54 bool isZero() const { return isInt() ? !IntVal : getFpVal().isZero(); } in isZero()
63 bool isOne() const { return isInt() && IntVal == 1; } in isOne()
64 bool isTwo() const { return isInt() && IntVal == 2; } in isTwo()
65 bool isMinusOne() const { return isInt() && IntVal == -1; } in isMinusOne()
66 bool isMinusTwo() const { return isInt() && IntVal == -2; } in isMinusTwo()
106 short IntVal; member in __anone6bb08c70111::FAddendCoef
234 if (IntVal > 0) in convertToFpType()
235 new(P) APFloat(Sem, IntVal); in convertToFpType()
[all …]
/external/swiftshader/third_party/LLVM/bindings/ocaml/executionengine/
Dllvm_executionengine.mli35 [w]. See the field [llvm::GenericValue::IntVal]. *)
39 [w]. See the field [llvm::GenericValue::IntVal]. *)
43 bitwidth [w]. See the field [llvm::GenericValue::IntVal]. *)
48 [w]. See the field [llvm::GenericValue::IntVal]. *)
62 [llvm::GenericValue::IntVal]. *)
68 [llvm::GenericValue::IntVal]. *)
73 [nativeint]. See the field [llvm::GenericValue::IntVal]. *)
78 [llvm::GenericValue::IntVal]. *)
/external/llvm/lib/CodeGen/MIRParser/
DMILexer.h130 APSInt IntVal; member
139 MIToken &setIntegerValue(APSInt IntVal);
177 const APSInt &integerValue() const { return IntVal; } in integerValue()
/external/swiftshader/third_party/LLVM/include/llvm/ADT/
DPointerIntPair.h86 intptr_t IntVal = Int; in setInt() local
87 assert(IntVal < (1 << IntBits) && "Integer too large for field"); in setInt()
91 Value |= IntVal << IntShift; // Set new integer. in setInt()
/external/swiftshader/third_party/LLVM/lib/TableGen/
DTGLexer.h52 IntVal, enumerator
99 assert(CurCode == tgtok::IntVal && "This token isn't an integer"); in getCurIntVal()

123