Home
last modified time | relevance | path

Searched refs:Chain (Results 1 – 25 of 78) sorted by relevance

1234

/external/llvm/lib/Target/X86/
DX86SelectionDAGInfo.cpp31 SDValue Chain, in EmitTargetCodeForMemset() argument
66 CallLoweringInfo CLI(Chain, Type::getVoidTy(*DAG.getContext()), in EmitTargetCodeForMemset()
123 Chain = DAG.getCopyToReg(Chain, dl, ValReg, DAG.getConstant(Val, AVT), in EmitTargetCodeForMemset()
125 InFlag = Chain.getValue(1); in EmitTargetCodeForMemset()
129 Chain = DAG.getCopyToReg(Chain, dl, X86::AL, Src, InFlag); in EmitTargetCodeForMemset()
130 InFlag = Chain.getValue(1); in EmitTargetCodeForMemset()
133 Chain = DAG.getCopyToReg(Chain, dl, Subtarget->is64Bit() ? X86::RCX : in EmitTargetCodeForMemset()
136 InFlag = Chain.getValue(1); in EmitTargetCodeForMemset()
137 Chain = DAG.getCopyToReg(Chain, dl, Subtarget->is64Bit() ? X86::RDI : in EmitTargetCodeForMemset()
140 InFlag = Chain.getValue(1); in EmitTargetCodeForMemset()
[all …]
DX86SelectionDAGInfo.h38 SDValue Chain,
46 SDValue Chain,
DX86ISelDAGToDAG.cpp366 SDValue Chain = OrigChain.getOperand(0); in MoveBelowOrigChain() local
367 if (Chain.getNode() == Load.getNode()) in MoveBelowOrigChain()
370 assert(Chain.getOpcode() == ISD::TokenFactor && in MoveBelowOrigChain()
372 for (unsigned i = 0, e = Chain.getNumOperands(); i != e; ++i) in MoveBelowOrigChain()
373 if (Chain.getOperand(i).getNode() == Load.getNode()) in MoveBelowOrigChain()
376 Ops.push_back(Chain.getOperand(i)); in MoveBelowOrigChain()
400 static bool isCalleeLoad(SDValue Callee, SDValue &Chain, bool HasCallSeq) { in isCalleeLoad() argument
401 if (Callee.getNode() == Chain.getNode() || !Callee.hasOneUse()) in isCalleeLoad()
411 while (HasCallSeq && Chain.getOpcode() != ISD::CALLSEQ_START) { in isCalleeLoad()
412 if (!Chain.hasOneUse()) in isCalleeLoad()
[all …]
/external/clang/include/clang/Serialization/
DModuleManager.h30 llvm::SmallVector<ModuleFile*, 2> Chain; variable
53 ModuleIterator begin() { return Chain.begin(); } in begin()
55 ModuleIterator end() { return Chain.end(); } in end()
59 ModuleConstIterator begin() const { return Chain.begin(); } in begin()
61 ModuleConstIterator end() const { return Chain.end(); } in end()
65 ModuleReverseIterator rbegin() { return Chain.rbegin(); } in rbegin()
67 ModuleReverseIterator rend() { return Chain.rend(); } in rend()
71 ModuleFile &getPrimaryModule() { return *Chain[0]; } in getPrimaryModule()
75 ModuleFile &getPrimaryModule() const { return *Chain[0]; } in getPrimaryModule()
78 ModuleFile &operator[](unsigned Index) const { return *Chain[Index]; }
[all …]
/external/llvm/lib/CodeGen/
DMachineBlockPlacement.cpp115 void merge(MachineBasicBlock *BB, BlockChain *Chain) { in merge() argument
120 if (!Chain) { in merge()
127 assert(BB == *Chain->begin()); in merge()
128 assert(Chain->begin() != Chain->end()); in merge()
132 for (BlockChain::iterator BI = Chain->begin(), BE = Chain->end(); in merge()
135 assert(BlockToChain[*BI] == Chain && "Incoming blocks not in chain"); in merge()
193 void markChainSuccessors(BlockChain &Chain,
198 BlockChain &Chain,
201 BlockChain &Chain, SmallVectorImpl<MachineBasicBlock *> &WorkList,
208 void buildChain(MachineBasicBlock *BB, BlockChain &Chain,
[all …]
/external/llvm/lib/Target/NVPTX/
DNVPTXISelLowering.cpp449 SDValue Chain = CLI.Chain; in LowerCall() local
458 SDValue tempChain = Chain; in LowerCall()
459 Chain = DAG.getCALLSEQ_START(Chain, in LowerCall()
461 SDValue InFlag = Chain.getValue(1); in LowerCall()
481 SDValue DeclareParamOps[] = { Chain, in LowerCall()
486 Chain = DAG.getNode(NVPTXISD::DeclareScalarParam, dl, DeclareParamVTs, in LowerCall()
488 InFlag = Chain.getValue(1); in LowerCall()
490 SDValue CopyParamOps[] = { Chain, DAG.getConstant(paramCount, MVT::i32), in LowerCall()
502 Chain = DAG.getNode(opcode, dl, CopyParamVTs, CopyParamOps, 5); in LowerCall()
504 InFlag = Chain.getValue(1); in LowerCall()
[all …]
/external/apache-harmony/security/src/test/support/common/java/org/apache/harmony/security/tests/support/
DMyKeyStore.java50 private Hashtable Chain = new Hashtable(); field in MyKeyStore
71 if (Chain.containsKey(alias)) { in engineGetCertificateChain()
72 return (Certificate[]) Chain.get(alias); in engineGetCertificateChain()
98 Chain.put(alias, chain); in engineSetKeyEntry()
111 if (Chain.containsKey(alias)) { in engineSetKeyEntry()
112 Chain.remove(alias); in engineSetKeyEntry()
118 Chain.put(alias, chain); in engineSetKeyEntry()
133 Chain.remove(alias); in engineDeleteEntry()
188 if (Chain.containsKey(alias)) { in engineStore()
189 ChainSL.put(alias, Chain.get(alias)); in engineStore()
[all …]
/external/llvm/lib/Target/Sparc/
DSparcISelLowering.cpp80 SparcTargetLowering::LowerReturn(SDValue Chain, in LowerReturn() argument
113 Chain = DAG.getCopyToReg(Chain, dl, VA.getLocReg(), in LowerReturn()
117 Flag = Chain.getValue(1); in LowerReturn()
127 SDValue Val = DAG.getCopyFromReg(Chain, dl, Reg, getPointerTy()); in LowerReturn()
128 Chain = DAG.getCopyToReg(Chain, dl, SP::I0, Val, Flag); in LowerReturn()
129 Flag = Chain.getValue(1); in LowerReturn()
138 return DAG.getNode(SPISD::RET_FLAG, dl, MVT::Other, Chain, in LowerReturn()
140 return DAG.getNode(SPISD::RET_FLAG, dl, MVT::Other, Chain, in LowerReturn()
148 SparcTargetLowering::LowerFormalArguments(SDValue Chain, in LowerFormalArguments() argument
175 SDValue Arg = DAG.getLoad(MVT::i32, dl, Chain, FIPtr, in LowerFormalArguments()
[all …]
/external/llvm/lib/Target/ARM/
DARMSelectionDAGInfo.cpp30 SDValue Chain, in EmitTargetCodeForMemcpy() argument
66 Loads[i] = DAG.getLoad(VT, dl, Chain, in EmitTargetCodeForMemcpy()
74 Chain = DAG.getNode(ISD::TokenFactor, dl, MVT::Other, &TFOps[0], i); in EmitTargetCodeForMemcpy()
78 TFOps[i] = DAG.getStore(Chain, dl, Loads[i], in EmitTargetCodeForMemcpy()
85 Chain = DAG.getNode(ISD::TokenFactor, dl, MVT::Other, &TFOps[0], i); in EmitTargetCodeForMemcpy()
91 return Chain; in EmitTargetCodeForMemcpy()
105 Loads[i] = DAG.getLoad(VT, dl, Chain, in EmitTargetCodeForMemcpy()
115 Chain = DAG.getNode(ISD::TokenFactor, dl, MVT::Other, &TFOps[0], i); in EmitTargetCodeForMemcpy()
128 TFOps[i] = DAG.getStore(Chain, dl, Loads[i], in EmitTargetCodeForMemcpy()
144 SDValue Chain, SDValue Dst, in EmitTargetCodeForMemset() argument
[all …]
DARMISelLowering.h408 SDValue Chain, SDValue &Arg,
420 SDValue LowerMemOpCallTo(SDValue Chain, SDValue StackPtr, SDValue Arg,
455 SDValue LowerCallResult(SDValue Chain, SDValue InFlag,
462 LowerFormalArguments(SDValue Chain,
469 DebugLoc dl, SDValue &Chain, unsigned ArgOffset)
495 LowerReturn(SDValue Chain,
501 virtual bool isUsedByReturnOnly(SDNode *N, SDValue &Chain) const;
/external/llvm/test/Transforms/ArgumentPromotion/
Dcrash.ll47 %2 = call i32 @"clay_assign(Chain, Chain)"(%0* %0, %0* %1)
51 define internal i32 @"clay_assign(Chain, Chain)"(%0* %c, %0* %d) {
57 %4 = call i32 @"clay_assign(Chain, Chain)"(%0* %3, %0* %1)
/external/llvm/lib/Target/MBlaze/
DMBlazeISelDAGToDAG.cpp226 SDValue Chain = Node->getOperand(0); in Select() local
238 SDValue Ops[] = { Callee, GPReg, Chain }; in Select()
241 Chain = Load.getValue(1); in Select()
244 Chain = CurDAG->getCopyToReg(Chain, dl, R20Reg, Load, InFlag); in Select()
247 Chain = CurDAG->getCopyToReg(Chain, dl, R20Reg, Callee, InFlag); in Select()
251 MVT::Glue, R20Reg, Chain); in Select()
252 Chain = SDValue(ResNode, 0); in Select()
254 ReplaceUses(SDValue(Node, 0), Chain); in Select()
DMBlazeISelLowering.cpp691 SDValue Chain = CLI.Chain; in LowerCall() local
720 Chain = DAG.getCALLSEQ_START(Chain, DAG.getIntPtrConstant(NumBytes, true)); in LowerCall()
768 MemOpChains.push_back(DAG.getStore(Chain, dl, Arg, PtrOff, in LowerCall()
782 Chain = DAG.getNode(ISD::TokenFactor, dl, MVT::Other, in LowerCall()
791 Chain = DAG.getCopyToReg(Chain, dl, RegsToPass[i].first, in LowerCall()
793 InFlag = Chain.getValue(1); in LowerCall()
812 Ops.push_back(Chain); in LowerCall()
825 Chain = DAG.getNode(MBlazeISD::JmpLink, dl, NodeTys, &Ops[0], Ops.size()); in LowerCall()
826 InFlag = Chain.getValue(1); in LowerCall()
829 Chain = DAG.getCALLSEQ_END(Chain, DAG.getIntPtrConstant(NumBytes, true), in LowerCall()
[all …]
/external/llvm/lib/Target/XCore/
DXCoreISelLowering.cpp331 SDValue Chain = Op.getOperand(0); in LowerBR_JT() local
343 return DAG.getNode(XCoreISD::BR_JT, dl, MVT::Other, Chain, TargetJT, Index); in LowerBR_JT()
348 return DAG.getNode(XCoreISD::BR_JT32, dl, MVT::Other, Chain, TargetJT, in LowerBR_JT()
414 SDValue Chain = LD->getChain(); in LowerLOAD() local
426 return DAG.getLoad(getPointerTy(), DL, Chain, BasePtr, in LowerLOAD()
444 SDValue Low = DAG.getLoad(getPointerTy(), DL, Chain, in LowerLOAD()
447 SDValue High = DAG.getLoad(getPointerTy(), DL, Chain, in LowerLOAD()
453 Chain = DAG.getNode(ISD::TokenFactor, DL, MVT::Other, Low.getValue(1), in LowerLOAD()
455 SDValue Ops[] = { Result, Chain }; in LowerLOAD()
460 SDValue Low = DAG.getExtLoad(ISD::ZEXTLOAD, DL, MVT::i32, Chain, in LowerLOAD()
[all …]
DXCoreISelDAGToDAG.cpp238 replaceInChain(SelectionDAG *CurDAG, SDValue Chain, SDValue Old, SDValue New) in replaceInChain() argument
240 if (Chain == Old) in replaceInChain()
242 if (Chain->getOpcode() != ISD::TokenFactor) in replaceInChain()
246 for (unsigned i = 0, e = Chain->getNumOperands(); i != e; ++i) { in replaceInChain()
247 if (Chain->getOperand(i) == Old) { in replaceInChain()
251 Ops.push_back(Chain->getOperand(i)); in replaceInChain()
256 return CurDAG->getNode(ISD::TokenFactor, Chain->getDebugLoc(), MVT::Other, in replaceInChain()
263 SDValue Chain = N->getOperand(0); in SelectBRIND() local
278 SDValue NewChain = replaceInChain(CurDAG, Chain, CheckEventChainOut, in SelectBRIND()
282 Chain = NewChain; in SelectBRIND()
[all …]
DXCoreISelLowering.h111 SDValue LowerCCCArguments(SDValue Chain,
117 SDValue LowerCCCCallTo(SDValue Chain, SDValue Callee,
125 SDValue LowerCallResult(SDValue Chain, SDValue InFlag,
169 LowerFormalArguments(SDValue Chain,
181 LowerReturn(SDValue Chain,
/external/llvm/lib/Target/MSP430/
DMSP430ISelLowering.cpp245 MSP430TargetLowering::LowerFormalArguments(SDValue Chain, in LowerFormalArguments() argument
260 return LowerCCCArguments(Chain, CallConv, isVarArg, Ins, dl, DAG, InVals); in LowerFormalArguments()
263 return Chain; in LowerFormalArguments()
276 SDValue Chain = CLI.Chain; in LowerCall() local
290 return LowerCCCCallTo(Chain, Callee, CallConv, isVarArg, isTailCall, in LowerCall()
302 MSP430TargetLowering::LowerCCCArguments(SDValue Chain, in LowerCCCArguments() argument
340 SDValue ArgValue = DAG.getCopyFromReg(Chain, dl, VReg, RegVT); in LowerCCCArguments()
373 InVals.push_back(DAG.getLoad(VA.getLocVT(), dl, Chain, FIN, in LowerCCCArguments()
379 return Chain; in LowerCCCArguments()
383 MSP430TargetLowering::LowerReturn(SDValue Chain, in LowerReturn() argument
[all …]
DMSP430ISelLowering.h125 SDValue LowerCCCCallTo(SDValue Chain, SDValue Callee,
134 SDValue LowerCCCArguments(SDValue Chain,
142 SDValue LowerCallResult(SDValue Chain, SDValue InFlag,
149 LowerFormalArguments(SDValue Chain,
159 LowerReturn(SDValue Chain,
/external/llvm/include/llvm/CodeGen/
DSelectionDAG.h442 SDValue getCopyToReg(SDValue Chain, DebugLoc dl, unsigned Reg, SDValue N) {
443 return getNode(ISD::CopyToReg, dl, MVT::Other, Chain,
450 SDValue getCopyToReg(SDValue Chain, DebugLoc dl, unsigned Reg, SDValue N,
453 SDValue Ops[] = { Chain, getRegister(Reg, N.getValueType()), N, Glue };
458 SDValue getCopyToReg(SDValue Chain, DebugLoc dl, SDValue Reg, SDValue N,
461 SDValue Ops[] = { Chain, Reg, N, Glue };
465 SDValue getCopyFromReg(SDValue Chain, DebugLoc dl, unsigned Reg, EVT VT) {
467 SDValue Ops[] = { Chain, getRegister(Reg, VT) };
474 SDValue getCopyFromReg(SDValue Chain, DebugLoc dl, unsigned Reg, EVT VT,
477 SDValue Ops[] = { Chain, getRegister(Reg, VT), Glue };
[all …]
/external/llvm/lib/Target/Hexagon/
DHexagonISelLowering.cpp276 CreateCopyOfByValArgument(SDValue Src, SDValue Dst, SDValue Chain, in CreateCopyOfByValArgument() argument
281 return DAG.getMemcpy(Chain, dl, Dst, Src, SizeNode, Flags.getByValAlign(), in CreateCopyOfByValArgument()
291 HexagonTargetLowering::LowerReturn(SDValue Chain, in LowerReturn() argument
320 Chain = DAG.getCopyToReg(Chain, dl, VA.getLocReg(), OutVals[i], Flag); in LowerReturn()
323 Flag = Chain.getValue(1); in LowerReturn()
327 return DAG.getNode(HexagonISD::RET_FLAG, dl, MVT::Other, Chain, Flag); in LowerReturn()
329 return DAG.getNode(HexagonISD::RET_FLAG, dl, MVT::Other, Chain); in LowerReturn()
341 HexagonTargetLowering::LowerCallResult(SDValue Chain, SDValue InFlag, in LowerCallResult() argument
360 Chain = DAG.getCopyFromReg(Chain, dl, in LowerCallResult()
363 InFlag = Chain.getValue(2); in LowerCallResult()
[all …]
/external/llvm/lib/Target/PowerPC/
DPPCISelLowering.h392 SDValue Chain,
429 SDValue LowerCallResult(SDValue Chain, SDValue InFlag,
439 SDValue InFlag, SDValue Chain,
446 LowerFormalArguments(SDValue Chain,
463 LowerReturn(SDValue Chain,
470 LowerFormalArguments_Darwin(SDValue Chain,
476 LowerFormalArguments_SVR4(SDValue Chain,
483 LowerCall_Darwin(SDValue Chain, SDValue Callee, CallingConv::ID CallConv,
491 LowerCall_SVR4(SDValue Chain, SDValue Callee, CallingConv::ID CallConv,
DPPCISelLowering.cpp1487 SDValue Chain = Op.getOperand(0); in LowerINIT_TRAMPOLINE() local
1514 TargetLowering::CallLoweringInfo CLI(Chain, in LowerINIT_TRAMPOLINE()
1712 PPCTargetLowering::LowerFormalArguments(SDValue Chain, in LowerFormalArguments() argument
1720 return LowerFormalArguments_SVR4(Chain, CallConv, isVarArg, Ins, in LowerFormalArguments()
1723 return LowerFormalArguments_Darwin(Chain, CallConv, isVarArg, Ins, in LowerFormalArguments()
1730 SDValue Chain, in LowerFormalArguments_SVR4() argument
1816 SDValue ArgValue = DAG.getCopyFromReg(Chain, dl, Reg, ValVT); in LowerFormalArguments_SVR4()
1829 InVals.push_back(DAG.getLoad(VA.getValVT(), dl, Chain, FIN, in LowerFormalArguments_SVR4()
1909 SDValue Val = DAG.getCopyFromReg(Chain, dl, VReg, PtrVT); in LowerFormalArguments_SVR4()
1928 SDValue Val = DAG.getCopyFromReg(Chain, dl, VReg, MVT::f64); in LowerFormalArguments_SVR4()
[all …]
/external/llvm/lib/Target/Mips/
DMipsISelLowering.cpp370 SDValue Chain = CurDAG->getEntryNode(); in SelectMadd() local
383 SDValue CopyFromLo = CurDAG->getCopyFromReg(Chain, dl, Mips::LO, MVT::i32, in SelectMadd()
443 SDValue Chain = CurDAG->getEntryNode(); in SelectMsub() local
456 SDValue CopyFromLo = CurDAG->getCopyFromReg(Chain, dl, Mips::LO, MVT::i32, in SelectMsub()
1508 SDValue Chain = Op.getOperand(0); in LowerBRCOND() local
1523 return DAG.getNode(MipsISD::FPBrcond, dl, Op.getValueType(), Chain, BrCode, in LowerBRCOND()
2096 SDValue Chain, SDValue Src, unsigned Offset) { in CreateLoadLR() argument
2107 SDValue Ops[] = { Chain, Ptr, Src }; in CreateLoadLR()
2125 SDValue Chain = LD->getChain(), Undef = DAG.getUNDEF(VT); in LowerLOAD() local
2135 SDValue LDL = CreateLoadLR(MipsISD::LDL, DAG, LD, Chain, Undef, in LowerLOAD()
[all …]
/external/llvm/include/llvm/Target/
DTargetSelectionDAGInfo.h58 SDValue Chain, in EmitTargetCodeForMemcpy() argument
75 SDValue Chain, in EmitTargetCodeForMemmove() argument
91 SDValue Chain, in EmitTargetCodeForMemset() argument
/external/clang/lib/Serialization/
DModuleManager.cpp53 Chain.push_back(New); in addModule()
101 for (unsigned i = 0, e = Chain.size(); i != e; ++i) in ~ModuleManager()
102 delete Chain[e - i - 1]; in ~ModuleManager()
202 for (unsigned I = 0, N = Chain.size(); I != N; ++I) { in visitDepthFirst()
203 if (!Visited.insert(Chain[I])) in visitDepthFirst()
206 if (::visitDepthFirst(*Chain[I], Visitor, UserData, Visited)) in visitDepthFirst()

1234