Lines Matching full:interpreter
10 // This file contains the actual instruction interpreter.
14 #define DEBUG_TYPE "interpreter"
15 #include "Interpreter.h"
33 static cl::opt<bool> PrintVolatile("interpreter-print-volatile", cl::Hidden,
34 cl::desc("make the interpreter print every volatile load and store"));
276 void Interpreter::visitICmpInst(ICmpInst &I) {
608 void Interpreter::visitFCmpInst(FCmpInst &I) {
679 void Interpreter::visitBinaryOperator(BinaryOperator &I) {
793 void Interpreter::visitSelectInst(SelectInst &I) {
807 void Interpreter::exitCalled(GenericValue GV) {
824 void Interpreter::popStackAndReturnValueToCaller(Type *RetTy,
850 void Interpreter::visitReturnInst(ReturnInst &I) {
864 void Interpreter::visitUnreachableInst(UnreachableInst &I) {
868 void Interpreter::visitBranchInst(BranchInst &I) {
881 void Interpreter::visitSwitchInst(SwitchInst &I) {
929 void Interpreter::visitIndirectBrInst(IndirectBrInst &I) {
946 void Interpreter::SwitchToNewBasicBlock(BasicBlock *Dest, ExecutionContext &SF){
978 void Interpreter::visitAllocaInst(AllocaInst &I) {
1009 GenericValue Interpreter::executeGEPOperation(Value *Ptr, gep_type_iterator I,
1049 void Interpreter::visitGetElementPtrInst(GetElementPtrInst &I) {
1055 void Interpreter::visitLoadInst(LoadInst &I) {
1066 void Interpreter::visitStoreInst(StoreInst &I) {
1080 void Interpreter::visitCallSite(CallSite CS) {
1096 case Intrinsic::vaend: // va_end is a noop for the interpreter
1153 void Interpreter::visitShl(BinaryOperator &I) {
1180 void Interpreter::visitLShr(BinaryOperator &I) {
1207 void Interpreter::visitAShr(BinaryOperator &I) {
1234 GenericValue Interpreter::executeTruncInst(Value *SrcVal, Type *DstTy,
1254 GenericValue Interpreter::executeSExtInst(Value *SrcVal, Type *DstTy,
1274 GenericValue Interpreter::executeZExtInst(Value *SrcVal, Type *DstTy,
1295 GenericValue Interpreter::executeFPTruncInst(Value *SrcVal, Type *DstTy,
1318 GenericValue Interpreter::executeFPExtInst(Value *SrcVal, Type *DstTy,
1340 GenericValue Interpreter::executeFPToUIInst(Value *SrcVal, Type *DstTy,
1378 GenericValue Interpreter::executeFPToSIInst(Value *SrcVal, Type *DstTy,
1415 GenericValue Interpreter::executeUIToFPInst(Value *SrcVal, Type *DstTy,
1447 GenericValue Interpreter::executeSIToFPInst(Value *SrcVal, Type *DstTy,
1481 GenericValue Interpreter::executePtrToIntInst(Value *SrcVal, Type *DstTy,
1491 GenericValue Interpreter::executeIntToPtrInst(Value *SrcVal, Type *DstTy,
1504 GenericValue Interpreter::executeBitCastInst(Value *SrcVal, Type *DstTy,
1671 void Interpreter::visitTruncInst(TruncInst &I) {
1676 void Interpreter::visitSExtInst(SExtInst &I) {
1681 void Interpreter::visitZExtInst(ZExtInst &I) {
1686 void Interpreter::visitFPTruncInst(FPTruncInst &I) {
1691 void Interpreter::visitFPExtInst(FPExtInst &I) {
1696 void Interpreter::visitUIToFPInst(UIToFPInst &I) {
1701 void Interpreter::visitSIToFPInst(SIToFPInst &I) {
1706 void Interpreter::visitFPToUIInst(FPToUIInst &I) {
1711 void Interpreter::visitFPToSIInst(FPToSIInst &I) {
1716 void Interpreter::visitPtrToIntInst(PtrToIntInst &I) {
1721 void Interpreter::visitIntToPtrInst(IntToPtrInst &I) {
1726 void Interpreter::visitBitCastInst(BitCastInst &I) {
1734 void Interpreter::visitVAArgInst(VAArgInst &I) {
1763 void Interpreter::visitExtractElementInst(ExtractElementInst &I) {
1796 GenericValue Interpreter::getConstantExprValue (ConstantExpr *CE,
1878 GenericValue Interpreter::getOperandValue(Value *V, ExecutionContext &SF) {
1897 void Interpreter::callFunction(Function *F,
1935 void Interpreter::run() {