/external/llvm/lib/Target/WebAssembly/ |
D | WebAssemblyFastISel.cpp | 251 Addr.setReg(getRegForValue(Op)); in computeAddress() 320 Addr.setReg(getRegForValue(Obj)); in computeAddress() 370 return getRegForValue(ICmp->getOperand(0)); in getRegForI1Value() 375 return getRegForValue(BinaryOperator::getNotArgument(V)); in getRegForI1Value() 379 return maskI1Value(getRegForValue(V), V); in getRegForI1Value() 490 return zeroExtend(getRegForValue(V), V, From, To); in getRegForUnsignedValue() 496 return zeroExtend(getRegForValue(V), V, From, To); in getRegForSignedValue() 690 Reg = getRegForValue(V); in selectCall() 706 MIB.addReg(getRegForValue(Call->getCalledValue())); in selectCall() 724 unsigned TrueReg = getRegForValue(Select->getTrueValue()); in selectSelect() [all …]
|
/external/swiftshader/third_party/LLVM/lib/CodeGen/SelectionDAG/ |
D | FastISel.cpp | 108 unsigned FastISel::getRegForValue(const Value *V) { in getRegForValue() function in FastISel 171 getRegForValue(Constant::getNullValue(TD.getIntPtrType(V->getContext()))); in materializeRegForValue() 194 getRegForValue(ConstantInt::get(V->getContext(), IntVal)); in materializeRegForValue() 263 unsigned IdxN = getRegForValue(Idx); in getRegForGEPIndex() 346 unsigned Op1 = getRegForValue(I->getOperand(1)); in SelectBinaryOp() 362 unsigned Op0 = getRegForValue(I->getOperand(0)); in SelectBinaryOp() 400 unsigned Op1 = getRegForValue(I->getOperand(1)); in SelectBinaryOp() 423 unsigned N = getRegForValue(I->getOperand(0)); in SelectGetElementPtr() 540 Reg = getRegForValue(Address); in SelectCall() 642 unsigned ResultReg = getRegForValue(ResCI); in SelectCall() [all …]
|
D | SelectionDAGISel.cpp | 780 unsigned LoadReg = FastIS->getRegForValue(LI); in TryToFoldFastISelLoad()
|
/external/llvm/lib/Target/AArch64/ |
D | AArch64FastISel.cpp | 695 unsigned Reg = getRegForValue(LHS); in computeAddress() 706 unsigned Reg = getRegForValue(Src); in computeAddress() 767 unsigned Reg = getRegForValue(Src); in computeAddress() 793 unsigned Reg = getRegForValue(LHS); in computeAddress() 827 unsigned Reg = getRegForValue(Src); in computeAddress() 836 unsigned Reg = getRegForValue(Obj); in computeAddress() 844 unsigned Reg = getRegForValue(Obj); in computeAddress() 896 Addr.setReg(getRegForValue(V)); in computeCallAddress() 1125 unsigned LHSReg = getRegForValue(LHS); in emitAddSub() 1156 unsigned RHSReg = getRegForValue(SI->getOperand(0)); in emitAddSub() [all …]
|
/external/swiftshader/third_party/LLVM/lib/Target/X86/ |
D | X86FastISel.cpp | 300 unsigned ValReg = getRegForValue(Val); in X86FastEmitStore() 570 AM.Base.Reg = getRegForValue(V); in X86SelectAddress() 575 AM.IndexReg = getRegForValue(V); in X86SelectAddress() 657 AM.Base.Reg = getRegForValue(V); in X86SelectCallAddress() 662 AM.IndexReg = getRegForValue(V); in X86SelectCallAddress() 731 unsigned Reg = getRegForValue(RV); in X86SelectRet() 858 unsigned Op0Reg = getRegForValue(Op0); in X86FastEmitCompare() 880 unsigned Op1Reg = getRegForValue(Op1); in X86FastEmitCompare() 976 unsigned ResultReg = getRegForValue(I->getOperand(0)); in X86SelectZExt() 1091 unsigned OpReg = getRegForValue(TI->getOperand(0)); in X86SelectBranch() [all …]
|
/external/llvm/lib/Target/Mips/ |
D | MipsFastISel.cpp | 267 unsigned LHSReg = getRegForValue(LHS); in emitLogicalOp() 275 RHSReg = getRegForValue(RHS); in emitLogicalOp() 500 Addr.setReg(getRegForValue(Obj)); in computeAddress() 547 Addr.setReg(getRegForValue(V)); in computeCallAddress() 893 SrcReg = getRegForValue(Op0); in selectStore() 959 getRegForValue(Src); // this must be a 32bit floating point register class in selectFPExt() 994 unsigned Src1Reg = getRegForValue(SI->getTrueValue()); in selectSelect() 995 unsigned Src2Reg = getRegForValue(SI->getFalseValue()); in selectSelect() 996 unsigned CondReg = getRegForValue(Cond); in selectSelect() 1032 unsigned SrcReg = getRegForValue(Src); in selectFPTrunc() [all …]
|
/external/swiftshader/third_party/LLVM/lib/Target/ARM/ |
D | ARMFastISel.cpp | 827 if (Addr.Base.Reg == 0) Addr.Base.Reg = getRegForValue(Obj); in ARMComputeAddress() 1034 SrcReg = getRegForValue(Op0); in SelectStore() 1140 unsigned Arg1 = getRegForValue(CI->getOperand(0)); in SelectBranch() 1143 unsigned Arg2 = getRegForValue(CI->getOperand(1)); in SelectBranch() 1168 unsigned OpReg = getRegForValue(TI->getOperand(0)); in SelectBranch() 1189 unsigned CmpReg = getRegForValue(BI->getCondition()); in SelectBranch() 1254 unsigned Arg1 = getRegForValue(CI->getOperand(0)); in SelectCmp() 1257 unsigned Arg2 = getRegForValue(CI->getOperand(1)); in SelectCmp() 1294 unsigned Op = getRegForValue(V); in SelectFPExt() 1313 unsigned Op = getRegForValue(V); in SelectFPTrunc() [all …]
|
/external/llvm/lib/Target/X86/ |
D | X86FastISel.cpp | 684 unsigned ValReg = getRegForValue(Val); in X86FastEmitStore() 800 AM.Base.Reg = getRegForValue(V); in handleConstantAddresses() 805 AM.IndexReg = getRegForValue(V); in handleConstantAddresses() 1076 AM.Base.Reg = getRegForValue(V); in X86SelectCallAddress() 1081 AM.IndexReg = getRegForValue(V); in X86SelectCallAddress() 1188 unsigned Reg = getRegForValue(RV); in X86SelectRet() 1377 unsigned Op0Reg = getRegForValue(Op0); in X86FastEmitCompare() 1399 unsigned Op1Reg = getRegForValue(Op1); in X86FastEmitCompare() 1510 unsigned ResultReg = getRegForValue(I->getOperand(0)); in X86SelectZExt() 1654 unsigned OpReg = getRegForValue(TI->getOperand(0)); in X86SelectBranch() [all …]
|
/external/llvm/lib/CodeGen/SelectionDAG/ |
D | FastISel.cpp | 170 unsigned FastISel::getRegForValue(const Value *V) { in getRegForValue() function in FastISel 221 Reg = getRegForValue( in materializeConstant() 244 getRegForValue(ConstantInt::get(V->getContext(), IntVal)); in materializeConstant() 318 unsigned IdxN = getRegForValue(Idx); in getRegForGEPIndex() 409 unsigned Op1 = getRegForValue(I->getOperand(1)); in selectBinaryOp() 425 unsigned Op0 = getRegForValue(I->getOperand(0)); in selectBinaryOp() 469 unsigned Op1 = getRegForValue(I->getOperand(1)); in selectBinaryOp() 488 unsigned N = getRegForValue(I->getOperand(0)); in selectGetElementPtr() 593 unsigned Reg = getRegForValue(Val); in addStackMapLiveVars() 804 unsigned Reg = getRegForValue(I->getArgOperand(i)); in selectPatchpoint() [all …]
|
/external/llvm/lib/Target/ARM/ |
D | ARMFastISel.cpp | 818 if (Addr.Base.Reg == 0) Addr.Base.Reg = getRegForValue(Obj); in ARMComputeAddress() 1177 SrcReg = getRegForValue(Op0); in SelectStore() 1277 unsigned OpReg = getRegForValue(TI->getOperand(0)); in SelectBranch() 1304 unsigned CmpReg = getRegForValue(BI->getCondition()); in SelectBranch() 1335 unsigned AddrReg = getRegForValue(I->getOperand(0)); in SelectIndirectBr() 1422 unsigned SrcReg1 = getRegForValue(Src1Value); in ARMEmitCmp() 1427 SrcReg2 = getRegForValue(Src2Value); in ARMEmitCmp() 1504 unsigned Op = getRegForValue(V); in SelectFPExt() 1523 unsigned Op = getRegForValue(V); in SelectFPTrunc() 1551 unsigned SrcReg = getRegForValue(Src); in SelectIToFP() [all …]
|
/external/llvm/lib/Target/PowerPC/ |
D | PPCFastISel.cpp | 419 Addr.Base.Reg = getRegForValue(Obj); in PPCComputeAddress() 746 SrcReg = getRegForValue(Op0); in SelectStore() 872 unsigned SrcReg1 = getRegForValue(SrcValue1); in PPCEmitCmp() 878 SrcReg2 = getRegForValue(SrcValue2); in PPCEmitCmp() 916 unsigned SrcReg = getRegForValue(Src); in SelectFPExt() 934 unsigned SrcReg = getRegForValue(Src); in SelectFPTrunc() 1019 unsigned SrcReg = getRegForValue(Src); in SelectIToFP() 1129 unsigned SrcReg = getRegForValue(Src); in SelectFPToI() 1204 unsigned SrcReg1 = getRegForValue(I->getOperand(0)); in SelectBinaryIntOp() 1262 unsigned SrcReg2 = getRegForValue(I->getOperand(1)); in SelectBinaryIntOp() [all …]
|
/external/swiftshader/third_party/LLVM/include/llvm/CodeGen/ |
D | FastISel.h | 104 unsigned getRegForValue(const Value *V);
|
/external/llvm/include/llvm/CodeGen/ |
D | FastISel.h | 258 unsigned getRegForValue(const Value *V);
|