reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
410 const TargetLowering &TLI = DAG.getTargetLoweringInfo(); 411 LLVMContext &Context = *DAG.getContext(); 417 if (allowsMemoryAccessForAlignment(Context, DAG.getDataLayout(), 428 if (DAG.isBaseWithConstantOffset(BasePtr) && 429 isWordAligned(BasePtr->getOperand(0), DAG)) { 433 Offset, DAG); 437 SDValue NewBasePtr = DAG.getGlobalAddress(GV, DL, 440 Offset, DAG); 446 DAG.getExtLoad(ISD::ZEXTLOAD, DL, MVT::i32, Chain, BasePtr, 449 SDValue HighAddr = DAG.getNode(ISD::ADD, DL, MVT::i32, BasePtr, 450 DAG.getConstant(2, DL, MVT::i32)); 452 DAG.getExtLoad(ISD::EXTLOAD, DL, MVT::i32, Chain, HighAddr, 455 SDValue HighShifted = DAG.getNode(ISD::SHL, DL, MVT::i32, High, 456 DAG.getConstant(16, DL, MVT::i32)); 457 SDValue Result = DAG.getNode(ISD::OR, DL, MVT::i32, Low, HighShifted); 458 Chain = DAG.getNode(ISD::TokenFactor, DL, MVT::Other, Low.getValue(1), 461 return DAG.getMergeValues(Ops, DL); 465 Type *IntPtrTy = DAG.getDataLayout().getIntPtrType(Context); 473 TargetLowering::CallLoweringInfo CLI(DAG); 476 DAG.getExternalSymbol("__misaligned_load", 477 getPointerTy(DAG.getDataLayout())), 482 return DAG.getMergeValues(Ops, DL);