llvm.org GIT mirror llvm / 06b9690
whitespace git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@163518 91177308-0d34-0410-b5e6-96231b3b80d8 Michael Ilseman 8 years ago
1 changed file(s) with 10 addition(s) and 10 deletion(s). Raw diff Collapse all Expand all
29392939 // are promoted and implicitly truncated, and the result implicitly
29402940 // extended. Make that explicit here.
29412941 Elt = getAnyExtOrTrunc(Elt, DL, VT);
2942
2942
29432943 return Elt;
29442944 }
29452945
39173917 SDValue Swp, MachinePointerInfo PtrInfo,
39183918 unsigned Alignment,
39193919 AtomicOrdering Ordering,
3920 SynchronizationScope SynchScope) {
3920 SynchronizationScope SynchScope) {
39213921 if (Alignment == 0) // Ensure that codegen never sees alignment 0
39223922 Alignment = getEVTAlignment(MemVT);
39233923
42274227 bool isVolatile, bool isNonTemporal, bool isInvariant,
42284228 unsigned Alignment, const MDNode *TBAAInfo,
42294229 const MDNode *Ranges) {
4230 assert(Chain.getValueType() == MVT::Other &&
4230 assert(Chain.getValueType() == MVT::Other &&
42314231 "Invalid chain type");
42324232 if (Alignment == 0) // Ensure that codegen never sees alignment 0
42334233 Alignment = getEVTAlignment(VT);
42854285 AddNodeIDNode(ID, ISD::LOAD, VTs, Ops, 3);
42864286 ID.AddInteger(MemVT.getRawBits());
42874287 ID.AddInteger(encodeMemSDNodeFlags(ExtType, AM, MMO->isVolatile(),
4288 MMO->isNonTemporal(),
4288 MMO->isNonTemporal(),
42894289 MMO->isInvariant()));
42904290 ID.AddInteger(MMO->getPointerInfo().getAddrSpace());
42914291 void *IP = 0;
43044304 SDValue Chain, SDValue Ptr,
43054305 MachinePointerInfo PtrInfo,
43064306 bool isVolatile, bool isNonTemporal,
4307 bool isInvariant, unsigned Alignment,
4307 bool isInvariant, unsigned Alignment,
43084308 const MDNode *TBAAInfo,
43094309 const MDNode *Ranges) {
43104310 SDValue Undef = getUNDEF(Ptr.getValueType());
43334333 "Load is already a indexed load!");
43344334 return getLoad(AM, LD->getExtensionType(), OrigLoad.getValueType(), dl,
43354335 LD->getChain(), Base, Offset, LD->getPointerInfo(),
4336 LD->getMemoryVT(), LD->isVolatile(), LD->isNonTemporal(),
4336 LD->getMemoryVT(), LD->isVolatile(), LD->isNonTemporal(),
43374337 false, LD->getAlignment());
43384338 }
43394339
43414341 SDValue Ptr, MachinePointerInfo PtrInfo,
43424342 bool isVolatile, bool isNonTemporal,
43434343 unsigned Alignment, const MDNode *TBAAInfo) {
4344 assert(Chain.getValueType() == MVT::Other &&
4344 assert(Chain.getValueType() == MVT::Other &&
43454345 "Invalid chain type");
43464346 if (Alignment == 0) // Ensure that codegen never sees alignment 0
43474347 Alignment = getEVTAlignment(Val.getValueType());
43664366
43674367 SDValue SelectionDAG::getStore(SDValue Chain, DebugLoc dl, SDValue Val,
43684368 SDValue Ptr, MachineMemOperand *MMO) {
4369 assert(Chain.getValueType() == MVT::Other &&
4369 assert(Chain.getValueType() == MVT::Other &&
43704370 "Invalid chain type");
43714371 EVT VT = Val.getValueType();
43724372 SDVTList VTs = getVTList(MVT::Other);
43954395 EVT SVT,bool isVolatile, bool isNonTemporal,
43964396 unsigned Alignment,
43974397 const MDNode *TBAAInfo) {
4398 assert(Chain.getValueType() == MVT::Other &&
4398 assert(Chain.getValueType() == MVT::Other &&
43994399 "Invalid chain type");
44004400 if (Alignment == 0) // Ensure that codegen never sees alignment 0
44014401 Alignment = getEVTAlignment(SVT);
44224422 MachineMemOperand *MMO) {
44234423 EVT VT = Val.getValueType();
44244424
4425 assert(Chain.getValueType() == MVT::Other &&
4425 assert(Chain.getValueType() == MVT::Other &&
44264426 "Invalid chain type");
44274427 if (VT == SVT)
44284428 return getStore(Chain, dl, Val, Ptr, MMO);