/external/swiftshader/third_party/LLVM/lib/ExecutionEngine/Interpreter/ |
D | Execution.cpp | 114 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 …]
|
D | ExternalFunctions.cpp | 139 *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/ |
D | Execution.cpp | 116 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 …]
|
D | ExternalFunctions.cpp | 139 *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-7.0/llvm/lib/ExecutionEngine/Interpreter/ |
D | Execution.cpp | 116 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 …]
|
D | ExternalFunctions.cpp | 150 *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() 238 case 8: Result.IntVal = APInt(8 , *(int8_t *) ret.data()); break; in ffiInvoke() 239 case 16: Result.IntVal = APInt(16, *(int16_t*) ret.data()); break; in ffiInvoke() 240 case 32: Result.IntVal = APInt(32, *(int32_t*) ret.data()); break; in ffiInvoke() 241 case 64: Result.IntVal = APInt(64, *(int64_t*) ret.data()); break; in ffiInvoke() 314 GV.IntVal = 0; in lle_X_atexit() 343 GV.IntVal = APInt(32, strlen(FmtStr)); in lle_X_sprintf() [all …]
|
/external/swiftshader/third_party/LLVM/lib/ExecutionEngine/ |
D | ExecutionEngine.cpp | 360 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 …]
|
/external/llvm/lib/ExecutionEngine/ |
D | ExecutionEngine.cpp | 428 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/swiftshader/third_party/llvm-7.0/llvm/lib/ExecutionEngine/ |
D | ExecutionEngine.cpp | 432 GVArgc.IntVal = APInt(32, argv.size()); in runFunctionAsMain() 471 return runFunction(Fn, GVArgs).IntVal.getZExtValue(); in runFunctionAsMain() 608 Result.IntVal = APInt(C->getType()->getPrimitiveSizeInBits(), 0); in getConstantValue() 618 Result.AggregateVal[i].IntVal = in getConstantValue() 636 Result.AggregateVal[i].IntVal = in getConstantValue() 660 GV.IntVal = GV.IntVal.trunc(BitWidth); in getConstantValue() 666 GV.IntVal = GV.IntVal.zext(BitWidth); in getConstantValue() 672 GV.IntVal = GV.IntVal.sext(BitWidth); in getConstantValue() 690 GV.FloatVal = float(GV.IntVal.roundToDouble()); in getConstantValue() 692 GV.DoubleVal = GV.IntVal.roundToDouble(); in getConstantValue() [all …]
|
/external/clang/include/clang/AST/ |
D | CommentLexer.h | 79 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/ |
D | OrcMCJITReplacement.cpp | 55 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-7.0/llvm/lib/ExecutionEngine/Orc/ |
D | OrcMCJITReplacement.cpp | 55 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/ |
D | MCJIT.cpp | 150 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/swiftshader/third_party/llvm-7.0/llvm/include/llvm/MC/ |
D | MCAsmMacro.h | 73 APInt IntVal; variable 77 AsmToken(TokenKind Kind, StringRef Str, APInt IntVal) in AsmToken() argument 78 : Kind(Kind), Str(Str), IntVal(std::move(IntVal)) {} in AsmToken() 79 AsmToken(TokenKind Kind, StringRef Str, int64_t IntVal = 0) 80 : Kind(Kind), Str(Str), IntVal(64, IntVal, true) {} in Kind() 118 return IntVal.getZExtValue(); in getIntVal() 124 return IntVal; in getAPIntVal()
|
/external/llvm/include/llvm/MC/MCParser/ |
D | MCAsmLexer.h | 68 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/ |
D | JIT.cpp | 415 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/ |
D | GenericValue.h | 34 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/swiftshader/third_party/llvm-7.0/llvm/include/llvm/ExecutionEngine/ |
D | GenericValue.h | 36 APInt IntVal; // also used for long doubles. member 43 GenericValue() : IntVal(1, 0) { in GenericValue() 47 explicit GenericValue(void *V) : PointerVal(V), IntVal(1, 0) {} in GenericValue()
|
/external/llvm/include/llvm/ExecutionEngine/ |
D | GenericValue.h | 39 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-7.0/llvm/include/llvm/ADT/ |
D | PointerIntPair.h | 50 PointerIntPair(PointerTy PtrVal, IntType IntVal) { in PointerIntPair() argument 51 setPointerAndInt(PtrVal, IntVal); in PointerIntPair() 64 void setInt(IntType IntVal) { in setInt() argument 65 Value = Info::updateInt(Value, static_cast<intptr_t>(IntVal)); in setInt() 72 void setPointerAndInt(PointerTy PtrVal, IntType IntVal) { in setPointerAndInt() argument 74 static_cast<intptr_t>(IntVal)); in setPointerAndInt()
|
/external/swiftshader/third_party/llvm-subzero/include/llvm/ADT/ |
D | PointerIntPair.h | 51 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/ |
D | PointerIntPair.h | 51 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/lib/ExecutionEngine/MCJIT/ |
D | MCJIT.cpp | 521 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/include/llvm/MC/MCParser/ |
D | MCAsmLexer.h | 62 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/swiftshader/third_party/llvm-7.0/llvm/lib/ExecutionEngine/MCJIT/ |
D | MCJIT.cpp | 535 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()
|