R/opCodeClassMap.R

InstructionOpcodeClass = c(
ret = "ReturnInst",
br = "BranchInst",
switch = "SwitchInst",
indirectbr = "IndirectBrInst",
invoke = "InvokeInst",
resume = "ResumeInst",
unreachable = "UnreachableInst",
add = "BinaryOperator",
fadd = "BinaryOperator",
sub = "BinaryOperator",
fsub = "BinaryOperator",
mul = "BinaryOperator",
fmul = "BinaryOperator",
udiv = "BinaryOperator",
sdiv = "BinaryOperator",
fdiv = "BinaryOperator",
urem = "BinaryOperator",
srem = "BinaryOperator",
frem = "BinaryOperator",
shl = "BinaryOperator",
lshr = "BinaryOperator",
ashr = "BinaryOperator",
and = "BinaryOperator",
or = "BinaryOperator",
xor = "BinaryOperator",
alloca = "AllocaInst",
load = "LoadInst",
store = "StoreInst",
getelementptr = "GetElementPtrInst",
fence = "FenceInst",
cmpxchg = "AtomicCmpXchgInst",
atomicrmw = "AtomicRMWInst",
trunc = "TruncInst",
zext = "ZExtInst",
sext = "SExtInst",
fptoui = "FPToUIInst",
fptosi = "FPToSIInst",
uitofp = "UIToFPInst",
sitofp = "SIToFPInst",
fptrunc = "FPTruncInst",
fpext = "FPExtInst",
ptrtoint = "PtrToIntInst",
inttoptr = "IntToPtrInst",
bitcast = "BitCastInst",
icmp = "ICmpInst",
fcmp = "FCmpInst",
phi = "PHINode",
call = "CallInst",
select = "SelectInst",
va_arg = "VAArgInst",
extractelement = "ExtractElementInst",
insertelement = "InsertElementInst",
shufflevector = "ShuffleVectorInst",
extractvalue = "ExtractValueInst",
insertvalue = "InsertValueInst",
landingpad = "LandingPadInst")
doktorschiwago/Rllvm2 documentation built on May 15, 2019, 9:42 a.m.